cpu_governor
INFO
Rule IDs: os_005
Overview
- Purpose
- CPU frequency governor mode from host diagnostics.
- Dynamic (MySQL 8.4 reference)
- OS / firmware — not a MySQL variable.
- Default value
- Platform-dependent.
- Version and product notes
- N/A
- Documentation
- Primary reference depends on product (MySQL, MariaDB, Percona, or OS documentation).
What is checked
Rules that reference this variable, with their severity and what each rule detects:
- INFO
os_005: Set CPU governor to performance: cpupower frequency-set --governor performance
Tuning guidance
- Recommended actions:
- Set CPU governor to performance: cpupower frequency-set --governor performance
- Trade-offs: OS tuning (swap, THP, NUMA, I/O scheduler) operates outside MySQL but directly affects database performance. Changes require root access and may need a reboot.
Example
cpupower frequency-set --governor performance