Re: [Patch] sched: mc/smt power savings sched policy

From: Con Kolivas
Date: Tue Jun 06 2006 - 19:58:37 EST


On Wednesday 07 June 2006 04:25, Siddha, Suresh B wrote:
> Appended the patch. Can someone please test compile the powerpc change?
>
> thanks,
> suresh
> --
>
> sysfs entries 'sched_mc_power_savings' and 'sched_smt_power_savings' in
> /sys/devices/system/cpu/ control the MC/SMT power savings policy for
> the scheduler.
>
> Based on the values (1-enable, 0-disable) for these controls, sched groups
> cpu power will be determined for different domains. When power savings
> policy is enabled and under light load conditions, scheduler will minimize
> the physical packages/cpu cores carrying the load and thus conserving
> power(with a perf impact based on the workload characteristics... see OLS
> 2005 CMP kernel scheduler paper for more details..)

This MC code is a maze of #ifdefs within functions and getting harder to
follow with each subsequent patch. Can we not deviate so much from kernel
style?

--
-ck
-
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/