public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@transmeta.com>
To: Ralf Baechle <ralf@uni-koblenz.de>
Cc: "Jeff V. Merkey" <jmerkey@timpanogas.org>,
	"H. Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org
Subject: Re: sendmail fails to deliver mail with attachments in /var/spool/mqueue
Date: Fri, 10 Nov 2000 17:46:29 -0800	[thread overview]
Message-ID: <3A0CA4F5.4715FE49@transmeta.com> (raw)
In-Reply-To: <3A0C3F30.F5EB076E@timpanogas.org> <3A0C6B7C.110902B4@timpanogas.org> <3A0C6E01.EFA10590@timpanogas.org> <26054.973893835@euclid.cs.niu.edu> <8uhs7c$2hr$1@cesium.transmeta.com> <3A0C76C0.CAC8B9D4@timpanogas.org> <20001111024440.E29352@bacchus.dhis.org>

Ralf Baechle wrote:
> 
> 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;
> }
> 

Yes, the documentation is broken.  Linus did in fact implement this
change because it made most daemons behave significantly better.  This
ought to include sendmail; it's just that on modern systems the numbers
get a little too high for it.

	-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-11-11  1:47 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3A0C427A.E015E58A@timpanogas.org>
     [not found] ` <20001110095227.A15010@sendmail.com>
     [not found]   ` <3A0C37FF.23D7B69@timpanogas.org>
     [not found]     ` <20001110101138.A15087@sendmail.com>
     [not found]       ` <3A0C3F30.F5EB076E@timpanogas.org>
     [not found]         ` <20001110133431.A16169@sendmail.com>
     [not found]           ` <3A0C6B7C.110902B4@timpanogas.org>
2000-11-10 21:52             ` sendmail fails to deliver mail with attachments in /var/spool/mqueue Jeff V. Merkey
2000-11-10 22:03               ` Neil W Rickert
2000-11-10 22:05                 ` Jeff V. Merkey
2000-11-10 22:18                   ` Alexander Viro
2000-11-10 22:22                     ` Jeff V. Merkey
2000-11-10 22:32                       ` Claus Assmann
2000-11-10 22:31                         ` Jeff V. Merkey
2000-11-10 22:23                   ` Richard A Nelson
2000-11-11 13:45                     ` Henning P. Schmiedehausen
2000-11-10 22:18                 ` H. Peter Anvin
2000-11-10 22:29                   ` Jeff V. Merkey
2000-11-11  1:44                     ` Ralf Baechle
2000-11-11  1:46                       ` H. Peter Anvin [this message]
2000-11-11  3:16                         ` Jeff V. Merkey
2000-11-11 11:54                         ` Andrea Arcangeli
2000-11-11 18:03                           ` Jeff V. Merkey
2000-11-11  1:35                   ` Ralf Baechle
2000-11-11  1:42                     ` H. Peter Anvin
2000-11-11  1:47                     ` Mohammad A. Haque
2000-11-10 23:25                 ` Davide Libenzi
2000-11-11 12:23                 ` (non)importance of loadaverages bert hubert
2000-11-10 22:52               ` sendmail fails to deliver mail with attachments in /var/spool/mqueue David Lang
2000-11-10 22:07                 ` Jeff V. Merkey
2000-11-10 22:25                 ` Claus Assmann
2000-11-10 23:01                   ` H. Peter Anvin
2000-11-11  7:57                     ` Rogier Wolff
2000-11-11  8:23                   ` [OFF] Load avarage (Re: sendmail fails to deliver mail with attachments in /var/spool/mqueue) Kari E. Hurtta
2000-11-11  0:28               ` Wild thangs, was: sendmail fails to deliver mail with attachments in /var/spool/mqueue David Ford
2000-11-11  0:27                 ` Jeff V. Merkey
2000-11-11  0:46                   ` David Ford
2000-11-11  3:25                     ` Jeff V. Merkey
2000-11-11  2:41                       ` David Ford
2000-11-11  2:45                       ` Andrew Morton
2000-11-11  3:09                         ` Andrew Morton
2000-11-11  1:18                 ` H. Peter Anvin
2000-11-13 16:34                 ` [OT] " Bruce Guenter
2000-11-11 13:40               ` Henning P. Schmiedehausen
2000-11-11 18:11                 ` Jeff V. Merkey
2000-11-11 19:12                   ` Henning P. Schmiedehausen
2000-11-11 19:38                   ` J Sloan
2000-11-13  6:22                     ` Jeff V. Merkey
2000-11-12  4:44                   ` Jesse Pollard
     [not found] <200011102251.eAAMp1I232107@saturn.cs.uml.edu>
