SRCDS Steam group


Linux Server lag and fps drops, help me please :(
#1
One of my friends has a computer that has Linux inside it.This computer has core i5 processor @ 2.8 Ghz and 4GB ram.He run a srcds at full rate settings (bandwidth is plenty,100mbps) and when the server is empty , it has stable 250 fps.
BUT when I fill the server with bots (32/32) , then the CPU usage goes from 1% to 99% and the server seriously lag with huge fps drops.The same happens when there are some real clients inside,(no bots)as you can see from the following fps test:


http://www.fpsmeter.org/p,view;119025.html



I tried testing the server to my own computer , which has also got same core i5 processor and same 4gb ram , but WINDOWS 7 OS, and the result was epic!!! Not even a single fps drop, when the server was full of 32 bots!!! (the updaterate didn't even drop below 63/s in every restart of the round!!! [net_graph 1]).Also,his fps was always around 500-900 without ever dropping below that.Also,the cpu usage was only 8-15%

So my big question is, WHAT'S going on here?
Why this big performance difference between his computer and mine?Why the bots(or many players) at my friends pc are chewing lots of cpu,although there are no fps drops at mine? Is there a fix possible because i know lots of linux servers having no fps drop problems at all.Or my friend must set something special in order to work?Please I really need your help because both pcs have same ram and cpu power.

P.S. My friend is currently offline, so when he will be back , i will give more information about his system (in case cpu and ram definition are not enough)

Reply
#2
(03-19-2011, 11:40 AM)bob7 Wrote:  One of my friends has a computer that has Linux inside it.This computer has core i5 processor @ 2.8 Ghz and 4GB ram.He run a srcds at full rate settings (bandwidth is plenty,100mbps) and when the server is empty , it has stable 250 fps.
BUT when I fill the server with bots (32/32) , then the CPU usage goes from 1% to 99% and the server seriously lag with huge fps drops.The same happens when there are some real clients inside,(no bots)as you can see from the following fps test:


http://www.fpsmeter.org/p,view;119025.html



I tried testing the server to my own computer , which has also got same core i5 processor and same 4gb ram , but WINDOWS 7 OS, and the result was epic!!! Not even a single fps drop, when the server was full of 32 bots!!! (the updaterate didn't even drop below 63/s in every restart of the round!!! [net_graph 1]).Also,his fps was always around 500-900 without ever dropping below that.Also,the cpu usage was only 8-15%

So my big question is, WHAT'S going on here?
Why this big performance difference between his computer and mine?Why the bots(or many players) at my friends pc are chewing lots of cpu,although there are no fps drops at mine? Is there a fix possible because i know lots of linux servers having no fps drop problems at all.Or my friend must set something special in order to work?Please I really need your help because both pcs have same ram and cpu power.

P.S. My friend is currently offline, so when he will be back , i will give more information about his system (in case cpu and ram definition are not enough)
hi ther,
Did you tried to reinstall the server?
Some new mod's you forgot to mantion were added to the server lately?

If you asking me, I realy dont thing this issue is OS related,
Try to reinstall the server, or even install another server just to check
if this cpu problem appear ther too.

P.S: if you need any help installing the server let me know, I will be more then happy to assist you.
Reply
#3
bots are in no way any test for a good server. bots simply use the cpu completely different than human players. as Windows and Linux are very different OS and also srcds is different on both systems, it is quite natural that you get completely different results.

please keep in mind: bots stress the cpu a lot, but the go around the net engine. you simply should never ever use bots to test a game server instead of real players.

additionally, Linux quite often needs some optimizations to run optimal for game servers. often it is better with but worse without optimizations than Windows (in windows you can do very little...). so maybe your friend has made a bad/unlucky choice w.r.t the Linux distribution or so (like CentOS, which usually comes with very stable but old kernels that are not suited to run a game server). I can not tell you any more details as I have too little information about what the situation is on his server.

also make sure the server doesn't has any plugins, some are known to produce very bad fps drops...
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
#4
(03-19-2011, 09:22 PM)BehaartesEtwas Wrote:  also make sure the server doesn't has any plugins, some are known to produce very bad fps drops...

My friend hosts also a private server with zblock and pma only , we set its maxplayers to 32 and do the same test.It was lagging like hell even without mods.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)