Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1389941 > unrolled thread

Re: [PATCH v3 6/6] sched/fair: Move (inactive) option from code to config

Started byPeter Zijlstra <peterz@infradead.org>
First post2016-04-28 11:40 +0200
Last post2016-04-29 06:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3 6/6] sched/fair: Move (inactive) option from code to  config Peter Zijlstra <peterz@infradead.org> - 2016-04-28 11:40 +0200
    Re: [PATCH v3 6/6] sched/fair: Move (inactive) option from code to  config Ingo Molnar <mingo@kernel.org> - 2016-04-28 11:50 +0200
    Re: [PATCH v3 6/6] sched/fair: Move (inactive) option from code to  config Yuyang Du <yuyang.du@intel.com> - 2016-04-29 06:20 +0200

#1389941 — Re: [PATCH v3 6/6] sched/fair: Move (inactive) option from code to config

FromPeter Zijlstra <peterz@infradead.org>
Date2016-04-28 11:40 +0200
SubjectRe: [PATCH v3 6/6] sched/fair: Move (inactive) option from code to config
Message-ID<rsQAp-Tg-17@gated-at.bofh.it>
On Tue, Apr 05, 2016 at 12:12:31PM +0800, Yuyang Du wrote:
> The option of increased load resolution (fixed point arithmetic range) is
> unconditionally deactivated with #if 0. But since it may still be used
> somewhere (e.g., in Google), we want to keep this option.
> 
> Regardless, there should be a way to express this option. Considering the
> current circumstances, the reconciliation is we define a config
> CONFIG_CFS_INCREASE_LOAD_RANGE and it depends on FAIR_GROUP_SCHED and
> 64BIT and BROKEN.
> 
> Suggested-by: Ingo Molnar <mingo@kernel.org>

So I'm very tempted to simply, unconditionally, reinstate this larger
range for everything CONFIG_64BIT && CONFIG_FAIR_GROUP_SCHED.

There was but the single claim on increased power usage, nobody could
reproduce / analyze and Google has been running with this for years now.

Furthermore, it seems to be leading to the obvious problems on bigger
machines where we basically run out of precision by the sheer number of
cpus (nr_cpus ~ SCHED_LOAD_SCALE and stuff comes apart quickly).

[toc] | [next] | [standalone]


#1389948

FromIngo Molnar <mingo@kernel.org>
Date2016-04-28 11:50 +0200
Message-ID<rsQK6-WE-15@gated-at.bofh.it>
In reply to#1389941
* Peter Zijlstra <peterz@infradead.org> wrote:

> On Tue, Apr 05, 2016 at 12:12:31PM +0800, Yuyang Du wrote:
> > The option of increased load resolution (fixed point arithmetic range) is
> > unconditionally deactivated with #if 0. But since it may still be used
> > somewhere (e.g., in Google), we want to keep this option.
> > 
> > Regardless, there should be a way to express this option. Considering the
> > current circumstances, the reconciliation is we define a config
> > CONFIG_CFS_INCREASE_LOAD_RANGE and it depends on FAIR_GROUP_SCHED and
> > 64BIT and BROKEN.
> > 
> > Suggested-by: Ingo Molnar <mingo@kernel.org>
> 
> So I'm very tempted to simply, unconditionally, reinstate this larger
> range for everything CONFIG_64BIT && CONFIG_FAIR_GROUP_SCHED.
> 
> There was but the single claim on increased power usage, nobody could
> reproduce / analyze and Google has been running with this for years now.
> 
> Furthermore, it seems to be leading to the obvious problems on bigger
> machines where we basically run out of precision by the sheer number of
> cpus (nr_cpus ~ SCHED_LOAD_SCALE and stuff comes apart quickly).

Agreed.

Thanks,

	Ingo

[toc] | [prev] | [next] | [standalone]


#1390722

FromYuyang Du <yuyang.du@intel.com>
Date2016-04-29 06:20 +0200
Message-ID<rt84i-86H-5@gated-at.bofh.it>
In reply to#1389941
On Thu, Apr 28, 2016 at 11:37:33AM +0200, Peter Zijlstra wrote:
> On Tue, Apr 05, 2016 at 12:12:31PM +0800, Yuyang Du wrote:
> > The option of increased load resolution (fixed point arithmetic range) is
> > unconditionally deactivated with #if 0. But since it may still be used
> > somewhere (e.g., in Google), we want to keep this option.
> > 
> > Regardless, there should be a way to express this option. Considering the
> > current circumstances, the reconciliation is we define a config
> > CONFIG_CFS_INCREASE_LOAD_RANGE and it depends on FAIR_GROUP_SCHED and
> > 64BIT and BROKEN.
> > 
> > Suggested-by: Ingo Molnar <mingo@kernel.org>
> 
> So I'm very tempted to simply, unconditionally, reinstate this larger
> range for everything CONFIG_64BIT && CONFIG_FAIR_GROUP_SCHED.
> 
> There was but the single claim on increased power usage, nobody could
> reproduce / analyze and Google has been running with this for years now.
> 
> Furthermore, it seems to be leading to the obvious problems on bigger
> machines where we basically run out of precision by the sheer number of
> cpus (nr_cpus ~ SCHED_LOAD_SCALE and stuff comes apart quickly).
 
Great.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web