HowTo How To Edit CPU Performance Mode to use all cores on Xtream UI LBs
Note: This only works with dedicated servers and not the cloudbased servers purchased for LB Use.
Start off by opening a fresh instance of the terminal on the desired load balancer server and run:
This installs the cpu freq tools we will be using to set the governor to performance mode. But before we do that, run the following command in the terminal:
This should render information about your CPU, look for the governor settings line and make sure it's not already set to "performance". Usually Ubuntu and other Debian distros sets the governor to "ondemand", so that is what you should be seeing here.
Next off, open another terminal instance (keep your previous open) and run the following command:
This will render your current CPU min, max and current frequency. If you want you can try running a game or larger video to see it go up and down, but overall trying to stay closer to the minimum frequency than the maximum. This is due to the governor beeing set to "ondemand", which is trying to save power and generate less heat.
Let's crank up the performance. Run the following in your first terminal instance:
NOTICE! Make sure you set the number 11 to the amount of cores your CPU has minus one (since the count starts at 0). In my case I run a 12 core Ryzen CPU, therefore I need to set it to 11. If you have an 8 core CPU, you set it to 7 and so on. Then hit enter to run the script.
Done
Start off by opening a fresh instance of the terminal on the desired load balancer server and run:
This installs the cpu freq tools we will be using to set the governor to performance mode. But before we do that, run the following command in the terminal:
This should render information about your CPU, look for the governor settings line and make sure it's not already set to "performance". Usually Ubuntu and other Debian distros sets the governor to "ondemand", so that is what you should be seeing here.
Next off, open another terminal instance (keep your previous open) and run the following command:
This will render your current CPU min, max and current frequency. If you want you can try running a game or larger video to see it go up and down, but overall trying to stay closer to the minimum frequency than the maximum. This is due to the governor beeing set to "ondemand", which is trying to save power and generate less heat.
Let's crank up the performance. Run the following in your first terminal instance:
NOTICE! Make sure you set the number 11 to the amount of cores your CPU has minus one (since the count starts at 0). In my case I run a 12 core Ryzen CPU, therefore I need to set it to 11. If you have an 8 core CPU, you set it to 7 and so on. Then hit enter to run the script.
Done
Last edited:
Relate Threads