Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Suresh Siddha
Date: Monday, September 8, 2008 - 6:20 pm

On Mon, Sep 08, 2008 at 06:56:09AM -0700, Peter Zijlstra wrote:

Peter, Almost every if() stmt/basic block  in the power savings code has
comments around it. And also power-savings code is 50 lines (mostly comments)
in 320 lines of that function.


Why? Based on the power vs perf, we wanted to construct topologies
differently. Reason for the complexity is, in some of the Intel cpu's,
while the cores share the same package they have different last level caches.
So for performance, we want to differentiate based on last level caches
and for power, we want to consolidate based on the package information.


power-savings code is very small part of that nightmare :) That code
became complex over years with HT, smp-nice etc.

I haven't been following recent sched changes. I can take a look at it
and see what I can do to better organize find_busiest_group()

thanks,
suresh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Mon Sep 8, 6:14 am)
[RFC PATCH v2 1/7] sched: arch_reinit_sched_domains() must ..., Vaidyanathan Srinivasan, (Mon Sep 8, 6:16 am)
[RFC PATCH v2 2/7] sched: Fix __load_balance_iterator() fo ..., Vaidyanathan Srinivasan, (Mon Sep 8, 6:17 am)
[RFC PATCH v2 3/7] sched: Framework for sched_mc/smt_power ..., Vaidyanathan Srinivasan, (Mon Sep 8, 6:18 am)
[RFC PATCH v2 4/7] sched: favour lower logical cpu number ..., Vaidyanathan Srinivasan, (Mon Sep 8, 6:20 am)
[RFC PATCH v2 5/7] sched: nominate preferred wakeup cpu, Vaidyanathan Srinivasan, (Mon Sep 8, 6:21 am)
[RFC PATCH v2 6/7] sched: bias task wakeups to preferred s ..., Vaidyanathan Srinivasan, (Mon Sep 8, 6:22 am)
[RFC PATCH v2 7/7] sched: activate active load balancing i ..., Vaidyanathan Srinivasan, (Mon Sep 8, 6:23 am)
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n, Peter Zijlstra, (Mon Sep 8, 6:25 am)
Re: [RFC PATCH v2 5/7] sched: nominate preferred wakeup cpu, Vaidyanathan Srinivasan, (Mon Sep 8, 6:43 am)
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Mon Sep 8, 6:48 am)
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n, Peter Zijlstra, (Mon Sep 8, 6:56 am)
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n, Suresh Siddha, (Mon Sep 8, 6:20 pm)
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n, Peter Zijlstra, (Mon Sep 8, 11:18 pm)
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n, Peter Zijlstra, (Mon Sep 8, 11:54 pm)
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n, Peter Zijlstra, (Tue Sep 9, 1:25 am)
Re: [RFC PATCH v2 0/7] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Wed Sep 10, 6:45 am)