Jump to content
CS:S Server Update: Progress, Current Status, and What’s Next ×

Optimizing CPU Frequency for Your Counter-Strike Server with cpufrequtils on Ubuntu 🚀


Recommended Posts

  • Technical Administrator

When hosting a game server, especially one as demanding as Counter-Strike with a high player count like NiDE, it's crucial to ensure your server is running at peak performance. Some hosting providers, like OVH, might sometimes limit the CPU frequency for energy-saving reasons 🤌🐀. While this is beneficial from a power consumption standpoint, it can impact your server's performance.

Fortunately, tools like cpufrequtils exist, allowing you to monitor and manage your CPU's frequency. Let's dive into how to install and use it on Ubuntu.

 

System Update 🔄

It's always wise to start by updating your system to ensure compatibility and security:

sudo apt update
sudo apt upgrade

 

Installation of cpufrequtils 📦

After updating your system, proceed with the installation of cpufrequtils:

sudo apt install cpufrequtils

 

Using cpufrequtils ⚙️

Here are some steps to get you familiar with the tool:

 

Displaying CPU frequency information:

cpufreq-info

 

Configuring the frequency for optimal performance:

sudo cpufreq-set -c 0 -g performance

 

Note: -c 0 refers to the first CPU core. Adjust this number based on which core you wish to configure. see

cat /proc/cpuinfo |grep processor

 

Gets the currently used cpufreq policy:

cpufreq-info -p

 

Understanding performance vs. powersave 🤔

When managing your CPU frequency with cpufrequtils, you'll come across different policies that dictate how your CPU behaves. Two of the most commonly used policies are performance and powersave. Let's break them down:

  • Performance 🚀:
    • As the name suggests, the performance policy makes your CPU run at its maximum frequency. This ensures that you're getting the best possible performance out of your processor.
    • Use Case: This policy is especially beneficial when your server is hosting a full 64-player ZE and every millisecond counts. You'll want all the processing power you can muster to ensure smooth gameplay.
       
  • Powersave 🍃:
    • The powersave policy, on the other hand, is all about conserving energy. It adjusts the CPU frequency down to its lowest setting, which in turn reduces power consumption and heat generation.
    • Use Case: If your server is idling or performing less intensive tasks, the powersave mode can be a great way to reduce energy costs and prolong the life of your hardware.
  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Posts

    • You say you don't know the map yet, but why did you stare at them for 1 second and then you said "I think that you can doorhug? yeah doorhug!" and kept staring and watching them die bc of the explosion in the clip. if you don't know the map why didn't you doorhug with them and die? in my thinking that you are an admin, either say something you are 90-100% sure about it or not talking at all. that's only for the missleading for the shit talking idk, you are an admin you shouldn't be like that at the first place. Also, who is "Maxime"?
    • Hi Maxime, I hope you're doing well. As for the part about me, I don't know that map very well since I don't play it much. I honestly didn't know that the door would explode and kill players. I know there's a laser that appears at a certain level (not the first one of course) and that's about it. I don't think anyone was leading the map at the time, so I took the lead but now that I think about it, I realize I shouldn't have. Sorry for the inconvenience.
    • 1: My ingame name: MaxingKing. 2: My SteamID: https://steamcommunity.com/profiles/76561199206617356/ 3: Name of the player(s) involved: Mobile Task Force Leader Gunner , Harraga 4: SteamID of the player(s) involved: https://steamcommunity.com/profiles/76561198110218293 , https://steamcommunity.com/id/harraga 5: What server did it happen on: NIDE ZE 6: Map: ze_simpsons_escape_extreme_v2_2.bz2 7: Time and date: 07.05.2025 @ 15:27 8: Explanation of the situation: They started to shit talk when I told people to vote simpsons on winter bash (They were already voting for it before I speak) and when the map is changed to simpsons they started to soft inflating like : Mobile Task Force Leader Gunner:         1-  spamming every 2-5 minutes on voice chat to rtv         2- shit talk whenever he feel like it for no reason and ruining everyone's experience         3- taking Ned (heal item) and starts to troll with it like standing in the middle of zombies when it wasn't last round or the round is over (failed) Harraga: he told people to door hug at the explosive market gate part despite that he knows very clearly that it is going to trim the team and lose bunch of players for free. 9: Proof:  Demos:   winter bash and simpsons  07.05.2025 @ 15:27 https://streamable.com/2n4ss9 https://streamable.com/qsi1jf I think it is self explanatory now P.S: I know my editing is amazing no need to mention that :3
    • Hello Lackin, I  will to agree with @ CrazyChris  At moment  i will stay Neutral Good luck wiht Yours application
    • Thank you for taking your time out of your day to read my application and replying to it. I understand your concerns as you don’t know me personally on a deeper level and I don’t blame you, you haven’t played with me that much. However, I believe that’s why there is a trial period before achieving admin and it’s there for me to my prove myself and show my character to the staff team but also for the community.
  • LATEST TOPICS

×
×
  • Create New...