SRCDS Steam group


CPU usage close to 100 %
#1

Hi, my server seems to use a lot of CPU for running 2 * 20 players DoD:S FFA servers – with 20 players on one server is the CPU load nearly 60% and 2*20 almost 100% CPU usage!

I am using this hardware: AMD64 3200+ with 2 GB DDR RAM and 2x250 GB SATA raid 1 and SUSE 9.3

I don’t use GCC
My Glibc: is ldd (GNU libc) 2.3.4
My kernel is: 2.6.11.4-20a-default #1 Wed Mar 23 21:52:37 UTC 2005 i686 athlon i386 GNU/Linux

My command line is:

screen -A -m -d -S srcds ./srcds_run -game dod +map dod_donner -maxplayers 20 -autoopdate -secure +ip 82.x.x.x -console -heapsize 524288

My questions are: 1) What is the recommended binary to use, 2) any recommendations for optimization?


BR
Null_Bit
Reply
#2
While I cannot help you with your problem, I did notice that the DOD server I ran for the first week DOD came out (at 16 players) used about *35%* more cpu usage than a typical 18 player CS server.

From what I've read, I think what you're seeing is fairly normal.

X
Reply
#3
Completely normal.
Clanplanet.co.uk Gaming Servers
Licensed Ventrilo Host - AA Honor Provider - Great Service & Prices
Reply
#4
Yup, DoD:S is a killer on CPU! A few things I have tried and had some success on reducing CPU usage with DoD:S is as follows:

If you have the bandwidth available this sometimes works, open your server.cfg file and find this line: sv_maxrate 20000 (I believe default is 20000, I could be wrong..). Set this to 30000. I noticed on the majority of my servers this dropped my CPU usage by about 10 to 25%

I have had some success with adjusting the priority level at which the srcds runs at. -20 eats up more CPU, but for some reason -10 reduces the CPU usage by 5 - 10%. Play around with it and find your best settings.

If your not obsessed with the tickrate, or in a league that requires a 66 tick rate, drop it to 33. -tickrate 33 This has dropped CPU usage on some of my servers by almost 50%

18 or less... This is up to you, but in my own experience I have found running a DoD:S server with more then 18 player slots messes things up. Eats up incrediable amounts of CPU. The coding does not seem to be optimized for anything above 18 player slots. I can run two 16 player DoD:S servers using LESS CPU then 1 20 Player slot. Make sense of that.

Using most of these suggestions I manage to keep most of my DoD:S servers running at an average of 18% CPU usage. The highest I have ever seen one go after these changes was 38% and it was full (16 Players)

Good luck and I hope this helps.

Personal Service for Clans & Communities - Fragon.net
Game Servers, Teamspeak, Web Hosting, Dedicated Servers
=== 7 day FREE Trial on ALL Teamspeak servers! ===
=== http://www.fragon.net OR IRC.fragon.net:6667 ===
*** Fragon now has IRC! Join our Network today! ***
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)