public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jeff V. Merkey" <jmerkey@timpanogas.org>
To: root@chaos.analogic.com
Cc: Keith Owens <kaos@ocs.com.au>, linux-kernel@vger.kernel.org
Subject: Re: Dual XEON - >>SLOW<< on SMP
Date: Tue, 07 Nov 2000 16:03:25 -0700	[thread overview]
Message-ID: <3A088A3D.2CD0BC53@timpanogas.org> (raw)
In-Reply-To: <Pine.LNX.3.95.1001107174352.436A-100000@chaos.analogic.com>


Marc Lehman verified that PII systems will generate tons of AGIs with
gcc.  Perhaps this is the cause of this problem.  You could run EMON and
see if there is something obvious in the numbers ...

Jeff

"Richard B. Johnson" wrote:
> 
> On Wed, 8 Nov 2000, Keith Owens wrote:
> 
> > On Tue, 7 Nov 2000 17:31:19 -0500 (EST),
> > "Richard B. Johnson" <root@chaos.analogic.com> wrote:
> > >Also, I get some CPU watchdog timeout that I didn't ask for Grrr...
> > >
> > >Nov  7 17:17:54 chaos nmbd[115]:   Samba server CHAOS is now a domain master browser for workgroup LINUX on subnet 204.178.40.224
> > >Nov  7 17:17:54 chaos nmbd[115]:
> > >Nov  7 17:17:54 chaos nmbd[115]:   *****
> > >Nov  7 17:18:54 chaos kernel: NMI Watchdog detected LOCKUP on CPU0,
>  registers:
> > >Nov  7 17:18:54 chaos kernel: CPU:    0
> > >Nov  7 17:19:01 chaos login: ROOT LOGIN ON tty2
> >
> > Which means that one of the cpus is spinning for 5 seconds with
> > interrupts disabled.  CPU watchdogs are *good*.
> >
> 
> Well no. I won't buy that. What it means is that some so-called
> watchdog timer code is broken.
> 
> The following, tight loop user-mode code will trip it off and the
> interrupts are not disabled from user-mode code:
> 
> #include <stdio.h>
> 
> int main(void);
> int main()
> {
>    for(;;)
>   {
>    __asm__ __volatile__(
>    "\tpushl     %ecx\n"
>    "\txorl      %ecx,%ecx\n"
>    "1:\tloop    1b\n"
>    "\tpopl      %ecx\n"
>         );
>    }
>    return 0;
> }
> 
> When it trips off, this code is seg-faulted without any core-dump.
> This code must never seg-fault. It doesn't access memory that was
> not allocated upon startup and, if the kernel wants the CPU, it
> will take it away. It is, after all , supposed to be premptive.
> 
> Somebody has severly broken Linux.
> 
> > >
> > >           CPU0       CPU1
> > >  0:      10945      11869    IO-APIC-edge  timer
> > >  1:        419        393    IO-APIC-edge  keyboard
> > >  2:          0          0          XT-PIC  cascade
> > >  8:          0          0    IO-APIC-edge  rtc
> > > 10:       2990       2904   IO-APIC-level  eth0
> > > 11:       1066       1124   IO-APIC-level  BusLogic BT-958
> > > 13:          0          0          XT-PIC  fpu
> > >NMI:      22748      22748
> > >LOC:      21731      22229
> > >ERR:          0
> > >
> > >
> > >The NMI and LOC (timers) run faster than timer channel 0. This
> > >cannot be correct. Anybody know what this is and how to get
> > >rid of these CPU time stealers?
> >
> > The timer is directed both as a normal interrupt 0 and as a broadcast
> > non maskable interrupt.  The NMI count on each cpu should be roughly
> > the sum of the interrupt 0 count across all cpus.
> >
> 
> How do I get these things turned OFF? These CPUs and this machine
> worked fine for two years. It now runs at 1/4 the speed.
> 
> > The NMI path is fairly fast so the overhead is small.  When it does
> > trip you have a problem, a cpu is spinning for far too long.  Extract
> > the NMI report from the log, run it through ksymoops and mail the
> > decoded result.
> >
> 
> I sincerely doubt that the overhead is small. The overhead is
> enormous. It can be felt!
> 
> All I got from the log was what was reported. There is a colon
> after 'registers' and that's that. The system continued to run.
> It did not panic.
> 
> Cheers,
> Dick Johnson
> 
> Penguin : Linux version 2.4.0 on an i686 machine (799.54 BogoMips).
> 
> "Memory is like gasoline. You use it up when you are running. Of
> course you get it all back when you reboot..."; Actual explanation
> obtained from the Micro$oft help desk.
> 
> -
> 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/
-
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-07 23:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-02 13:50 Dual XEON - >>SLOW<< on SMP Dr. David Gilbert
2000-11-02 13:56 ` kernel
2000-11-02 14:02   ` Richard B. Johnson
2000-11-02 18:09     ` Ulrich Drepper
2000-11-02 18:23       ` Maciej W. Rozycki
2000-11-02 18:26       ` Matti Aarnio
2000-11-02 18:38       ` Chris Meadors
2000-11-02 18:40         ` Richard B. Johnson
2000-11-02 23:39         ` Wakko Warner
2000-11-07 22:02         ` Dr. Kelsey Hudson
2000-11-07 22:10           ` Jan-Benedict Glaw
2000-11-07 22:16             ` kernel
2000-11-07 22:31           ` Richard B. Johnson
2000-11-07 22:41             ` Keith Owens
2000-11-07 22:55               ` Richard B. Johnson
2000-11-07 23:03                 ` Jeff V. Merkey [this message]
2000-11-08 14:28                   ` Richard B. Johnson
2000-11-08 19:17                     ` Jeff V. Merkey
2000-11-11 19:26                   ` Marc Lehmann
2000-11-13  6:22                     ` Jeff V. Merkey
2000-11-13  8:41                       ` James A. Sutherland
2000-11-13 11:51                       ` Marc Lehmann
2000-11-07 22:48             ` J . A . Magallon
2000-11-02 14:10   ` Tigran Aivazian
2000-11-02 17:39     ` Dr. David Gilbert
2000-11-03  0:04       ` bert hubert
2000-11-03 16:13         ` Ricky Beam

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=3A088A3D.2CD0BC53@timpanogas.org \
    --to=jmerkey@timpanogas.org \
    --cc=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.com \
    /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