pense-bête de bruno sanchiz

Accueil > Linux > matériels : infos et installations > TESTS matériel > tests cpu

tests cpu

Publié le 21 juillet 2026, dernière mise-à-jour le 21 juillet 2026, > 7 visites, >> 564890 visites totales.

Gestion de la performance

apt-get install linux-cpupower

lscpu | egrep -i 'MHz'

multiplication des MHz du/des CPU(s) :    22%
Vitesse maximale du processeur en MHz :   3600,0000
Vitesse minimale du processeur en MHz :   800,0000

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 2>/dev/null | head sort -u

powersave

cpupower frequency-info

analyse du CPU 6 :
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 6
  CPUs which need to have their frequency coordinated by software: 6
  maximum transition latency:  Cannot determine or is not supported.
  limitation matérielle : 800 MHz - 3.60 GHz
  régulateurs disponibles : performance powersave
  tactique actuelle : la fréquence doit être comprise entre 800 MHz et 3.60 GHz.
                  Le régulateur "powersave" est libre de choisir la vitesse
                  dans cette plage de fréquences.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 800 MHz (asserted by call to kernel)
  boost state support:
    Supported: no
    Active: no

cpupower idle-info

CPUidle driver: intel_idle
CPUidle governor: menu
analyse du CPU 7 :

Number of idle states: 7
Available idle states: POLL C1 C1E C3 C6 C7s C8
POLL:
Flags/Description: CPUIDLE CORE POLL IDLE
Latency: 0
Residency: 0
Usage: 2388
Duration: 22736
C1:
Flags/Description: MWAIT 0x00
Latency: 2
Residency: 2
Usage: 28037
Duration: 5401413
C1E:
Flags/Description: MWAIT 0x01
Latency: 10
Residency: 20
Usage: 100192
Duration: 17409102
C3:
Flags/Description: MWAIT 0x10
Latency: 70
Residency: 100
Usage: 34473
Duration: 6603725
C6:
Flags/Description: MWAIT 0x20
Latency: 85
Residency: 200
Usage: 131383
Duration: 68119449
C7s:
Flags/Description: MWAIT 0x33
Latency: 124
Residency: 800
Usage: 0
Duration: 0
C8:
Flags/Description: MWAIT 0x40
Latency: 200
Residency: 800
Usage: 732009
Duration: 5874726622

cpupower powercap-info

Driver: intel-rapl
Powercap domain hierarchy:

Zone: package-0
 (enabled)
Power can be monitored in micro Watts

	Zone: core
 (disabled)
	Power can be monitored in micro Watts

	Zone: dram
 (disabled)
	Power can be monitored in micro Watts

cpupower monitor

intel-rapl/intel-rapl:0
0
intel-rapl/intel-rapl:0/intel-rapl:0:0
0
intel-rapl/intel-rapl:0/intel-rapl:0:1
0
    | Nehalem                   || Mperf              || RAPL               || Idle_Stats                                     
| CPU| C3   | C6   | PC3  | PC6   || C0   | Cx   | Freq  || pack | core | dram  || POLL | C1   | C1E  | C3   | C6   | C7s  | C8    |
|   0|  0,20|  3,18|  0,00|  0,00||  5,07| 94,93|   800||2568231|1209897|1366513||  0,00|  0,00|  1,26|  0,30|  3,96|  0,00| 89,71|
|   4|  0,20|  3,17|  0,00|  0,00||  4,77| 95,23|   799||2568231|1209897|1366513||  0,00|  0,00|  0,01|  0,05|  0,30|  0,00| 94,99|
|   1|  0,03|  1,30|  0,00|  0,00||  3,54| 96,46|   800||2568231|1209897|1366513||  0,00|  0,00|  0,42|  0,04|  0,90|  0,00| 95,32|
|   5|  0,03|  1,30|  0,00|  0,00||  2,57| 97,43|   800||2568231|1209897|1366513||  0,00|  0,01|  0,09|  0,03|  0,56|  0,00| 96,81|
|   2|  0,08|  2,47|  0,00|  0,00||  3,77| 96,23|   800||2568231|1209897|1366513||  0,00|  0,00|  0,08|  0,08|  1,36|  0,00| 94,81|
|   6|  0,08|  2,45|  0,00|  0,00||  2,69| 97,31|   799||2568231|1209897|1366513||  0,00|  0,00|  0,02|  0,02|  1,66|  0,00| 95,70|
|  3|  0,00|  4,27|  0,00|  0,00||  4,07| 95,93|   799||2568231|1209897|1366513||  0,00|  0,00|  0,03|  0,06|  0,34|  0,00| 95,67|
|   7|  0,00|  4,27|  0,00|  0,00||  3,19| 96,81|   799||2568231|1209897|1366513||  0,00|  0,40|  0,91|  0,00|  4,84|  0,00| 90,82|

augmenter la performance
mettre /sys/devices/system/cpu/intel_pstate/no_turbo à 0 plutôt qu’à 1

[bruno sanchiz]