That's probably caused by different CPU frequency scaling setting in different OS. Use below steps/command to check and modify the scaling governor in Linux OS.
- Checked the scaling_governor; to check if it’s set to performance mode.
- cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
- performance /* performance would be shown if it's set to performance; other modes are ondemand, powersave...etc */
- Check the CPU frequency by using the command below, would see the frequency of CPU0 was kept at 2.3G with 2.3G sku EPYC
- cat /proc/cpuinfo | grep MHz | more
- cpu MHz :2300.000
- cpu MHz : 2300.000
- Edit the scaling governor as below. (You can change it to either ondemand or powersave) You will see the frequency of cpu0 was down to 1.2Ghz.
- vi /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor /* Then to edit the governor from performance to powersave */
- cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
- powersave
- cat /proc/cpuinfo | grep MHz | more
- cpu MHz : 1200.000
- cpu MHz : 2300.000