SRCDS Steam group


Cpu usage
#1
Hey my server has this spec:

Dual 3,06 Ghz xeon
2 GB EEC RAM
2*36,6GB 10000 rpm harddisk
Centos 5.2 OS

Before i compiled the kernel i got 3-500 fps 0% cpu-usage.
The i kompiled from the fragaholics's guide and got 947-800 fps, and my cpu usage is 17%. Is it possible to get higer fps and or lower cpu usage?
Reply
#2
You can try getting the interrupt levels down by not using SMP for srcds (it's not multi-threaded anyhow)...

For whatever method you use to start your server, put this in the from of it.

Code:
taskset -c 1

This will force srcds to run on one core only, which could lower some interrupts. If you want to run another server, just deincriment the number "1" to "0", since you only have 2 cores. (A suggestion, I have found that I run things on core0 at last effort. This is because the kernel uses core0 (I believe from what I have tested) for it's duties.

Also, turn off any peripherials that you don't use (serial ports, parallel ports, USB, etc.) in the BIOS. That will save some interrupts if you absolutely need tip top performance.


Amo85 Wrote:Hey my server has this spec:

Dual 3,06 Ghz xeon
2 GB EEC RAM
2*36,6GB 10000 rpm harddisk
Centos 5.2 OS

Before i compiled the kernel i got 3-500 fps 0% cpu-usage.
The i kompiled from the fragaholics's guide and got 947-800 fps, and my cpu usage is 17%. Is it possible to get higer fps and or lower cpu usage?
Reply
#3
high fps always produce some cpu-load (without and cpu usage you cannot render frames...). 950 fps are very good, 1000 fps are not any better. if you have some "ripple" on the fps, try the idler. you might lower the cpu usage by running the kernel with HZ=100 and using dynamic ticks (tickless system). see the section "playing around" in my howto...

please post a screenshot of a measurement with fps-meter so I can see if there is still any problem (have some real players on the server!)
*****www.fpsmeter.org
*****wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#4
BehaartesEtwas Wrote:high fps always produce some cpu-load (without and cpu usage you cannot render frames...). 950 fps are very good, 1000 fps are not any better. if you have some "ripple" on the fps, try the idler. you might lower the cpu usage by running the kernel with HZ=100 and using dynamic ticks (tickless system). see the section "playing around" in my howto...

please post a screenshot of a measurement with fps-meter so I can see if there is still any problem (have some real players on the server!)

Sry for the time it took. my cpu is around 0,0 - 20%. And ilde around 0-1%.
Code:
CPU In Out Uptime Users FPS Players 27.00 1.42 1.39 9690 102 347.46 1 ] rcon stats CPU In Out Uptime Users FPS Players 27.00 1.41 1.41 9690 102 495.54 1 ] rcon stats CPU In Out Uptime Users FPS Players 16.00 1.42 1.41 9690 102 910.75 1 ] rcon stats CPU In Out Uptime Users FPS Players 18.33 1.44 1.42 9690 102 531.63 1 ] rcon stats CPU In Out Uptime Users FPS Players 18.33 1.43 1.42 9690 102 500.25 1 ] rcon stats CPU In Out Uptime Users FPS Players 18.75 1.45 1.42 9690 102 551.57 1 ] rcon stats CPU In Out Uptime Users FPS Players 17.40 1.43 1.42 9690 102 602.41 1 ] rcon stats CPU In Out Uptime Users FPS Players 27.00 1.44 1.41 9690 102 986.19 1 ] rcon stats CPU In Out Uptime Users FPS Players 15.33 1.41 1
Reply
#5
And if i use the dynamic ticks. How mutch cpu would i save?
Reply
#6
just try it out, nobody can possible know this exactly, it depends on so many factors!
*****www.fpsmeter.org
*****wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)