Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-11 Thread Dietmar Eggemann
On 10/06/14 19:09, Yuyang Du wrote: > On Tue, Jun 10, 2014 at 12:52:06PM +0100, Dietmar Eggemann wrote: > > Hi Dietmar, > >> Not in this sense but there is no functionality in the scheduler right >> now to check constantly if an sd flag has been set/unset via sysctl. > > Sorry, I still don't

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-11 Thread Dietmar Eggemann
On 10/06/14 19:09, Yuyang Du wrote: On Tue, Jun 10, 2014 at 12:52:06PM +0100, Dietmar Eggemann wrote: Hi Dietmar, Not in this sense but there is no functionality in the scheduler right now to check constantly if an sd flag has been set/unset via sysctl. Sorry, I still don't understand.

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-10 Thread Yuyang Du
On Tue, Jun 10, 2014 at 12:52:06PM +0100, Dietmar Eggemann wrote: Hi Dietmar, > Not in this sense but there is no functionality in the scheduler right > now to check constantly if an sd flag has been set/unset via sysctl. Sorry, I still don't understand. There are many "if (sd->flags & SD_XXX)"

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-10 Thread Dietmar Eggemann
On 09/06/14 22:18, Yuyang Du wrote: > On Mon, Jun 09, 2014 at 06:56:17PM +0100, Dietmar Eggemann wrote: > > Thanks, Dietmar. > >> I'm running these patches on my ARM TC2 on top of >> kernel/git/torvalds/linux.git (v3.15-rc7-79-gfe45736f4134). There're >> considerable changes in the area of sched

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-10 Thread Dietmar Eggemann
On 09/06/14 22:18, Yuyang Du wrote: On Mon, Jun 09, 2014 at 06:56:17PM +0100, Dietmar Eggemann wrote: Thanks, Dietmar. I'm running these patches on my ARM TC2 on top of kernel/git/torvalds/linux.git (v3.15-rc7-79-gfe45736f4134). There're considerable changes in the area of sched domain

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-10 Thread Yuyang Du
On Tue, Jun 10, 2014 at 12:52:06PM +0100, Dietmar Eggemann wrote: Hi Dietmar, Not in this sense but there is no functionality in the scheduler right now to check constantly if an sd flag has been set/unset via sysctl. Sorry, I still don't understand. There are many if (sd-flags SD_XXX) in

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-09 Thread Yuyang Du
On Mon, Jun 09, 2014 at 06:56:17PM +0100, Dietmar Eggemann wrote: Thanks, Dietmar. > I'm running these patches on my ARM TC2 on top of > kernel/git/torvalds/linux.git (v3.15-rc7-79-gfe45736f4134). There're > considerable changes in the area of sched domain setup since Vincent's > patchset

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-09 Thread Dietmar Eggemann
... turned out that probably the cc list was too big for lkml. Dropping all the individual email addresses on CC. ... it seems that this message hasn't made it to the list. Apologies to everyone on To: and Cc: receiving it again. On 03/06/14 13:14, Peter Zijlstra wrote: > On Fri, May 30, 2014 at

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-09 Thread Dietmar Eggemann
... turned out that probably the cc list was too big for lkml. Dropping all the individual email addresses on CC. ... it seems that this message hasn't made it to the list. Apologies to everyone on To: and Cc: receiving it again. On 03/06/14 13:14, Peter Zijlstra wrote: On Fri, May 30, 2014 at

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-09 Thread Yuyang Du
On Mon, Jun 09, 2014 at 06:56:17PM +0100, Dietmar Eggemann wrote: Thanks, Dietmar. I'm running these patches on my ARM TC2 on top of kernel/git/torvalds/linux.git (v3.15-rc7-79-gfe45736f4134). There're considerable changes in the area of sched domain setup since Vincent's patchset 'rework

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-03 Thread Peter Zijlstra
On Fri, May 30, 2014 at 02:36:03PM +0800, Yuyang Du wrote: > Workload Consolidation can be enabled/disabled on the fly. This patchset > enables MC and CPU domain WC by default. > > To enable CPU WC (SD_WORKLOAD_CONSOLIDATION=0x8000): > > sysctl -w kernel.sched_domain.cpuX.domainY.flags += 0x8000

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-03 Thread Peter Zijlstra
On Fri, May 30, 2014 at 02:36:03PM +0800, Yuyang Du wrote: Workload Consolidation can be enabled/disabled on the fly. This patchset enables MC and CPU domain WC by default. To enable CPU WC (SD_WORKLOAD_CONSOLIDATION=0x8000): sysctl -w kernel.sched_domain.cpuX.domainY.flags += 0x8000 To

[RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-05-30 Thread Yuyang Du
Workload Consolidation can be enabled/disabled on the fly. This patchset enables MC and CPU domain WC by default. To enable CPU WC (SD_WORKLOAD_CONSOLIDATION=0x8000): sysctl -w kernel.sched_domain.cpuX.domainY.flags += 0x8000 To disable CPU WC: sysctl -w kernel.sched_domain.cpuX.domainY.flags

[RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-05-30 Thread Yuyang Du
Workload Consolidation can be enabled/disabled on the fly. This patchset enables MC and CPU domain WC by default. To enable CPU WC (SD_WORKLOAD_CONSOLIDATION=0x8000): sysctl -w kernel.sched_domain.cpuX.domainY.flags += 0x8000 To disable CPU WC: sysctl -w kernel.sched_domain.cpuX.domainY.flags