How to lock all CPUs to C-State 0 with the cpu-partitioning profile in Red Hat Enterprise Linux and Red Hat OpenStack Platform?

Solution In Progress - Updated -

Issue

How to lock all CPUs to C-State 0 with the cpu-partitioning profile in Red Hat Enterprise Linux and Red Hat OpenStack Platform?

When using cpu-partitioning, CPUs still go into C1:

[root@overcloud-compute-0 ~]# tuned-adm profile cpu-partitioning
[root@overcloud-compute-0 ~]# turbostat sleep 5
5.001639 sec
    Core    CPU Avg_MHz Busy%   Bzy_MHz TSC_MHz IRQ SMI CPU%c1  CPU%c3  CPU%c6  CPU%c7  CoreTmp PkgTmp  PkgWatt RAMWatt PKG_%   RAM_%
    -   -   242 10.04   2400    2209    0   0   89.96   0.00    0.00    0.00    61  65  64.87   9.67    0.00    0.00
    0   0   2430    100.00  2400    2228    0   0   0.00    0.00    0.00    0.00    59  65  35.04   3.92    0.00    0.00
    0   20  2422    100.00  2400    2220    0   0   0.00
    1   2   26  1.06    2400    2220    0   0   98.94   0.00    0.00    0.00    57
    1   22  0   0.00    2401    2220    0   0   100.00
    2   4   0   0.00    2400    2220    0   0   100.00  0.00    0.00    0.00    57
    2   24  0   0.00    2400    2220    0   0   100.00
    3   6   0   0.00    2401    2220    0   0   100.00  0.00    0.00    0.00    58
    3   26  0   0.00    2402    2220    0   0   100.00
    4   8   0   0.00    2402    2220    0   0   100.00  0.00    0.00    0.00    57
    4   28  0   0.00    2400    2220    0   0   100.00
    8   10  0   0.00    2401    2220    0   0   100.00  0.00    0.00    0.00    57
    8   30  0   0.00    2403    2220    0   0   100.00
    9   12  0   0.00    2402    2220    0   0   100.00  0.00    0.00    0.00    57
    9   32  0   0.00    2403    2220    0   0   100.00
    10  14  0   0.00    2401    2220    0   0   100.00  0.00    0.00    0.00    56
    10  34  0   0.00    2401    2220    0   0   100.00

Environment

Red Hat Enterprise Linux 7
Red Hat OpenStack Platform 10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content