[HTC Sensation] consolation:
Ok but I'm on mobile so attachments are a pita.

KT creates a bunch of scripts.

The misc tweaks is the one with minfree settings.

#!/system/bin/sh

#mount debug filesystem
mount -t debugfs debugfs /sys/kernel/debug

#vsync
chmod 777 /sys/kernel/debug/msm_fb/0/vsync_enable
chmod 777 /sys/kernel/debug/msm_fb/0/hw_vsync_mode
chmod 777 /sys/kernel/debug/msm_fb/0/backbuff
echo "1" > /sys/kernel/debug/msm_fb/0/vsync_enable
echo "1" > /sys/kernel/debug/msm_fb/0/hw_vsync_mode
echo "3" > /sys/kernel/debug/msm_fb/0/backbuff

#capacitive buttons backlight
chmod 777 /sys/devices/platform/leds-pm8058/leds/button-backlight/currents
echo "30" > /sys/devices/platform/leds-pm8058/leds/button-backlight/currents

#fastcharge
chmod 777 /sys/kernel/fast_charge/force_fast_charge
echo "1" > /sys/kernel/fast_charge/force_fast_charge

chmod 777 /sys/kernel/msm_mpdecision/conf/delay
echo "500" > /sys/kernel/msm_mpdecision/conf/delay
chmod 777 /sys/kernel/msm_mpdecision/conf/pause
echo "10000" > /sys/kernel/msm_mpdecision/conf/pause
chmod 777 /sys/kernel/msm_mpdecision/conf/nwns_threshold_up
echo "20" > /sys/kernel/msm_mpdecision/conf/nwns_threshold_up
chmod 777 /sys/kernel/msm_mpdecision/conf/nwns_threshold_down
echo "5" > /sys/kernel/msm_mpdecision/conf/nwns_threshold_down
chmod 777 /sys/kernel/msm_mpdecision/conf/twts_threshold_up
echo "250" > /sys/kernel/msm_mpdecision/conf/twts_threshold_up
chmod 777 /sys/kernel/msm_mpdecision/conf/twts_threshold_down
echo "250" > /sys/kernel/msm_mpdecision/conf/twts_threshold_down

#sd card cache size
chmod 777 /sys/block/mmcblk1/queue/read_ahead_kb
chmod 777 /sys/block/mmcblk0/queue/read_ahead_kb
chmod 777 /sys/devices/virtual/bdi/179:0/read_ahead_kb
echo "128" > /sys/block/mmcblk1/queue/read_ahead_kb
echo "128" > /sys/block/mmcblk0/queue/read_ahead_kb
echo "128" > /sys/devices/virtual/bdi/179:0/read_ahead_kb

#IO scheduler
chmod 777 /sys/block/mmcblk0/queue/scheduler
chmod 777 /sys/block/mmcblk1/queue/scheduler
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
echo "cfq" > /sys/block/mmcblk1/queue/scheduler

chmod 777 /sys/kernel/msm_thermal/conf/allowed_low_freq
echo "1566000" > /sys/kernel/msm_thermal/conf/allowed_low_freq
chmod 777 /sys/kernel/msm_thermal/conf/allowed_mid_freq
echo "1080000" > /sys/kernel/msm_thermal/conf/allowed_mid_freq
chmod 777 /sys/kernel/msm_thermal/conf/allowed_max_freq
echo "648000" > /sys/kernel/msm_thermal/conf/allowed_max_freq
chmod 777 /sys/kernel/msm_thermal/conf/allowed_low_low
echo "64" > /sys/kernel/msm_thermal/conf/allowed_low_low
chmod 777 /sys/kernel/msm_thermal/conf/allowed_low_high
echo "70" > /sys/kernel/msm_thermal/conf/allowed_low_high
chmod 777 /sys/kernel/msm_thermal/conf/allowed_mid_low
echo "67" > /sys/kernel/msm_thermal/conf/allowed_mid_low
chmod 777 /sys/kernel/msm_thermal/conf/allowed_mid_high
echo "72" > /sys/kernel/msm_thermal/conf/allowed_mid_high
chmod 777 /sys/kernel/msm_thermal/conf/allowed_high_low
echo "71" > /sys/kernel/msm_thermal/conf/allowed_high_low
chmod 777 /sys/kernel/msm_thermal/conf/allowed_high_high
echo "76" > /sys/kernel/msm_thermal/conf/allowed_high_high
echo 192001 > /sys/kernel/msm_mpdecision/conf/idle_freq
echo 192001 > /sys/kernel/msm_mpdecision/conf/scroff_freq
echo 1 > /sys/kernel/msm_mpdecision/conf/scroff_single_core

swapoff

echo 6144,7936,9728,13312,14848,24576 > /sys/module/lowmemorykiller/parameters/minfree
#Umount debug filesystem
umount /sys/kernel/debug