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

Klaus 'mrmoku' Kurzmann mok at mnet-online.de
Mon Sep 14 16:32:54 CEST 2009


Am Montag 14 September 2009 15:33:56 schrieb Al Johnson:
> 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
you have to mount debugfs to /sys/kernel/debug then though... as otherwise 
/sys/kernel/debug is empty.

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

-- 

Klaus 'mrmoku' Kurzmann



More information about the community mailing list