[HowTo] Perfomance Tune Dedicated Server

Advertise with us


Welcome!
Join this incredible group of like-minded people and start discussing everything IPTV.
Register now

Jeisonmarqiez

Member
Apr 24, 2022
65
21
Villavicencio
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:
do apt-get install cpufrequtils

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:

ufreq-info

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:

ch -n1 "lscpu | grep MHz | awk '{print $1}'";

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:
do bash -c 'for i in {0..15}; do cpufreq-set -c $i -g performance; done'

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.
ufreq-info

Done
 
Last edited by a moderator:
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock