From WikiChip
Difference between revisions of "intel/frequency behavior"
< intel

(historical)
Line 1: Line 1:
 
{{intel title|Frequency Behavior}}
 
{{intel title|Frequency Behavior}}
The '''Frequency Behavior of Intel's CPUs''' is complex and is governed by multiple mechanisms that perform [[dynamic frequency scaling]].
+
The '''Frequency Behavior of Intel's CPUs''' is complex and is governed by multiple mechanisms that perform [[dynamic frequency scaling]] based on the available headroom.
  
 
== Overview ==
 
== Overview ==

Revision as of 22:23, 16 July 2017

The Frequency Behavior of Intel's CPUs is complex and is governed by multiple mechanisms that perform dynamic frequency scaling based on the available headroom.

Overview

With the increasing transistor budget new features are added and the overall core grows in capabilities. Unfortunately, the power constraints have remained the same and in many situations have gotten more restrictive. The result is that despite the exponentially increasing density, the dark silicon's area is growing just as fast.

Intel has implemented a number of mechanisms into their architectures to extract additional performance through higher frequency whenever the power and thermal budgets allow.

Base, Non-AVX Turbo, and AVX Turbo

mixed avx-normal workloads with avx512.png

Because different workloads exhibit different die thermos and electrical characteristics, they also have different frequencies. Intel organizes workloads into three categories:

  • Non-AVX - workloads such as SSE and simple (e.g., add/bit) integer vector operations and all other regular instructions.
  • AVX2 Heavy - workloads that make heavy use of complex AVX2 operations (e.g. floating point and integer vector multiplications). This also includes the various AVX-512 bit scanning, and other simple (i.e., non INT/FP MUL) operations.
  • AVX-512 Heavy - workloads that make use of complex AVX-512 operations, including operations such as floating point and integer vector multiplications.

The frequency of each core is determined independently based on the workload described above. That is, cores running Non-AVX workloads can enjoy the full regular turbo frequency, whereas cores executing AVX-512 or AVX2 will operate at their own designated turbo frequencies.

Due to all of that, each processor has the following properties:

Mode Example Workload Absolute Guaranteed
Lowest Frequency
Absolute Guaranteed
Highest Frequency
Non-AVX SSE, light AVX2 Integer Vector (non-MUL), All regular instruction Base Frequency Turbo Frequency
AVX2 Heavy All AVX2 operations, light AVX-512 (non-FP, Int Vect non-MUL) AVX2 Base AVX2 Turbo
AVX-512 Heavy All heavy AVX-512 operations AVX-512 Base AVX-512 Turbo

Historical behavior

Prior to Haswell, AVX2 workload on one core meant all cores were capped at AVX2 Turbo frequency. This had the undesirable effect of reducing performance for non-AVX workloads on cores that were unrelated to the cores executing AVX2 workloads. This behavior was changed with Broadwell which grouped cores executing AVX2 workloads together and cores executing non-AVX workloads separately, allowing the former cores group to execute at the lower AVX2 turbo frequency while having the later cores group execute at full non-AVX2 turbo.

broadwell avx turbo changes.png