[Feature][SKL] Support disabling AVX-512
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intel |
Fix Released
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description:
On Skylake server we have some problems with AVX512/AVX2 lowering frequency and potentially lowering performance.
To do easy debug and as a potential solution it is useful to be able to disable AVX512 and AVX2
I posted patches to disable AVX512/2 at the kernel level.
Once they are merged we should back port them ASAP to server oriented distros, so that any issues on SKX deployment can be addressed.
Current patches are here
https:/
https:/
Note for backporting: the FPU code has been recently re-organized. So some of the patches likely need to be moved to other files and potentially other functions. But it's straight forward, so shouldn't be too difficult.
Commit Ids:
0b00de857a648da
0c2a3913d6f5050
57b8b1a1856adaa
73e3a7d2a7c3be2
cbe96375025e14f
ccb18db2ab9d923
Target Kernel: 4.14
Target Release: 18.04
0b00de857a648da fe7020878c7a27c f776f5edf4 x86/cpuid: Add generic table for CPUID dependencies 157^2~50^ 2~7 3f7c59d83a6219e 39508cc898 x86/fpu: Parse clearcpuid= as early XSAVE argument 157^2~50^ 2~6 849d02d547411a5 53a531022b x86/cpuid: Prevent out of bound access in do_clear_cpu_cap() 157^2~50^ 2~3 9a5a22b85026f6c fa5664267f x86/fpu: Remove the explicit clearing of XSAVE dependent features 157^2~50^ 2~4 c76f9ed42ee5225 120d7210f8 bitops: Add clear/set_bit32() to linux/bitops.h 157^2~50^ 2~8 df07e7495123fe5 fb02329713 x86/fpu: Make XSAVE check the base CPUID features before enabling 157^2~50^ 2~5
v4.15-rc1~
0c2a3913d6f5050
v4.15-rc1~
57b8b1a1856adaa
v4.15-rc1~
73e3a7d2a7c3be2
v4.15-rc1~
cbe96375025e14f
v4.15-rc1~
ccb18db2ab9d923
v4.15-rc1~