From mboxrd@z Thu Jan 1 00:00:00 1970 From: preeti@linux.vnet.ibm.com (Preeti U Murthy) Date: Sat, 27 Oct 2012 09:06:07 +0530 Subject: [RFC PATCH 00/13] sched: Integrating Per-entity-load-tracking with the core scheduler In-Reply-To: <20121026130715.GB9886@gmail.com> References: <20121025102045.21022.92489.stgit@preeti.in.ibm.com> <1351180603.12171.31.camel@twins> <50898118.1050402@linux.vnet.ibm.com> <1351254553.16863.52.camel@twins> <20121026130715.GB9886@gmail.com> Message-ID: <508B56A7.1010501@linux.vnet.ibm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 10/26/2012 06:37 PM, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > >> [...] >> >> So a sane series would introduce maybe two functions: >> cpu_load() and task_load() and use those where we now use >> rq->load.weight and p->se.load.weight for load balancing >> purposes. Implement these functions using those two >> expression. So effectively this patch is a NOP. >> >> Secondly, switch these two functions over to the per-task >> based averages. >> >> Tada! all done. The load balancer will then try and equalize >> effective load instead of instant load. >> >> It will do the 3x10% vs 100% thing correctly with just those >> two patches. Simply because it will report a lower cpu-load >> for the 3x10% case than it will for the 100% case, no need to >> go fudge about in the load-balance internals. >> >> Once you've got this correctly done, you can go change >> balancing to better utilize the new metric, like use the >> effective load instead of nr_running against the capacity and >> things like that. But for every such change you want to be >> very careful and run all the benchmarks you can find -- in >> fact you want to do that after the 2nd patch too. > > If anyone posted that simple two-patch series that switches over > to the new load metrics I'd be happy to test the performance of > those. > > Having two parallel load metrics is really not something that we > should tolerate for too long. > > Thanks, > > Ingo > Right Ingo.I will incorporate this approach and post out very soon. Thank you Regards Preeti