Re: [PATCH v3 5/8] sched,x86: Enable Turbo Boost Max Technology

2016-09-12 Thread Tim Chen
On Sat, 2016-09-10 at 18:21 +0200, Thomas Gleixner wrote: > On Thu, 8 Sep 2016, Srinivas Pandruvada wrote: > > > > + > > +DEFINE_PER_CPU_READ_MOSTLY(int, sched_core_priority); > > +static DEFINE_MUTEX(itmt_update_mutex); > > + > > +static unsigned int zero; > > +static unsigned int one = 1; > Plea

Re: [PATCH v3 5/8] sched,x86: Enable Turbo Boost Max Technology

2016-09-10 Thread Thomas Gleixner
On Thu, 8 Sep 2016, Srinivas Pandruvada wrote: > + > +DEFINE_PER_CPU_READ_MOSTLY(int, sched_core_priority); > +static DEFINE_MUTEX(itmt_update_mutex); > + > +static unsigned int zero; > +static unsigned int one = 1; Please stick that close to the ctl_table so it gets obvious why we need this. My f

[PATCH v3 5/8] sched,x86: Enable Turbo Boost Max Technology

2016-09-08 Thread Srinivas Pandruvada
From: Tim Chen On some Intel cores, they can boosted to a higher turbo frequency than the other cores on the same die. So we prefer processes to be run on them vs other lower frequency ones for extra performance. We extend the asym packing feature in the scheduler to support packing task to the