Jeff,
On Fri, Nov 10, 2000 at 03:29:20PM -0700, Jeff V. Merkey wrote:
> Well, here's what the sendmail folks **REAL** opinion of Linux is and
> the way load average is calculated (senders name removed)
>
> [... sendmail person ...]
>
> Ok, here's my blunt answer: Linux sucks. Why does it have a load
> > average of 10 if there are two processes running? Let's check the
> > man page:
> >
> > and the three load averages for the system. The load
> > averages are the average number of process ready to
> > run during the last 1, 5 and 15 minutes. This line
> > is just like the output of uptime(1).
> >
> > So: Linux load average on these systems is broken.
Or the documentation is b0rken? This is how the load figure is actually
calculated:
/*
* Nr of active tasks - counted in fixed-point numbers
*/
static unsigned long count_active_tasks(void)
{
struct task_struct *p;
unsigned long nr = 0;
read_lock(&tasklist_lock);
for_each_task(p) {
if ((p->state == TASK_RUNNING ||
(p->state & TASK_UNINTERRUPTIBLE)))
nr += FIXED_1;
}
read_unlock(&tasklist_lock);
return nr;
}
Ralf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: sendmail fails to deliver mail with attachme... Neil W Rickert
- Re: sendmail fails to deliver mail with att... Jeff V. Merkey
- Re: sendmail fails to deliver mail with... Alexander Viro
- Re: sendmail fails to deliver mail ... Jeff V. Merkey
- Re: sendmail fails to deliver m... Claus Assmann
- Re: sendmail fails to deli... Jeff V. Merkey
- Re: sendmail fails to deliver mail with... Henning P. Schmiedehausen
- Re: sendmail fails to deliver mail with att... Davide Libenzi
- Re: sendmail fails to deliver mail with att... H. Peter Anvin
- Re: sendmail fails to deliver mail with... Jeff V. Merkey
- Re: sendmail fails to deliver mail ... Ralf Baechle
- Re: sendmail fails to deliver m... H. Peter Anvin
- Re: sendmail fails to deli... Jeff V. Merkey
- Re: sendmail fails to deli... Andrea Arcangeli
- Re: sendmail fails to ... Jeff V. Merkey
- Re: sendmail fails to deliver mail with... Ralf Baechle
- Re: sendmail fails to deliver mail ... H. Peter Anvin
- Re: sendmail fails to deliver mail ... Mohammad A. Haque
- (non)importance of loadaverages bert hubert
- Re: sendmail fails to deliver mail with attachme... David Lang
- Re: sendmail fails to deliver mail with att... Jeff V. Merkey

