Looks like the new CentOS replacement is hitting the road running! Hopefully will get to take it for a test drive soon and see how it plays. If you haven’t been to Arstechnica, what is wrong with you?! You need that in your life!
Tag: linux
Looks like the new 5.11 linux kernel has been released! Look at the article below for more information!
Linux Kernel 5.11 Released With Support for Wi-Fi 6E, RTX ‘Ampere’ GPUs, Intel Iris Xe and More
We need more power from the warp core! Captain, I’m givin her all she’s got! Ran across something interesting. Something that I should have thought of before but for some reason, I did not. Windows default power management usually is set for balance even on servers. Didn’t think about it being something similar on Linux distros. It appears that is the case! So…… What I found in an issue with some lag and latency, is that Ubuntu and some other distros use ondemand as a CPU scaling governor as the default power scheme. There are a lot of write-ups on the various scaling governor settings available, so I won’t go into all of those. I will show how to set it to performance. I found that CentOS has this as well, but I am working on how to get it set to performance and will add that here as soon as I get the howto on that. This becomes applicable for your Linux VDI that you could be supporting in your Citrix VDI environment and could run into audio issues or are experience lag with multi-core systems.
So here is the way to set the scaling governor to performance on Ubuntu systems. There are two ways depending on if you are running older than 18.04 or newer than 18.04.
For 18.04 Ubuntu and newer:
Open console and type “cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor” to see what it is set to. If it is set to “ondeman,” it is governing the procs. To change to “performance,” type “echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor.” To confirm the change, type “cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor” to make sure it is showing performance.
For earlier than 18.04 Ubuntu: (from https://itectec.com/ubuntu/ubuntu-how-to-set-performance-instead-of-powersave-as-default/)
Open nano or vi and edit /etc/rc.local
and insert these lines before the last line containing exit 0
:
sleep 120 # Give CPU startup routines time to settle.
cpupower frequency-set --governor performance
Happy computing with thy VDI! I’ll post the change for CentOS / RedHat when I have the settings available!