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

From: Tim Chen
Date: Fri Sep 16 2016 - 12:04:03 EST


On Thu, 2016-09-15 at 13:46 +0100, One Thousand Gnomes wrote:
> On Thu, 15 Sep 2016 14:14:30 +0200
> Pavel Machek <pavel@xxxxxx> 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