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

Rui Miguel Silva Seabra rms at 1407.org
Mon Sep 14 16:44:03 CEST 2009


On Mon, Sep 14, 2009 at 04:32:54PM +0200, Klaus 'mrmoku' Kurzmann wrote:
> 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.


Probably the idea is that you should rather do:

	mount -t debugfs none /sys/kernel/debug

Rui



More information about the community mailing list