2000-11-10 22:51 ` Jeff V. Merkey
2000-11-10 18:45 [Fwd: sendmail fails to deliver mail with attachments in /var/spool/mqueue] Jeff V. Merkey
2000-11-10 18:52 ` William F. Maton
2000-11-10 18:52   ` Jeff V. Merkey
2000-11-10 19:05     ` Horst von Brand
2000-11-10 19:04       ` Jeff V. Merkey
2000-11-10 19:30         ` Horst von Brand
2000-11-10 19:46           ` Tim Walberg
2000-11-11 11:33             ` Dominik Kubla
2000-11-11 13:35               ` Henning P. Schmiedehausen
2000-11-10 23:41         ` Igmar Palsenberg
2000-11-10 22:34           ` Jeff V. Merkey
2000-11-11  0:45             ` Igmar Palsenberg
2000-11-10 23:40       ` Igmar Palsenberg
2000-11-10 19:08     ` Richard A Nelson
2000-11-10 19:10       ` Jeff V. Merkey
2000-11-10 19:15       ` William F. Maton
2000-11-10 23:37     ` Igmar Palsenberg
2000-11-10 19:34   ` Richard B. Johnson
2000-11-10 19:33     ` Jeff V. Merkey
2000-11-11 13:24       ` Henning P. Schmiedehausen
2000-11-11 18:05         ` Jeff V. Merkey
2000-11-10 19:02 ` Richard A Nelson
2000-11-10 19:00   ` Jeff V. Merkey
2000-11-10 19:11     ` Richard A Nelson
2000-11-10 19:13       ` Jeff V. Merkey
2000-11-10 19:25         ` Jeff V. Merkey
2000-11-10 19:35 ` Andrea Arcangeli
2000-11-10 19:34   ` Jeff V. Merkey
2000-11-10 19:51     ` Andrea Arcangeli
2000-11-10 20:07       ` Richard B. Johnson
2000-11-10 20:21         ` Andrea Arcangeli
2000-11-10 20:27           ` Jeff V. Merkey
2000-11-10 20:36             ` Richard B. Johnson
2000-11-10 21:09             ` William F. Maton
2000-11-10 21:10               ` Jeff V. Merkey
2000-11-10 20:42           ` Richard B. Johnson
2000-11-10 20:47             ` Jeff V. Merkey
2000-11-10 20:59               ` Claus Assmann
2000-11-10 22:28                 ` Davide Libenzi
2000-11-10 21:16                   ` Claus Assmann
2000-11-10 22:19                   ` H. Peter Anvin
2000-11-11  0:14               ` Igmar Palsenberg
2000-11-10 23:12                 ` Claus Assmann
2000-11-10 23:13                   ` Jeff V. Merkey
2000-11-11  1:15                     ` Steve VanDevender
2000-11-11  2:02                       ` David Ford
2000-11-11  3:20                         ` Jeff V. Merkey
2000-11-11  3:14                       ` Jeff V. Merkey
2000-11-11 13:29                   ` Henning P. Schmiedehausen
2000-11-10 20:31         ` Jeff V. Merkey
2000-11-12  1:39         ` Horst von Brand
2000-11-13  2:58           ` David Ford
2000-11-11 13:20 ` Henning P. Schmiedehausen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A0CA4F5.4715FE49@transmeta.com \
    --to=hpa@transmeta.com \
    --cc=hpa@zytor.com \
    --cc=jmerkey@timpanogas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ralf@uni-koblenz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox