Help - Search - Members - Calendar
Full Version: 100 tickrate CS:S Server
The Planet Forums > System Administration > Game Hosting
airiox
I cant get my server to go to full 100 tickrate. I put -tickrate 100 into the cmd line but I am still only getting around an update rate between 50-60. My box isnt even in the slightest bit overloaded, does anyone have any suggestions on how I can get this thing boosted to 100 tickrate properly? Thanks.
N2DEEP
Yeh, I am having the same issue. I get:

(via Net_graph 3 on my client side, which would be opposite for server)
In: 65-66
Out: 100

I am running the CAL config, and it does the same for my pub server and our clan server. It runs well, just not at full speed.

I of course have the -tickrate 100 in my parameters.
klaude
airiox: what's the full command line to start your server?
ECF
Are you sure that your rates are set properly on the clientside?

Interesting stuff from Valve regarding tickrates etc...

http://www.valve-erc.com/srcsdk/general/mu...networking.html
Defiance
Tickrate doesn't work on Windows if I recall correctly. What OS you useing?
airiox
-tickrate 100 is the command line. I dont know if its a server issue or not it may just be a Valve/Source issue.

http://www.steampowered.com/index.php?area=news&id=430

As you can see they fixed a few tickrate issues with this new update. So when I restarted my server. Instead of the 60 or so out that it was yesterday, it was at the full 100 constantly, but was only at 50 in. So this new update fixed half the issue. I might just have to wait for another update. :/

I am also using redhat on a dual xeon box if thats any help.
N2DEEP
I am still at the same standstill 100 out 65 in.

Yes tickrate does work on Windows servers.

Is anyone getting 100/100 on a servermatrix box for CSS?
N2DEEP
To get it true 100 tic, I found that you have to have the -tickrate 100 command line variable, but you also must run the srcdsfpsboost.exe. Or you can run Windows Media player in the background. Apparently the programs adjust some type a frequency clock, and it gets the server up to a full 100 IN, and 100 Out.

Best of luck.
ECF
QUOTE (N2DEEP)
To get it true 100 tic, I found that you have to have the -tickrate 100 command line variable, but you also must run the srcdsfpsboost.exe. Or you can run Windows Media player in the background. Apparently the programs adjust some type a frequency clock, and it gets the server up to a full 100 IN, and 100 Out.

Best of luck.


Running Media player adjusts the windows multimedia timer. I didn't know this was also needed for source. I have only heard about it being used in HL1.
klaude
We've noted a slight boost when running the multimedia timer in srcds, although not as big as the performance boost in hlds. If you use Cortex hit your System Configuration page and make sure the high-resolution timer checkbox is checked. That will make sure the multimedia timer is peing pinged on your system so you don't have to run WMP or Flash in the backgrond.
N2DEEP
They say if the timer is not adjusted, then it will never be over a 66 tic server. Runs very well now!!
DeadTed
So this helps HL1 servers if you just lauch media player with no file and let it idle in the background ?
icon_rolleyes.gif
ECF
QUOTE (DeadTed)
So this helps HL1 servers if you just lauch media player with no file and let it idle in the background ?  
icon_rolleyes.gif


Yup, or you can open your browser and goto macromedia.com, and leave it open.
airiox
QUOTE (klaude)
We've noted a slight boost when running the multimedia timer in srcds, although not as big as the performance boost in hlds. If you use Cortex hit your System Configuration page and make sure the high-resolution timer checkbox is checked. That will make sure the multimedia timer is peing pinged on your system so you don't have to run WMP or Flash in the backgrond.


Where do I find this button? or is this only a windows solution?

Here is what I see on the System Configuration page

klaude
QUOTE (airiox)
Where do I find this button? or is this only a windows solution?

Here is what I see on the System Configuration page


Correctamundo. Linux admins don't need to worry about this. icon_smile.gif
DeadTed
What is the obsession with 100 tic servers lately ? This is not a new requirement for CAL is it ?

icon_rolleyes.gif
ECF
All CAL clans want em. Properly configured they do run better than the stock tick servers.
DeadTed
Anyone have stats on CPU usage on 100 tic servers ?

I heard the CPU usage can nearly triple when locked at 100 tic icon_rolleyes.gif
klaude
Thats the idea. Game uses more CPU and makes the server a hair's width more responsive.
airiox
so is their any fix for us Linux people?
ECF
Linux does not require this work around. it is good to go as is.
Guspaz
CS:Source runs at, IIRC, 33hz by default. Assuming you set the server to send out packets at 33hz, and compare that to a server running at and sending packets at 100hz, the different has to do with the granularity of motion.

HL1/HL2 interpolate movement over the last 100ms by default (cl_interp 0.1), which delays the visible game world by 100ms in order to have at least two data points to interpolate between for movement. The hardcore gamers turn this down, or off, so that movement is not interpolated at all.

