SRCDS Steam group


Maximum 0.0 cpu usage!
#1
Hello,

Is it possible to use a lauch command er someting else to lock the cpu usage of the server? ./srdcs_run?? Smile

My server is unstable whit the cpu so i hope i can get help. So i can get my cpu usage at something linke 1%?
Reply
#2
Ye.

If you type in just this little command.
Code:
top

That'll bring up a nice little tools thing. A bit like taskmanager in windows. When you want to exit, just hit Ctrl + C
Smile
Reply
#3
skyride Wrote:Ye.

If you type in just this little command.
Code:
top

That'll bring up a nice little tools thing. A bit like taskmanager in windows. When you want to exit, just hit Ctrl + C
Smile

I will try that Smile
Reply
#4
When i hit top commando it says im using 1% cpu. But on my server it says im using 17% cpu :S And what commandos can i use when i hit the top command?
Reply
#5
Amo85 Wrote:When i hit top commando it says im using 1% cpu. But on my server it says im using 17% cpu :S And what commandos can i use when i hit the top command?

Sorry what? What is saying you are using 17% CPU?

Also, top is just for monitoring, it dosen't have any functions.
Reply
#6
Sry my bad Big Grin

When i join my server it says i use: 17% Cpu in the game (rcon stats in console)
When i use the Top command in my dedikated server: 1% Cpu :S
The problem is that my hitbox lagg
Reply
#7
Btw, is there a lauch command to onley running the server on one cpu like:
Code:
./srdcs_run -ticrate 100 +taskset -c 1 +map de_dust 2
or something ?
Reply
#8
i found out the
Code:
taskset -c 1 ./hlds_run -game cstrike -autoupdate +maxplayers 12 +map de_dust2 -port 27018 +ip 212.70.2.35 + sv_region 2 +sys_ticrate 1000 -pingboost 3

Then i tryed to type ps ux in my ssh console that means that my cpu usage is 1,3 and memeory usage is 3,1%:

Code:
root      3140  0.0  0.0   4484  1144 ?        S    10:33   0:00 /bin/sh ./hlds_run -game cstrike -autoupdate +maxplayers 12 +map de_dust2 -port 27018 +ip 212.70.2.35 +sv_region
root      3150  1.3  3.1  74052 64608 ?        Sl   10:33   0:31 ./hlds_i686 -game cstrike -autoupdate +maxplayers 12 +map de_dust2 -port 27018 +ip 212.70.2.35 +sv_region 2 +sys


This example above and under is whit one player. I tryed on my counter-strike server to hit rcon stats i console:
Code:
] rcon stats
CPU   In    Out   Uptime  Users   FPS    Players
21.60  4.02  5.56      40     5  500.25       1

] rcon stats
CPU   In    Out   Uptime  Users   FPS    Players
21.60  4.43  5.59      40     5  829.19       1

] rcon stats
CPU   In    Out   Uptime  Users   FPS    Players
30.00  4.20  5.54      40     5  513
Reply
#9
don't search for your problem in the cpu usage, don't even look at the cpu usage. it is completly misleading. loot at the fps. they are quite unstable if i look at your three stats commands. you need to optimize your linux kernel to get it better.
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
BehaartesEtwas Wrote:don't search for your problem in the cpu usage, don't even look at the cpu usage. it is completly misleading. loot at the fps. they are quite unstable if i look at your three stats commands. you need to optimize your linux kernel to get it better.

This is wird:

Quote:16175 root 15 0 113m 100m 7288 R 59 4.9 270:57.32 hlds_i686
18990 root 15 0 164m 76m 14m R 38 3.8 107:56.37 srcds_i686
4222 root 15 0 103m 91m 7440 R 19 4.5 142:19.08 hlds_i686
22595 root 15 0 222m 101m 15m S 7 5.0 0:17.64 srcds_i686
4061 root 15 0 97408 81m 7456 R 1 4.0 121:27.67 hlds_i686
Why the diffrens in cpu usage my kernel is kompiled after your guide.
Reply
#11
You can also press q to quit top, I don't get the top or stats cpu usage...
[Image: b_350x20_C002748-004880-FFFFFF-000000.png]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)