For all ya BFS (brain fuck scheduler) lovers out there

Al Johnson openmoko at mazikeen.demon.co.uk
Mon Sep 14 15:33:56 CEST 2009


On Monday 14 September 2009, Paul Fertser wrote:
> Hi,
>
> Thanks to LKML discussion there's an interesting switch found that
> reportedly makes CFS behave as good as BFS for typical desktop workloads.
>
> Read all the details at [1] and to try it on your devices, simply do:
>
> mkdir /debug
> mount -t debugfs none /debug
> echo NO_NEW_FAIR_SLEEPERS > /debug/sched_features
>
> It will magically solve all the problems but i hope it can improve
> experience at least somewhat.
>
> [1] http://marc.info/?l=linux-kernel&m=125260838709566&w=3

According to a later post[2] the mounting should be unnecessary, and this 
should be sufficient:

echo NO_NEW_FAIR_SLEEPERS > /sys/kernel/debug/sched_features

[2] http://www.gossamer-
threads.com/lists/linux/kernel/1128181?do=post_view_threaded#1128181



More information about the community mailing list