On Thu, 20 Dec 2007, Jaswinder Singh wrote: > Hello, > > By linux-2.6.23-rt3 on ideal condition, I am getting :- > > root@xxxxxxxxxxxxx:~# cat /proc/loadavgrt > 1.00 1.00 1.00 0/52 1158 This is bogus. It's a known issue, and there's a patch in the works. The problem is that the calculation of load average is done via a softirq, which in vanilla Linux is not a thread (nor an RT task). But in RT, all softirqs are RT tasks, and when this calculation is performed, it sees that there is always an RT task runnning. That RT task that it sees running happens to be the softirq RT task that is calculating the load! So the numbers are bogus! -- Steve > root@xxxxxxxxxxxxx:~# cat /proc/loadavg > 0.00 0.00 0.02 1/52 1159 > root@xxxxxxxxxxxxx:~# > > I am curious: > 1. Why loadavgrt is not reflecting load on loadavg > > 2. loadavgrt is giving correct information or it is bogus > > Thank you, > > Jaswinder Singh. > - To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html