At 03:00 AM 2/9/2009, Mikael Pedersen wrote:
>Now that we have opened the can of worms, maybe someone can explain my
>weird top output. I have an Intel C2D E7200 equipped machine, which
>runs a TF2 server and a L4D server, L4D on the first core and TF2 on
>the other. Here is my top output:
>
>top - 08:32:39 up 7 days, 23:08,  1 user,  load average: 0.01, 0.03, 0.00
>Tasks: 110 total,   3 running, 107 sleeping,   0 stopped,   0 zombie
>Cpu0  :  1.3%us,  1.0%sy,  0.0%ni, 97.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
>Cpu1  :  3.5%us,  1.0%sy,  0.0%ni, 95.5%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
>Mem:   3096900k total,  2910692k used,   186208k free,   229092k buffers
>Swap:  2031608k total,       40k used,  2031568k free,  2030408k cached
>
>    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>25100 tfserver  20   0  280m 219m  19m S   46  7.2 558:50.78 srcds_i486
>   2744 tfserver  20   0  225m 145m  23m R    6  4.8   1048:45 srcds_i486
>      7 root      15  -5     0    0    0 S    0  0.0  56:14.93 ksoftirqd/1
>18762 gdm       20   0 86552  26m  11m S    0  0.9   4:56.81 gdmgreeter
>      1 root      20   0  2112  636  544 S    0  0.0   0:04.19 init
>
>
>Both servers are empty. The TF2 server has a CPU load of 46%. However,
>it is bound to Cpu1, which reads 95% idle. This doesn't add up in my
>head. This hasn't been like this from the beginning, but came about
>half a year ago. It doesn't seem to affect gameplay.
>
>Does anyone have a good explanation? How can a process use 46% while
>the cpu is 95% idle?

Run strace on it to see what it is doing.



_______________________________________________
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