netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: David Witbrodt <dawitbro@sbcglobal.net>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>,
	linux-kernel@vger.kernel.org,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>, netdev <netdev@vger.kernel.org>
Subject: Re: HPET regression in 2.6.26 versus 2.6.25 -- question about NMI watchdog
Date: Fri, 15 Aug 2008 15:26:46 +0200	[thread overview]
Message-ID: <20080815132646.GF30597@elte.hu> (raw)
In-Reply-To: <445817.22956.qm@web82101.mail.mud.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 858 bytes --]


* David Witbrodt <dawitbro@sbcglobal.net> wrote:

> Quick question: a quick browse of 'Documentation/nmi_watchdog.txt' 
> suggests that I should use "nmi_watchdog=1", since I have SMP (CPU = 
> Athlon 64 X2, with CONFIG_SMP=y).  Should I follow your suggestion 
> later, or follow the recommendation of the 'nmi_watchdog.txt' doc?

you could try both, starting with nmi_watchdog=2 - and trying 
nmi_watchdog=1 if that doesnt work. The problem with nmi_watchdog=1 is 
that it disables high-res timers. (because it has to - it piggy-backs on 
the back of a periodic timer interrupt)

you might even want to test the NMI watchdog with an intentional 
user-space hard lockup - with the attached lockupcli.c program. 
(Warning: if you run it as root it will really lock up your box hard. 
Run it from a VGA text mode console to see any console messages.)

	Ingo

[-- Attachment #2: lockupcli.c --]
[-- Type: text/plain, Size: 46 bytes --]


main ()
{
	iopl(3);
	for (;;) asm("cli");
}


      reply	other threads:[~2008-08-15 13:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15 12:49 HPET regression in 2.6.26 versus 2.6.25 -- question about NMI watchdog David Witbrodt
2008-08-15 13:26 ` Ingo Molnar [this message]

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=20080815132646.GF30597@elte.hu \
    --to=mingo@elte.hu \
    --cc=dawitbro@sbcglobal.net \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=yhlu.kernel@gmail.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;
as well as URLs for NNTP newsgroup(s).