-
Notifications
You must be signed in to change notification settings - Fork 0
CPU
Andrei Montchik edited this page Jul 2, 2024
·
6 revisions
- Check the CPU frequency scaling:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor | sort -u - Switch the CPU Governor to the "performance" mode for all CPUs:
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
- Use stress-ng
- CPU info:
cat /proc/cpuinfo - Current frequency per core:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq - Monitor the cores frequency:
watch -n 1 "grep 'cpu MHz' /proc/cpuinfo"