SRCDS Steam group


High perf tick100 + fps 1000 srcds linux server!
#1
Hi guys, i really need you on that one!

Hardware spec:

- Dual Xeon 3.0Ghz
- 2G of ram
- Distrib.: FC6 running optimized (hz=1000 and preempt set to no) 2.6.18-1

I have only 1 server running on this machine here the config.:

- CSS latest version with Mani Admin Plugin
- 27 slots (1 hide)
- tick100
- fps_max (tried 1000, 800, 600 and also 200)

Here the server.cfg :

Code:
sv_lan 0
sv_unlag 1
sv_maxunlag .5
sv_voiceenable 1
sv_minrate 2500
sv_maxrate 30000
sv_mincmdrate 30
sv_maxcmdrate 100
sv_minupdaterate 30
sv_maxupdaterate 100
sv_client_predict 1
sv_client_interpolate 1
sv_client_min_interp_ratio 1
sv_client_max_interp_ratio 1
sv_client_cmdrate_difference 30
sv_pure 1
sv_consistency 1

mp_autokick 0
mp_spawnprotectiontime 0
mp_autocrosshair 0
mp_autoteambalance 0
mp_buytime .25
mp_c4timer 35
mp_dynamicpricing 0
mp_fadetoblack 0
mp_flashlight 1
mp_forcecamera 0
mp_footsteps 1
mp_maxrounds 0

mp_freezetime 3
mp_friendlyfire 0
mp_hostagepenalty 0
mp_limitteams 0
mp_winlimit 0
mp_playerid 0
mp_roundtime 3
mp_timelimit 20
mp_tkpunish 0
mp_startmoney 800

sv_airaccelerate 10
sv_allowdownload 1
sv_allowupload 1
sv_downloadurl "url"
sv_alltalk 0
sv_cheats 0
sv_friction 4
sv_gravity 800
sv_maxspeed 320
sv_stepsize 18
sv_stopspeed 75
sv_timeout 65
sv_visiblemaxplayers "26"

mp_allowspectators 1
decalfrequency 60
host_framerate 0
setpause 0
mp_logdetail 3
log on

exec mani_server.cfg
exec mani_quake_sounds.cfg
exec banned_user.cfg
exec banned_ip.cfg
writeid
writeip

If i put fps_max to 1000, i have 1000fps on the "stats" output in console, but it's really really unstable, as soon as somebody join the server, or a kill is made the fps drop to 100 or less ...

The worst part, is at the start of a round where the fps cannot go higher than 60-70 fps ...

When the server is full (27 or 26) the server is running at 70 fps stable ... but can't go higher than that!

I tried EVERYTHING, i'm not a newb in linux administration and not a newb in server administration as well!

So i need your help to debug that server, we are paying a lot for this dedicated server ...

At 27/27, the server CPU load-average is at .75 and the usage is at 20% on one CPU ... so it's really not an hardware problem...

I would really appreciate if any of you would take some minutes to help me ... i'm willing to pay through paypal to the one who'll find the problem!

Thanks a lot![/code]
Reply
#2
Do you use the srcdsfpsbooster?
Reply
#3
This is linux, not windows. Its done via kernel timer frequency.

Take a look at the cpu usage on top when the round starts and everybody has just started moving from spawn. There might be a significant increase then thats causing the problem.

Otherwise, it can only be kernel related. Tried any other kernels?
Reply
#4
ok first of all:

don't run 100 tick on servers more than 18 players, don't run 66 tick on servers more than 32 players

also, 1000FPS is THE most instable thing in source. Even if you finally get it to run 1000fps...It will never work good, best value is between 300-500 (you can achieve this by setting fps_max 700)

If you take all the above in consideration I'm sure a lot of problems will be gone already.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#5
Hi guys,

thanks for your time first!

I have recompiled my kernel with 2.6.21.2 with Timer Resolution User_Hz 1000 and HZ 1000 and nopremt ...

I tried all these settings:

- 100 tick 1000FPS (stable at 1000 for the first 20 players, above that it decrease a lot)
- 100 tick 800FPS (same as for 1000)
- 100 tick 600FPS (same as for 1000)
- 100 tick 200FPS (same as for 1000)

- 66 tick 1000FPS (same)
...

It's really seems to not be something related to the FPS i setup ...

If i check only the CPU% taken by the server, when the round start i go to 96% of one CPU (cuz SRCDS doesnt support doubleCPU ... we are in 2007?)

Can that be the cuz? ...i always checked the total CPU percentage, but one CPU is at 0% while the other is 50-60% while in a normal round ... but once the round start and the players spawn it go to 96% for 6-10 secs ...

The problem is that, my FPS aren't more stable as the round goes ... my CPU% dropped but my FPS stays near 100 ...

If i reboot the server (the srcds not the machine) i go again at 1000 for some minutes, and after some hours i can't passe 100FPS ...

I'll try with 66 ... just to see!
Reply
#6
Yeh, just as i thought. All the movements, physics etc of all the players running/moving/shooting at once on round start really hammers the CPU.

Only way really to get rid of this is to lower the tickrate (like you mentioned) or lower the player limit - otherwise, live with the high cpu usage for the first 6-10 seconds of a round.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)