Page MenuHomePhabricator

Investigate whether configuring hardware P-states would help with performance on k8s
Closed, ResolvedPublic

Description

May or may not apply -- possibly not relevant for Skylake or newer. Needs investigation.

Event Timeline

TL;DR: "It's probably fine."

We currently have the following processors on our k8s nodes:

kubernetes[2018-2024].codfw.wmnet,kubernetes[1018-1024].eqiad.wmnet: Intel(R) Xeon(R) Silver 4210R CPU @ 2.40GHz
kubernetes[2007-2014,2017].codfw.wmnet,kubernetes[1007-1014,1017].eqiad.wmnet: Intel(R) Xeon(R) Silver 4214 CPU @ 2.20GHz

These use Intel SpeedShift, which should behave correctly since kernel 4.10.

The CPU scaling driver and governor are set correctly:

----- OUTPUT of 'cat /sys/devices...q/scaling_driver' -----                                                                                       
intel_pstate
----- OUTPUT of 'cat /sys/devices...scaling_governor' -----                                                                                       
performance

I am not an expert on this topic, so let me know if this sounds wrong to you. If it sounds right, I suppose we can close this.

hnowlan assigned this task to kamila.