[Hero, G2 Touch Android Development] f_padia:
I reported a couple of kernel tweaks I came across on the web the other day but there has been no response yet so I thought I'd start a new thread to catch peoples attention!

The tweaks are for non-BFS kernels only (e.g. Flykernel 10a) and alter a couple of the parameters within the scheduler. I dont know enough about linux kernels to give more details but I was hoping someone who did know more would explain what the parameters do.

After applying the tweaks my phone is the smoothest I have ever felt it be and subsequently I have returned to 528MHz. Even now it feels smoother than I have had it on any other ROM when OC'ing > 600MHz. This means my battery life has seriously increased too. My phone has been running 26 hrs with email and weather updates with still 66% left.

I am currently using elelinux 1.8 and flykernel 10a @ 528MHz and I honeslty dont feel the need to flash any ROM updates anymore (yet!). The tweaks are:

EDIT: Due to some confusion I would like to make it clear in the following commands DO NOT type the '#' or '$' symbols. These are just to indicate what the terminal shows.

from ./adb shell or terminal emulator on phone

$ su

# mount -o remount,rw /system

# echo 'kernel.sched_latency_ns = 600000' >> /etc/sysctl.conf

# echo 'kernel.sched_min_granularity_ns = 400000' >> /etc/sysctl.conf

# echo 'kernel.sched_features = 24188' >> /etc/sysctl.conf

# mount -o remount,ro /system

# sysctl -p

(the following should print after typing previous command)

kernel.sched_latency_ns = 600000

kernel.sched_min_granularity_ns = 400000

kernel.sched_features = 24188

# exit

$ exit

Try them and see if it makes your phone smoother. Im sure they will. and if they dont then just delete the sysctl.conf file and you should return to normal on next boot.

EDIT2: Ok so it has become apparent that the tweaks to dont speed up ALL ROMS as the title suggests. I apologise for this over big-uppery. I think the main reason for this is that some devs have already incorporated similar tweaks (cronos?). Also erasmux has been playing around with the tweaks and he has suggested that not all the tweaks have a significant effect on performance. Of course you are all welcome to play around too and find whats suits you best. As for me, im going to leave the tweaks in because for the first time since buying my hero i am pleased with its performance and I dont see the point in removing a couple of lines from a file if it makes no difference!

Also, it is worth noting that there may be some down side to these tweaks as pointed out by Decad3nce on page 5 (post #44) in that apps requiring constant cpu time such as gps may become jumpy. I havent noticed any ill-effects yet but then I havent been on any long drives with sat-nav either so I dont know. (if you have already got yourself seriously lost or missed some meeting I apologise).

If after reading all this you still want the tweaks either follow the instructions above or flash the updated kernel elelinux was kind enough to compile (page 3) or there is another link on page 4/5 i think

Now if C0mpu13rFr34k would hurry up and finish that theme my hero may well be perfect!