At first install kernel-tools (provides cpupower tool):
dnf install kernel-tools
Get current CPU governor:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
List available CPU governors:
cpupower frequency-info --governors
Get current CPU frequency:
cpupower frequency-info
or
lscpu | grep "CPU MHz"
Set performance governor:
cpupower frequency-set --governor performance
Set powersave governor:
cpupower frequency-set --governor powersave
Kernel documentation: CPUFreq Governors