Re: sched domains oddness.

From: Dave Jones
Date: Fri Oct 31 2008 - 13:18:15 EST


On Fri, Oct 31, 2008 at 10:09:29AM -0700, Suresh Siddha wrote:

> > looks like someone is triggering rebuild_sched_domains(), is something
> > poking cpusetfs files or flipping between sched_mc settings?
>
> I remember someone mentioning that some distro's started setting
> sched_mc_power_savings to '1' by default during boot. On a dual-core
> laptop, this will not give any advantage.
>
> I have to fix the code to not export this tunable, when we have only
> socket in the system.
>
> Dave, Is your distro also setting this tunable blindly during boot :(

(13:15:25:davej@vaio:~)$ cat /sys/devices/system/cpu/sched_mc_power_savings
0

So no, unless something set it to 1, and then back to 0.

A grep of etc shows up nothing in initscripts. Does hal or something
play with this?

Dave

--
http://www.codemonkey.org.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/