On Sat, 28 Jul 2007, Linus Torvalds wrote:Btw, people who actually have 3D games installed (I have exactly one: ppracer, and I can't really say that I care about how it feels), if you don't have CONFIG_HZ=1000, this really is worth testing. I think Ingo probably ran with CONFIG_NO_HZ and HZ_1000, but the default timer tick is actually 250Hz, which makes all the default scheduler values come out four times bigger than they are documented/supposed to be. On SMP, that scheduler granularity then gets doubled once more if you have two CPU's, so rather than 2ms by default, it ends up being 16ns (and the time slices themselves end up being bigger than that). So doing some testing with a simple echo 2000000 > /proc/sys/kernel/sched_granularity_ns echo 1000000 > /proc/sys/kernel/sched_batch_wakeup_granularity_ns echo 8000000 > /proc/sys/kernel/sched_runtime_limit_ns might be worth doing (and if you vary numbers to see if it matters, please do let people know!) Linus -
| Andrew Morton | -mm merge plans for 2.6.23 |
| Chuck Ebbert | Why do so many machines need "noapic"? |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg Kroah-Hartman | [PATCH 023/196] MCP_UCB1200: Convert from class_device to device |
git: | |
| David Miller | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 31/37] dccp: Remove manual influence on NDP Count feature |
| Gregory Haskins | [RFC PATCH 00/17] virtual-bus |
