Re: [PATCH v2 0/8] Support Intel® Turbo Boost Max Technology 3.0

2016-09-16 Thread Tim Chen
On Thu, 2016-09-15 at 13:46 +0100, One Thousand Gnomes wrote:
> On Thu, 15 Sep 2016 14:14:30 +0200
> Pavel Machek  wrote:
> 
> > 
> > Hi!
> > 
> > > 
> > > - Feature is enabled by default for single socket systems
> > > 
> > > With Intel® Turbo Boost Max Technology 3.0 (ITMT), single-threaded 
> > > performance is
> > > optimized by identifying processor's fastest core and running critical 
> > > workloads
> > > on it.
> > > Refere to:
> > > http://www.intel.com/content/www/us/en/architecture-and-technology/turbo-boost/turbo-boost-max-technology.html
> > >   
> > That does not really explain much.
> > 
> > How does it work? Do the different cores have different max
> > frequencies due to manufacturing differences? Ot is it running the
> > workload on coldest core?
> That's all down to the CPU, not architectural and may change.
> 
> The ACPI tables describe which cores to use, whether that relates to
> manufacturing, positioning or whatever isn't exposed.

Please refer to patches 
acpi: Enable HWP CPPC objects 
acpi: bus: Set _OSC for diverse core support
cpufreq: intel_pstate: Use CPPC to get max performance

for how the differences in core's capabilities are exposed to OS.

The asymmetric packing feature in the scheduler defines an
order of which core should be scheduled with a load first.
By using this feature, we can put load first on 
the core that can be boosted to the highest
frequency.

Tim


Re: [PATCH v2 0/8] Support Intel® Turbo Boost Max Technology 3.0

2016-09-16 Thread Tim Chen
On Thu, 2016-09-15 at 13:46 +0100, One Thousand Gnomes wrote:
> On Thu, 15 Sep 2016 14:14:30 +0200
> Pavel Machek  wrote:
> 
> > 
> > Hi!
> > 
> > > 
> > > - Feature is enabled by default for single socket systems
> > > 
> > > With Intel® Turbo Boost Max Technology 3.0 (ITMT), single-threaded 
> > > performance is
> > > optimized by identifying processor's fastest core and running critical 
> > > workloads
> > > on it.
> > > Refere to:
> > > http://www.intel.com/content/www/us/en/architecture-and-technology/turbo-boost/turbo-boost-max-technology.html
> > >   
> > That does not really explain much.
> > 
> > How does it work? Do the different cores have different max
> > frequencies due to manufacturing differences? Ot is it running the
> > workload on coldest core?
> That's all down to the CPU, not architectural and may change.
> 
> The ACPI tables describe which cores to use, whether that relates to
> manufacturing, positioning or whatever isn't exposed.

Please refer to patches 
acpi: Enable HWP CPPC objects 
acpi: bus: Set _OSC for diverse core support
cpufreq: intel_pstate: Use CPPC to get max performance

for how the differences in core's capabilities are exposed to OS.

The asymmetric packing feature in the scheduler defines an
order of which core should be scheduled with a load first.
By using this feature, we can put load first on 
the core that can be boosted to the highest
frequency.

Tim


Re: [PATCH v2 0/8] Support Intel® Turbo Boost Max Technology 3.0

2016-09-15 Thread One Thousand Gnomes
On Thu, 15 Sep 2016 14:14:30 +0200
Pavel Machek  wrote:

> Hi!
> 
> > - Feature is enabled by default for single socket systems
> > 
> > With Intel® Turbo Boost Max Technology 3.0 (ITMT), single-threaded 
> > performance is
> > optimized by identifying processor's fastest core and running critical 
> > workloads
> > on it.
> > Refere to:
> > http://www.intel.com/content/www/us/en/architecture-and-technology/turbo-boost/turbo-boost-max-technology.html
> >   
> 
> That does not really explain much.
> 
> How does it work? Do the different cores have different max
> frequencies due to manufacturing differences? Ot is it running the
> workload on coldest core?

That's all down to the CPU, not architectural and may change.

The ACPI tables describe which cores to use, whether that relates to
manufacturing, positioning or whatever isn't exposed.

Alan


Re: [PATCH v2 0/8] Support Intel® Turbo Boost Max Technology 3.0

2016-09-15 Thread One Thousand Gnomes
On Thu, 15 Sep 2016 14:14:30 +0200
Pavel Machek  wrote:

> Hi!
> 
> > - Feature is enabled by default for single socket systems
> > 
> > With Intel® Turbo Boost Max Technology 3.0 (ITMT), single-threaded 
> > performance is
> > optimized by identifying processor's fastest core and running critical 
> > workloads
> > on it.
> > Refere to:
> > http://www.intel.com/content/www/us/en/architecture-and-technology/turbo-boost/turbo-boost-max-technology.html
> >   
> 
> That does not really explain much.
> 
> How does it work? Do the different cores have different max
> frequencies due to manufacturing differences? Ot is it running the
> workload on coldest core?

That's all down to the CPU, not architectural and may change.

The ACPI tables describe which cores to use, whether that relates to
manufacturing, positioning or whatever isn't exposed.

Alan


Re: [PATCH v2 0/8] Support Intel® Turbo Boost Max Technology 3.0

2016-09-15 Thread Pavel Machek
Hi!

> - Feature is enabled by default for single socket systems
> 
> With Intel® Turbo Boost Max Technology 3.0 (ITMT), single-threaded 
> performance is
> optimized by identifying processor's fastest core and running critical 
> workloads
> on it.
> Refere to:
> http://www.intel.com/content/www/us/en/architecture-and-technology/turbo-boost/turbo-boost-max-technology.html

That does not really explain much.

How does it work? Do the different cores have different max
frequencies due to manufacturing differences? Ot is it running the
workload on coldest core?

Thanks,
Pavel


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


Re: [PATCH v2 0/8] Support Intel® Turbo Boost Max Technology 3.0

2016-09-15 Thread Pavel Machek
Hi!

> - Feature is enabled by default for single socket systems
> 
> With Intel® Turbo Boost Max Technology 3.0 (ITMT), single-threaded 
> performance is
> optimized by identifying processor's fastest core and running critical 
> workloads
> on it.
> Refere to:
> http://www.intel.com/content/www/us/en/architecture-and-technology/turbo-boost/turbo-boost-max-technology.html

That does not really explain much.

How does it work? Do the different cores have different max
frequencies due to manufacturing differences? Ot is it running the
workload on coldest core?

Thanks,
Pavel


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


Re: [PATCH v2 0/8] Support Intel® Turbo Boost Max Technology 3.0

2016-09-08 Thread Peter Zijlstra


Ingo, aside from the fact that Srinivas still has to update patch 6 and
I just spotted a few niggles, how do you want to merge this?


Re: [PATCH v2 0/8] Support Intel® Turbo Boost Max Technology 3.0

2016-09-08 Thread Peter Zijlstra


Ingo, aside from the fact that Srinivas still has to update patch 6 and
I just spotted a few niggles, how do you want to merge this?