By turning it off, instead of the other player models moving about smoothly, the player sees the player models moving about at 33FPS, the rate at which they are receiving packets. And with interpolation off, any single packet being lost causes no problem, because the game still has at least two datapoints in the last 100ms to interpolate between. But with it turned off, any lost packet will cause the player models not to move for that missing packet.

So, to compensate, they crank up the server tickrate from 33hz to 100hz. This means the server can send out packets 100 times per second (And use up three times the CPU power and three times the bandwidth). This way, instead of there being 30ms between packets, there are only 10ms between packets. The player models move at 100FPS, and packet loss only causes 20ms of delay instead of 60ms.

It is important to realize that for the vast majority of gamers, the 100ms of interpolation is a very good thing and should not be turned off. The server knows how much interpolation a given client has, and so it takes that into account with it's latency correction calculations. That is to say, the server knows you are delayed 100ms and adjusts so that you can still shoot where you see the other players. So there is no disadvantage.
DeadTed
I'll ask my question again, maybe someone can answer it....

Anyone have stats on CPU usage on 100 tic servers ?

I heard the CPU usage can nearly triple when locked at 100 tic


Thank you for info icon_rolleyes.gif
airiox
w/e I just did an OS reload to Windows 2003 last night so now the 100tic works flawlessly.

100tic used to take up a ton of resources before one of the more recent CS:S update and now it doesnt cause as big of hit on your server.

I am running 2 100tic servers soon to be 3 plus 2 50-66 ticrate servers and still have room. when all is full there would be 42 100 tic slots, and 46 50 tic slots on our server.
DeadTed
Thanks for sharing your info icon_cool.gif
ECF
QUOTE (DeadTed)
I'll ask my question again, maybe someone can answer it....

Anyone have stats on CPU usage on 100 tic servers ?

I heard the CPU usage can nearly triple when locked at 100 tic


Thank you for info icon_rolleyes.gif


If you can fill this server up with players, I can give you some graphs from our reporting system on usage Ted.

64.242.242.4:27015
thoughae
QUOTE (ECF)
Linux does not require this work around. it is good to go as is.


I must be doing something wrong then, I can't get my servers on RHE3 to run at a full 100. They only stay at 50 or below...
I have Dual Xeon 2.4Ghz
4gig Ram
2 80gig HDs
100 Mbit Uplink
There should be no reason why none of my servers get 100/100.

My command line to execute a Source Server is:
screen -A -m -d -S CSS-Server ./srcds_run -game cstrike +map de_dust2 +maxplayers 20 +ip <ip addy> -port 27015 -tickrate 100 +fps_max 600 -heapsize 2048000

Also I've tried this command without fps_max & heapsize.. and I still get the same issue...
If anyone could give me some tips or point me in the right direction I'd appreciate it.
Thanks!!
ECF
QUOTE (thoughae)
QUOTE (ECF)
Linux does not require this work around. it is good to go as is.


I must be doing something wrong then, I can't get my servers on RHE3 to run at a full 100. They only stay at 50 or below...
I have Dual Xeon 2.4Ghz
4gig Ram
2 80gig HDs
100 Mbit Uplink
There should be no reason why none of my servers get 100/100.

My command line to execute a Source Server is:
screen -A -m -d -S CSS-Server ./srcds_run -game cstrike +map de_dust2 +maxplayers 20 +ip <ip addy> -port 27015 -tickrate 100 +fps_max 600 -heapsize 2048000

Also I've tried this command without fps_max & heapsize.. and I still get the same issue...
If anyone could give me some tips or point me in the right direction I'd appreciate it.
Thanks!!


I was simply quoting what Klaude had posted back in the thread.

QUOTE
Correctamundo. Linux admins don't need to worry about this.  


Personally we run windows only. So I have no clue why a nix game would not be fine with it.
klaude
I was referring about the need to mess with multimedia timers in Linux. Linux users don't have to do that. icon_smile.gif
ECF
Ahh, perhaps valve has changed something once again with it. They seem to like changing the game query every update now icon_confused.gif
thoughae
Ahh ok, so then I should just have them install Windows instead LOL
Is anyone with *nix CS:Source servers running into this problem??
Know a fix??

I'm stumped!
rabbit994
QUOTE (thoughae)
Ahh ok,  so then I should just have them install Windows instead LOL
Is anyone with *nix CS:Source servers  running into this problem??
Know a fix??

I'm stumped!


Sounds like an excellent idea to me. Come over to Windows side, our chicks are hotter. icon_razz.gif
killahtekk
umm this is easy, has NOTHING to do with either a linux or windows os
go to your server.cfg
add to the end
// bandwidth rates/settings
sv_minrate 10000
sv_maxrate 30000
decalfrequency 10
sv_maxupdaterate 101
sv_minupdaterate 35
sv_MinCmdRate 35
sv_MaxCmdRate 101

BAM, restart your server, and its 100 tick make sure your client rates are:
cl_updaterate 101
cl_cmdrate 101
rate 30000

that is just makes hte most of 100 tick and you guys should be getting <5 loss if you have a ping of <20
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.