SRCDS Steam group


Server FPS much lower than it should be
#1
Server OS: Fedora 12 32-bit
Processor: Intel Xeon E5430 (X3353), 4 x 2.66GHz, 12MB L2 Cache, 1333MHz FSB
Ram: 4 GB
Game(s): TF2
Start Up Command: ./srcds_run -game tf -timeout 30 -console +ip 81.19.212.48 -port 27017 +maxplayers 32 +fps_max 600 -heapsize 524288 +exec server3.cfg +map cp_dustbowl +motdfile motd3.txt +mapcyclefile mapcycle3.txt -secure
Admin Mods: Metamod, Sourcemod


Even with just a single SRCDS running and nothing else at all, once it fills the FPS plummets to around 60, and there is noticeable ingame lag.
The same thing occurs on a stock (no mods, all defaults) 32-slot 33 tick CS:S server, albeit filled with bots.

Consider this is a freshly installed copy of Fedora, are there any steps I could take to try and improve things short of compiling a new kernel, or switching distro?
Reply
#2
first, stop using bots for your tests. 32 bots on a server will always produce severe lags, even very recent cpus are too slow for this. on the other hand, bots do not make use of the net engine, so they don't even present a usefull test for your server setup.

then, if you want to optimize your kernel, see the howto linked in my signature.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#3
Like I said, the bots were only on CSS.

I'll have a go at optimizing the kernel though
Reply
#4
Bots can severely kill a server's performance if they do not have waypoints or their equivalents for the map in question. I remember there being quite a significant gulf in performance for HPB Bot when it was running on a waypoint-enabled map like well or casbah, and custom maps that did not have them.

That said even without that consideration, bots can significantly bloat the amount of system resources needed for a server because you are not only simply responding to user movements, it is also requiring the server to perform complex artificial intelligence algorithms with each and every decision the bot makes, and each bot is making several decisions every second.

When I ran TFC and old CS 1.4 servers, I usually limit the amount of bots to half the server's maximum player size, because anything larger gets unweildly fast, even on machines well above what is required to run a normal dedicated server for Half Life games.
Reply
#5
Forget what I said about bots Toungue

Also it doesn't matter any more - the problem seems to have disappeared after a reboot.
Reply
#6
Chances are if it disappeared on a reboot, then you had another process taking up system resources which naturally would make other processes such as HLDS/SRCDS run more slowly.

In the future you can use PS X as root or TOP also as root to see what processes are taking up system resources. If you have WHM slash Cpanel, you can just go into the system information screen as well.
Reply
#7
(04-21-2010, 01:44 AM)Darkimmortal Wrote:  Server OS: Fedora 12 32-bit
Processor: Intel Xeon E5430 (X3353), 4 x 2.66GHz, 12MB L2 Cache, 1333MHz FSB
Ram: 4 GB
Game(s): TF2
Start Up Command: ./srcds_run -game tf -timeout 30 -console +ip 81.19.212.48 -port 27017 +maxplayers 32 +fps_max 600 -heapsize 524288 +exec server3.cfg +map cp_dustbowl +motdfile motd3.txt +mapcyclefile mapcycle3.txt -secure
Admin Mods: Metamod, Sourcemod


Even with just a single SRCDS running and nothing else at all, once it fills the FPS plummets to around 60, and there is noticeable ingame lag.
The same thing occurs on a stock (no mods, all defaults) 32-slot 33 tick CS:S server, albeit filled with bots.

Consider this is a freshly installed copy of Fedora, are there any steps I could take to try and improve things short of compiling a new kernel, or switching distro?
how did u get the - ip{external} to work?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)