All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>,
	Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] perf nmi on x86
Date: Mon, 24 Aug 2015 20:24:17 +0200	[thread overview]
Message-ID: <55DB6151.8050003@siemens.com> (raw)
In-Reply-To: <20150824181426.GA21893@hermes.click-hack.org>

On 2015-08-24 20:14, Gilles Chanteperdrix wrote:
> Hi Jan,
> 
> running Xenomai on an x86 machine, I noticed that the perf NMI was
> ticking. It seems CONFIG_PERF can not be disabled in the kernel
> configuration.
> 
> So, the first question is: 
> is there a way of disabling the NMI ?
> second question is: 
> if not, what do we do about it? 
> 
> I mean, on the one hand, disabling the NMI is probably mandatory on
> a system where latency matters, but on the other hand, some users
> may want it enabled and do not care for the additional latency.

Does "echo 0 > /proc/sys/kernel/nmi_watchdog" change the picture? It did
so for me on a distro kernel, though re-enabling it again didn't make
the PMIs reappear.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux


  reply	other threads:[~2015-08-24 18:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-24 18:14 [Xenomai] perf nmi on x86 Gilles Chanteperdrix
2015-08-24 18:24 ` Jan Kiszka [this message]
2015-08-24 18:36   ` Gilles Chanteperdrix

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=55DB6151.8050003@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.