All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@linaro.org>
To: paulmck@linux.vnet.ibm.com
Cc: Arjan van de Ven <arjan@linux.intel.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Rob Landley <rob@landley.net>,
	linux-kernel@vger.kernel.org, josh@joshtriplett.org,
	zhong@linux.vnet.ibm.com, geoff@infradead.org,
	tglx@linutronix.de
Subject: Re: [PATCH] nohz1: Documentation
Date: Fri, 22 Mar 2013 11:37:55 -0700	[thread overview]
Message-ID: <87wqszb7r0.fsf@linaro.org> (raw)
In-Reply-To: <20130321180218.GA3637@linux.vnet.ibm.com> (Paul E. McKenney's message of "Thu, 21 Mar 2013 11:02:18 -0700")

"Paul E. McKenney" <paulmck@linux.vnet.ibm.com> writes:

> On Thu, Mar 21, 2013 at 10:41:30AM -0700, Arjan van de Ven wrote:
>> On 3/21/2013 10:18 AM, Paul E. McKenney wrote:
>> >	o	Use the "idle=poll" boot parameter.  However, please note
>> >		that use of this parameter can cause your CPU to overheat,
>> >		which may cause thermal throttling to degrade your
>> >		latencies --and that this degradation can be even worse
>> >		than that of dyntick-idle.
>> 
>> it also disables (effectively) Turbo Mode on Intel cpus... which can
>> cost you a serious percentage of performance
>
> Thank you, added!  Please see below for the updated list.
>
> 							Thanx, Paul
>
> ------------------------------------------------------------------------
>
> o	Dyntick-idle slows transitions to and from idle slightly.
> 	In practice, this has not been a problem except for the most
> 	aggressive real-time workloads, which have the option of disabling
> 	dyntick-idle mode, an option that most of them take.  However,
> 	some workloads will no doubt want to use adaptive ticks to
> 	eliminate scheduling-clock-tick latencies.  Here are some
> 	options for these workloads:
>
> 	a.	Use PMQOS from userspace to inform the kernel of your
> 		latency requirements (preferred).

This is not only the preferred approach, but the *only* approach
available on non-x86 systems.  Perhaps the others should be marked as
x86-only?

Kevin

> 	b.	Use the "idle=mwait" boot parameter.
>
> 	c.	Use the "intel_idle.max_cstate=" to limit the maximum
> 		depth C-state depth.
>
> 	d.	Use the "idle=poll" boot parameter.  However, please note
> 		that use of this parameter can cause your CPU to overheat,
> 		which may cause thermal throttling to degrade your
> 		latencies -- and that this degradation can be even worse
> 		than that of dyntick-idle.  Furthermore, this parameter
> 		effectively disables Turbo Mode on Intel CPUs, which
> 		can significantly reduce maximum performance.

  reply	other threads:[~2013-03-22 18:38 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-18 16:29 [PATCH] nohz1: Documentation Paul E. McKenney
2013-03-18 18:13 ` Rob Landley
2013-03-18 18:46   ` Frederic Weisbecker
2013-03-18 19:59     ` Rob Landley
2013-03-18 20:48       ` Frederic Weisbecker
2013-03-18 22:25         ` Paul E. McKenney
2013-03-20 23:32           ` Steven Rostedt
2013-03-20 23:55             ` Paul E. McKenney
2013-03-21  0:27               ` Steven Rostedt
2013-03-21  2:22                 ` Paul E. McKenney
2013-03-21 10:16                   ` Borislav Petkov
2013-03-21 15:18                     ` Paul E. McKenney
2013-03-21 16:00                       ` Borislav Petkov
2013-03-21 15:45                 ` Arjan van de Ven
2013-03-21 17:18                   ` Paul E. McKenney
2013-03-21 17:41                     ` Arjan van de Ven
2013-03-21 18:02                       ` Paul E. McKenney
2013-03-22 18:37                         ` Kevin Hilman [this message]
2013-03-22 19:25                           ` Paul E. McKenney
2013-03-22  4:59                   ` Rob Landley
2013-03-21 18:01                 ` Frederic Weisbecker
2013-03-21 18:26                   ` Paul E. McKenney
2013-03-21 16:08               ` Christoph Lameter
2013-03-21 17:15                 ` Paul E. McKenney
2013-03-21 18:39                   ` Christoph Lameter
2013-03-21 18:58                     ` Paul E. McKenney
2013-03-21 20:04                       ` Christoph Lameter
2013-03-21 20:42                         ` Frederic Weisbecker
2013-03-21 21:02                           ` Christoph Lameter
2013-03-21 21:06                             ` Frederic Weisbecker
2013-03-21 20:50                         ` Paul E. McKenney
2013-03-22 14:38                           ` Christoph Lameter
2013-03-22 16:28                             ` Paul E. McKenney
2013-03-25 14:31                               ` Christoph Lameter
2013-03-25 14:37                                 ` Frederic Weisbecker
2013-03-25 15:18                                   ` Christoph Lameter
2013-03-25 15:20                                     ` Frederic Weisbecker
2013-03-22  9:52                         ` Mats Liljegren
2013-03-22 19:01                       ` Kevin Hilman
2013-03-21 18:44                   ` Steven Rostedt
2013-03-21 18:53                     ` Christoph Lameter
2013-03-21 19:16                       ` Steven Rostedt
2013-03-21 18:59                     ` Paul E. McKenney

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=87wqszb7r0.fsf@linaro.org \
    --to=khilman@linaro.org \
    --cc=arjan@linux.intel.com \
    --cc=fweisbec@gmail.com \
    --cc=geoff@infradead.org \
    --cc=josh@joshtriplett.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=rob@landley.net \
    --cc=rostedt@goodmis.org \
    --cc=tglx@linutronix.de \
    --cc=zhong@linux.vnet.ibm.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 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.