Hi folks, Some people have seen responsiveness improvements on desktop systems by enabling the "NO_NEW_FAIR_SLEEPERS" option in the kernel scheduler options.
I thought it'd be fun to try it out with Android on my FR but soon got sick of reenabling it by hand through adb every time I turned it on so I used this quick fix to my init.rc to get it going. It does seem a little snappier but it's hard to tell if it's a real effect or just confirmation bias. ;-) You'll need a kernel with debugfs enabled and whilst Panicking's images have it I don't think it's enabled in the new builds on Google Code yet. cheers, Chris --- init.rc.orig 2009-09-27 20:51:59.851716279 +1000 +++ init.rc 2009-09-27 21:00:54.938670547 +1000 @@ -21,10 +21,12 @@ # create mountpoints and mount tmpfs on sqlite_stmt_journals mkdir /sdcard 0000 system system mkdir /system + mkdir /debug mkdir /data 0771 system system mkdir /cache 0770 system cache mkdir /sqlite_stmt_journals 01777 root root mount tmpfs tmpfs /sqlite_stmt_journals size=4m + mount debugfs - /debug mount rootfs rootfs / ro remount @@ -33,6 +35,7 @@ write /proc/cpu/alignment 4 write /proc/sys/kernel/sched_latency_ns 10000000 write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000 + write /debug/sched_features NO_NEW_FAIR_SLEEPERS # mount mtd partitions # Mount /system rw first to give the filesystem a chance to save a checkpoint -- Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC This email may come with a PGP signature as a file. Do not panic. For more info see: http://en.wikipedia.org/wiki/OpenPGP
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ android-freerunner mailing list android-freerunner@android.koolu.org http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org