SRCDS Steam group


Ubuntu 7.10 Server is lagging - Windows runs fine
#1
Hi folks !

I have a strange problem running a 10-Slot CS:S Server. There are no plugins installed, it's just a pure Gameserver Smile

Code:
Machine specs:

- Core2Duo 2x2.66 GHz
- 4 GB DDRII-800 RAM
- 250 GB S-ATA HD 7200rpm 16MB cache
- internetconnection 30mbit down/2mbit up

CS:S serversettings:

- tickrate 66 or 100
- fps_max 600 or 300
- sv_maxrate 20000
- sv_maxupdaterate 66 or 100
- sv_maxcmdrate 66 or 100
- sv_unlag 1
- standard values for other settings

My problem is that the server is just running fine if I host it on WindowsXP (32-bit), even if the server is full.
When the server is running on Ubuntu 7.10 (32-bit or 64-bit, it doesn't matter), the people on it complain about lags, even if there are only 2 players on the server...
I just don't get it, what could be the problem ?

Edit:

I wanted to add that I also tried the RT-Kernel (1000Hz) for Ubuntu, the problems were the same.
Reply
#2
whats the server fps at?
Reply
#3
The server-fps are always between 420 and 500.
Reply
#4
The small upload speed of 2mb/s could cause you problems later on. You have a great spec, it's a shame about the upstream.
Reply
#5
Eh 2 megabit can hold 50 33 tickrate slots. He will be fine. What type of lag?
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#6
I know that the upload is not optimal for a gameserver but it's for sure enough for 8-10 slots. As I said before, it runs just perfect on WinXP.

What type of lag ?
The movement is very strange from time to time. I can't really describe it, sometimes you get stuck and some ms later, you find yourself at a different position.
Reply
#7
Is there any other things that happen? high ping or anything? Also does it happen constantly or only when a certian # of players join?
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#8
No, the Ping seems to be stable. It doesn't happen constantly, it can run fine for 5 minutes and then the problem appears.
The number of players is not the problem, too. Yesterday, ONE player was on the server, his ping was about 25 and he was complaining about a strange gameplay feeling. I asked him to rejoin the server in a couple of minutes, I started the server on Windows and he said that it's just perfect now...
Reply
#9
Im not very good with linux but how is the CPU during lag? This would be the hard way but you could always try another linux kernel and see what happens.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#10
The logfiles say that CPU usage is ~2-4% during a whole day. I won't try another Kernel, that's too much for me Wink
I think I'll kick Ubuntu and install CentOS, if this isn't a solution, I will stay with WinXP.
Reply
#11
CentOS? not my style, i prefer Debian Big Grin (runs gameservers very smoothly as it is minimalistic)
Please post the output of the following commands:
~ps aux
~htop (to install it: apt-get install htop)

Does your server do anything strange while the lag happens (eg high hard disk usage etc)
Please open htop in the shell and wait for a lag.
During that time check: cpu load, system load, running processes and memory usage

If u told me linux runs fine but linux lags that would have been the usual thing, but the other way round???
Q: What would an omnipotent computer to?
A: Get rid of humanity!
Reply
#12
I don't think that centos solve your lag problem.
Try to set sv_maxrate 6500.
Reply
#13
I think I had this same problem a while ago. But then I ran SuSE and that lagged like crap.
Reply
#14
d4f Wrote:i prefer Debian Big Grin (runs gameservers very smoothly as it is minimalistic)

Is Debian minimalistic after installation or do I have to tweak it like hell ? Smile
Do you use a 1000Hz Kernel and what do you think about it ?

nix Wrote:I don't think that centos solve your lag problem.
Try to set sv_maxrate 6500.

I won't because it runs fine on Windows with sv_maxrate 25000 Smile
Reply
#15
Quote:Is Debian minimalistic after installation or do I have to tweak it like hell ?
Depends on how you install it.
Most root server providers only provide a minimalistic image or one of the installation sources is minimalistic.
To setup a minimal debian yourself, just boot from cd, and deselect all packages except the ones needed for networking and ssh.
Any other package can then be installed via apt-get so you will only have the packages you need.

I also recommend using the 1000hz kernel for gaming but do not set the settings too high on your css server -a 1000fps server won't bring you any advantages only lags if you are not running in a high-end datacenter Smile
Q: What would an omnipotent computer to?
A: Get rid of humanity!
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)