SRCDS Steam group


Kernel / Server optimization needed
#1
Hi all,

I need your help to optimize my config:

Here the BASIC INFO:

Server OS:
Debian 64bit / Kernel: 2.6.38.6, .config (OVH base + Fragaholics tweaks (new guide)) 300Hz; patch CK3; BFS on (patch 400 to 401); Tickless System (Dynamic Ticks) off; PREEMPT on; clock source hpet; realtime script on; no idler
Processor: 1 x Intel® Core™2 Quad CPU Q6700 @ 2.66GHz
Ram: 4 GB

Game(s): CS:S
Start Up Command: su serveur27015 -c "screen -AmdS serveur27015 ./srcds_run -game cstrike +maxplayers 22 +map de_dust2 -ip 94.23.225.215 -port 27015 +fps_max 70 -autoupdate -nohltv +exec server.cfg"
Admin Mods: SourceMod, MetaMod

Here is my graph:
http://fpsmeter.org/p,view;125252.html

The peack is a changemap, but it's seem the fps are always flucting.
I've tried with idler it's the same.

Do you have any ideas?
And another question, on http://www.fpsmeter.org/p,view;1.html we can see the fps_max set at 0 and the fps server is 66,7, how it's possible?

Thx for your time.

(Sorry for my bad english, it's not my mother tongue.)
Reply
#2
(05-13-2011, 06:33 PM)pialx Wrote:  Here is my graph:
http://fpsmeter.org/p,view;125252.html

The peack is a changemap, but it's seem the fps are always flucting.
I've tried with idler it's the same.
do you see ingame problems? I could imagine those fluctuations are not problematic...

you might try different kernel patches (e.g. zen), and/or assigning the servers to specific cpus. also try multiple idlers, both with and without assigning them to cpus.

Quote:And another question, on http://www.fpsmeter.org/p,view;1.html we can see the fps_max set at 0 and the fps server is 66,7, how it's possible?
I am using a special timer system that takes control of the fps of my servers. thus it's best to disable any intrinsic fps limits...
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
#3
// Max bandwidth rate allowed on server (0= unlimited max= 20000)
sv_maxrate 8000

// Min bandwidth rate allowed on server (0= unlimited 4000= good for blocking 56k)
sv_minrate 0

// Minimum updates per second (Maximum= 100 increasing this will take more cpu power)
sv minupdaterate 10

// Maximum updates per second (Maximum= 100 increasing this will take more cpu power)
sv_maxupdaterate 60

// Frame rate limiter
fps_max 500

You could try these, ive also heard theres a command for server.cfg that disables physics which could help too.
[Image: rvzo8z.png]
Reply
#4
Quote:sv_maxrate 8000
that is way too low. and 20000 isn't the limit anymore. also all this will not help with fluctuating fps. fps_max 500 is certainly not superior to running with 66.67 fps, on the contrary...
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
#5
(05-15-2011, 06:54 PM)BehaartesEtwas Wrote:  
Quote:sv_maxrate 8000
that is way too low. and 20000 isn't the limit anymore. also all this will not help with fluctuating fps. fps_max 500 is certainly not superior to running with 66.67 fps, on the contrary...

This was just what I found and posted from an older thread. Thanks, ill check my sources next time.
[Image: rvzo8z.png]
Reply
#6
(05-14-2011, 07:01 PM)BehaartesEtwas Wrote:  
(05-13-2011, 06:33 PM)pialx Wrote:  Here is my graph:
http://fpsmeter.org/p,view;125252.html

The peack is a changemap, but it's seem the fps are always flucting.
I've tried with idler it's the same.
do you see ingame problems? I could imagine those fluctuations are not problematic...

you might try different kernel patches (e.g. zen), and/or assigning the servers to specific cpus. also try multiple idlers, both with and without assigning them to cpus.

I've tried the Zen patch, i've used 1 idler per core but nothing change.
Ingame, with the fps_max 70 the fps drop to 64, the lerp go in the yellow. At fps_max 75 fps stay at 66,9~67,2, all seem ok, no lag, chocke, loss, freeze.

I've tried to assign a server to 1 core with the taskset command, but when i do that, on a changemap the CSS server hang (core at 100%), it's only happen with taskset + chrt (fifo).
Reply
#7
I would try finding some fps_max value in between so you get really 66.67 fps on average according to the fps meter. if you are at 67 fps you will have a possible interpolation problem every 10 seconds or so...

unfortunately I have no further ideas regarding your small variations, but if you see no ingame problems like unrecognized hits you can just ignore them.
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
#8
Thx for your reply, there's no ingame problems.

Is it possible to know more about the lib you use to lock the fps?
I see a lib on your wiki, an another on this part of the forum, this lib works good or they are deprecated?
Reply
#9
don't use the lib in the wiki it's for developers only (see the text above the source code).

the lib I am using does not "lock" the fps (I don't know how that is supposed to work), it just uses a better way to do the timing for the fps. if you live in or near Germany I can PM you the name of a hoster that sells servers with a very similar lib.
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
#10
your own company :-D
Reply
#11
BehaartesEtwas why don't you release your lib with some minor things like locked sourcecode etc..? It'd really help the srcds community in my opinion.
Reply
#12
I do not own a company. And I cannot give the lib away, sorry.
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
#13
Ok. Anyways, i've got a suggestion for your wiki, at the bottom, add a few tips on how to make the FPS stable on shit hardware. Because on my Core2Duo i can't get it stable whatever i do. It bumps alot from 66.2 to 63.2 etc...
Reply
#14
if your hardware is bad and you already tried all things mentioned in my wiki, I don't know how to improve it anymore... try higher fps like 200~300, as it's not so important that they are stable then.
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
#15
Hi,

thank you for your suggestion but if I left the GSP to rent a dedicated server not to return.

I've done a little modification, especially on the priority & the nice of the screen of SRCDS.

And now the result:

1st @ 70fps
http://www.fpsmeter.org/p,view;131331.html

2nd @ 67fps
http://www.fpsmeter.org/p,view;131336.html

Thx for your help, your wiki and the tool Smile
Reply


Forum Jump:


Users browsing this thread: 17 Guest(s)