The CPU-usage reported by srcds is kernel_hz/100 * actual_cpu_usage.
Normally game-hosts run at 1000Hz, so you'll get 10x the actual value.
And then it caps at 100%. So even at 10% CPU-usage you'll get 100%
reported by srcds.

The new orangebox srcds doesn't do this, however.

Cheers,
Einar

Dan E wrote:
> --
> [ Picked text/plain from multipart/alternative ]
> I recently acquired two dual Xeon 2.8 servers that I'm trying to get srcds 
> running on CentOS 5.  I've tried many different configurations, but srcds 
> acts very strangely.  rcon stats with 6 bots in DM will report 99% usage, 
> empty reports 26%.   But top disagrees.  I have it bound to CPU1, nothing 
> else on it.  Any ideas as to what could cause it?
>
> Hyperthreading disabled.  I've tried with and without dynamic ticks, 1500hz, 
> 1000hz, etc.  I've just never seen anything like this :(
>
> CPU   In    Out   Uptime  Users   FPS    Players
> 99.90  0.00  0.00       0     0  148.46       6
>
> top - 06:57:34 up 2 min,  2 users,  load average: 0.00, 0.00, 0.00
> Tasks: 119 total,   2 running, 117 sleeping,   0 stopped,   0 zombie
> Cpu0  :  0.1%us,  0.7%sy,  0.0%ni, 99.2%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
> Cpu1  : 33.9%us,  0.5%sy,  0.0%ni, 64.7%id,  0.8%wa,  0.1%hi,  0.0%si,  0.0%st
> Mem:   3116040k total,   451784k used,  2664256k free,    16500k buffers
> Swap:  2031608k total,        0k used,  2031608k free,   290488k cached
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>  2970 srcds     20   0  146m  73m  14m R   38  2.4   0:11.61 srcds_i686
>
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to