Code: Select all
Linux 2.6.24-gentoo #2 PREEMPT Tue Feb 5 10:40:42 CET 2008 x86_64 AMD Athlon(tm) 64 Processor 3400+Nope, CFS was introduced in 2.6.23:i92guboj wrote:.24 brought us the CFS task (not i/o) scheduler by default.
Yeah, I disabled it and now my system is as responsive as it was with 2.6.23 kernel. It looks that this Fair Group Sheduler gives resources using user-id and I suppose in that case root has the highest priority, so if we compile something, Sheduler gives all resources to root, which makes users cry. If you have FGS enabled, just run compilation, then Firefox as an user and try to scroll the page. It won't go smooth probably. After this try to run Firefox as root and see that scrolling is smooth (at least for me it was).Rcomian wrote:Could this be due to Fair Group Scheduling?
This is new in CFS in 2.6.24.
By default it appears to give users equal CPU share first and then processes within that user's space get partitioned within that.
I'm going to try turning it off and see how it goes.
Should you share with us more about disabling it? Is it enough just uncheck "Fair group CPU scheduler" in menuconfig and rebuild kernel?unK wrote:Yeah, I disabled it and now my system is as responsive as it was with 2.6.23 kernel.Rcomian wrote:Could this be due to Fair Group Scheduling?
This is new in CFS in 2.6.24.
By default it appears to give users equal CPU share first and then processes within that user's space get partitioned within that.
I'm going to try turning it off and see how it goes.
You can't change CPU scheduler on the fly - and never have. IO schedulers are a different matter. Just disable the group thing and test. CFS is still being used as there are no other CPU schedulers in the kernel.radfoj wrote:Should you share with us more about disabling it? Is it enough just uncheck "Fair group CPU scheduler"? When disabling it, which scheduler will be used, and what about command which I am not able to find again for changing cpu scheduler on the fly? Thanks.