Server Tickrate
douchebagatron
Custom member title Join Date: 2003-12-20 Member: 24581Members, Constellation, Reinforced - Shadow
<div class="IPBDescription">What is it, and why it doesn't love us</div>I see some people asking what server tickrate is, so I figured I'd create this little discussion to clarify that.
Server tickrate is the number of updates the server makes per second. Think of it is FPS for the server, which means if the server has a low tickrate, it's similar to the situation when all players on that server have an incredibly low FPS (in a way).
I say in a way, because on your personal machine, the game looks more or less fine, except you'll see some player warping and you can't seem to hit things. These are the same symptoms of a laggy game. but generally a bit worse.
but!
This has nothing to do with the netcode, and everything to do with how much the server is trying to calculate. Build 179 made a huge improvement to tickrate. Previously a top-end server would go down to 4-5 updates per second towards the end of a long game, now I'm seeing those same servers stick around 12 updates per second. Still not great, but much better.
You can see the tickrate by typing "net_stats" in the console (hit ~ to get to the console)
If you're not enjoying the game due to this, check out the tickrate. Maybe you're on a lower-ended server, and you can try to find a better one.
This is probably NS2's biggest current issue, and the devs are actively working on it.
Server tickrate is the number of updates the server makes per second. Think of it is FPS for the server, which means if the server has a low tickrate, it's similar to the situation when all players on that server have an incredibly low FPS (in a way).
I say in a way, because on your personal machine, the game looks more or less fine, except you'll see some player warping and you can't seem to hit things. These are the same symptoms of a laggy game. but generally a bit worse.
but!
This has nothing to do with the netcode, and everything to do with how much the server is trying to calculate. Build 179 made a huge improvement to tickrate. Previously a top-end server would go down to 4-5 updates per second towards the end of a long game, now I'm seeing those same servers stick around 12 updates per second. Still not great, but much better.
You can see the tickrate by typing "net_stats" in the console (hit ~ to get to the console)
If you're not enjoying the game due to this, check out the tickrate. Maybe you're on a lower-ended server, and you can try to find a better one.
This is probably NS2's biggest current issue, and the devs are actively working on it.
Comments
Although I wouldn't tell people they're on a "lower ended" server though, especially as those servers can probably play other modern games fine. The fault here isn't the server but the software. Although having an awesome hugely expensive dedicated setup will make this game seem playable and improve the tick rate, we shouldn't go discouraging people saying "Ah your server is crap! Get a better one!" when it's more than likely that the server will be fine when the server side software gets sorted out some day.
In addition, to open console with an azerty keyboard -> hit <a href="http://pix.wefrag.com/i/8/5/4/5/a/33768a59cf2741947cef6ec62d45d3dc.jpg" target="_blank">²</a> button.
100% / 4 cores = 25% (and a little more than that since NS2 server does a little threading on things)
Your server is maxed out. Yes, its due to the software. Yes, better hardware would help you. No, you shouldnt upgrade your server for a server software that is still in beta (alpha).
It seems but that's it. Your OS scheduler probably keeps moving NS2 server from core to core all the time and that's why you get "distributed" usage. Set affinity to lock it to single core. Remember that the amount of CPU time used is no measure at all if you're not comparing similar quality like tickrate stable at 10, 20 or 30 also under load of 10/20 players.
1<b>7</b>9, just sayin' :P
Ah, it has been correctified
Thank you for taking the time to explain this to everyone.