Symptoms:
- Virtual machines running Linux Kernel version 5.13 show an increase in CPU and network performance.
- In guest OS tuned logs located at /var/log/tuned/tuned.log, you will see similar entries that is related to those tunable settings (sched_min_granularity_ns and sched_wakeup_granularity).
2021-08-02 04:43:04,771 ERROR tuned.plugins.plugin_cpu: Failed to set energy_perf_bias on cpu 'cpu7'. Is the value in the profile correct?
2021-08-02 04:43:04,774 ERROR tuned.plugins.plugin_cpu: Failed to set energy_perf_bias on cpu 'cpu2'. Is the value in the profile correct?
2021-08-02 04:43:04,778 ERROR tuned.plugins.plugin_cpu: Failed to set energy_perf_bias on cpu 'cpu4'. Is the value in the profile correct?
2021-08-02 04:43:04,781 ERROR tuned.plugins.plugin_cpu: Failed to set energy_perf_bias on cpu 'cpu5'. Is the value in the profile correct?
2021-08-02 04:43:04,784 ERROR tuned.plugins.plugin_cpu: Failed to set energy_perf_bias on cpu 'cpu3'. Is the value in the profile correct?
2021-08-02 04:43:04,788 ERROR tuned.plugins.plugin_cpu: Failed to set energy_perf_bias on cpu 'cpu0'. Is the value in the profile correct?
2021-08-02 04:43:04,791 ERROR tuned.plugins.plugin_cpu: Failed to set energy_perf_bias on cpu 'cpu6'. Is the value in the profile correct?
2021-08-02 04:43:04,794 ERROR tuned.plugins.plugin_cpu: Failed to set energy_perf_bias on cpu 'cpu1'. Is the value in the profile correct?
2021-08-02 04:43:04,795 ERROR tuned.plugins.plugin_sysctl: Failed to read sysctl parameter 'kernel.sched_min_granularity_ns', the parameter does not exist
2021-08-02 04:43:04,795 ERROR tuned.plugins.plugin_sysctl: sysctl option kernel.sched_min_granularity_ns will not be set, failed to read the original value.
2021-08-02 04:43:04,795 ERROR tuned.plugins.plugin_sysctl: Failed to read sysctl parameter 'kernel.sched_wakeup_granularity_ns', the parameter does not exist
2021-08-02 04:43:04,795 ERROR tuned.plugins.plugin_sysctl: sysctl option kernel.sched_wakeup_granularity_ns will not be set, failed to read the original value.
2021-08-02 04:43:04,795 INFO tuned.plugins.plugin_sysctl: reapplying system sysctl
2021-08-02 04:43:04,796 INFO tuned.daemon.daemon: static tuning from profile 'virtual-guest' applied
- You will see the below details where the default 'tuned' profile is different ('throughput-performance') and the value(15ms) of 'sched_wakeup_granularity' is used.
cat /etc/redhat-release Red Hat Enterprise Linux release 8.1 (Ootpa)
#
tuned-adm active Current active profile: throughput-performance
#
cat /proc/sys/kernel/sched_wakeup_granularity_ns 15000000
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Disclaimer: VMware is not responsible for the reliability of any data, opinions, advice, or statements made on third-party websites. Inclusion of such links does not imply that VMware endorses, recommends or accepts any responsibility for the content of such sites