Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Incorrect Load Averages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tsuehpsyde
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 101

PostPosted: Mon Apr 12, 2010 6:39 pm    Post subject: Incorrect Load Averages Reply with quote

This is a relatively recent problem. I noticed this after upgrading to 2.6.31-gentoo-r6. Here's what w shows:

Quote:
14:35:14 up 1:42, 1 user, load average: 0.00, 0.00, 0.00
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
tsuehpsy pts/0 14:25 0.00s 0.00s 0.00s w


And here's what top shows:

Quote:
top - 14:35:27 up 1:42, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 99 total, 4 running, 95 sleeping, 0 stopped, 0 zombie
Cpu(s): 15.4%us, 0.9%sy, 0.0%ni, 82.6%id, 1.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 2074520k total, 2013024k used, 61496k free, 60784k buffers
Swap: 3911816k total, 0k used, 3911816k free, 1427964k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3772 srcds3 1 -19 209m 102m 15m R 44 5.1 30:18.18 srcds_i686
3827 srcds1 1 -19 167m 94m 14m S 30 4.6 10:52.05 srcds_i686
3785 srcds2 1 -19 176m 101m 14m R 28 5.0 22:22.88 srcds_i686
1 root 20 0 1628 588 516 S 0 0.0 0:00.41 init

And /proc/loadavg reports the same:

Quote:
~ $ cat /proc/loadavg
0.00 0.00 0.00 1/128 5074


As you can see, I do have stuff loading the processor, but for some reason, they no longer show? This was working just fine, but I generally check load to see how many users are on the system (game server). I have since upgraded to 2.6.31-gentoo-r10 and 2.6.32-gentoo-r7 to no avail. I have yet to revert to the older kernel to see if it fixes the problem as it doesn't effect performance, only reporting (that I can tell).

I am running 32-bit stable Gentoo. If you need any other information, ask away and I'll happily respond.
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 397
Location: San Diego, California USA

PostPosted: Mon Apr 12, 2010 9:31 pm    Post subject: Reply with quote

I don't think the load average takes into account nice-d processes.
Back to top
View user's profile Send private message
tsuehpsyde
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 101

PostPosted: Tue Apr 13, 2010 7:27 pm    Post subject: Reply with quote

It was in the past. Also, I set them to 0 and still no dice. :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum