public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/11] remove cpu_load in rq
@ 2014-02-17  1:55 Alex Shi
  2014-02-17  1:55 ` [PATCH v2 01/11] sched: shortcut to remove load_idx Alex Shi
                   ` (13 more replies)
  0 siblings, 14 replies; 18+ messages in thread
From: Alex Shi @ 2014-02-17  1:55 UTC (permalink / raw)
  To: mingo, peterz, morten.rasmussen
  Cc: vincent.guittot, daniel.lezcano, fweisbec, linux, tony.luck,
	fenghua.yu, james.hogan, alex.shi, jason.low2, viresh.kumar,
	hanjun.guo, linux-kernel, tglx, akpm, arjan, pjt, fengguang.wu,
	linaro-kernel, wangyun

The cpu_load decays on time according past cpu load of rq. The sched_avg also decays tasks' load on time. Now we has 2 kind decay for cpu_load. That is a kind of redundancy. And increase the system load by decay calculation. This patch try to remove the cpu_load decay.

There are 5 load_idx used for cpu_load in sched_domain. busy_idx and idle_idx are not zero usually, but newidle_idx, wake_idx and forkexec_idx are all zero on every arch. A shortcut to remove cpu_Load decay in the first patch. just one line patch for this change.

V2,
1, This version do some tuning on load bias of target load, to maximum match current code logical.
2, Got further to remove the cpu_load in rq.
3, Revert the patch 'Limit sd->*_idx range on sysctl' since no needs

Any testing/comments are appreciated.

This patch rebase on latest tip/master.
The git tree for this patchset at:
 git@github.com:alexshi/power-scheduling.git noload

Thanks
Alex


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-02-19 10:24 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-17  1:55 [PATCH v2 0/11] remove cpu_load in rq Alex Shi
2014-02-17  1:55 ` [PATCH v2 01/11] sched: shortcut to remove load_idx Alex Shi
2014-02-17  1:55 ` [PATCH v2 02/11] sched: remove rq->cpu_load[load_idx] array Alex Shi
2014-02-17  1:55 ` [PATCH v2 03/11] sched: clean up cpu_load update Alex Shi
2014-02-17  1:55 ` [PATCH v2 04/11] sched: unify imbalance bias for target group Alex Shi
2014-02-17  1:55 ` [PATCH v2 05/11] sched: rewrite update_cpu_load_nohz Alex Shi
2014-02-17  1:55 ` [PATCH v2 06/11] sched: clean up source_load/target_load Alex Shi
2014-02-17  1:55 ` [PATCH v2 07/11] sched: clean up weighted_cpuload Alex Shi
2014-02-17  1:55 ` [PATCH v2 08/11] sched: remove weighted_load() Alex Shi
2014-02-17  1:55 ` [PATCH v2 09/11] sched: remove rq->cpu_load and rq->nr_load_updates Alex Shi
2014-02-17  1:55 ` [PATCH v2 10/11] sched: rename update_*_cpu_load Alex Shi
2014-02-17  1:55 ` [PATCH v2 11/11] sched: clean up task_hot function Alex Shi
2014-02-18  2:37 ` [PATCH v2 0/11] remove cpu_load in rq Alex Shi
2014-02-18  4:52 ` Michael wang
2014-02-18  6:03   ` Alex Shi
2014-02-18  6:17     ` Michael wang
     [not found] ` <20140218120522.GG19029@e103034-lin>
2014-02-18 12:28   ` Vincent Guittot
2014-02-19 10:23     ` Alex Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox