public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Dave Jones <davej@redhat.com>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: rcu_preempt running flat out on idle desktop.
Date: Thu, 9 May 2013 11:20:13 +0200	[thread overview]
Message-ID: <20130509092013.GA21620@gmail.com> (raw)
In-Reply-To: <CAFTL4hws3q2k9rc0Trh5v9DxNVT575GfV0wZFRg6k7htF+VSyg@mail.gmail.com>


* Frederic Weisbecker <fweisbec@gmail.com> wrote:

> 2013/5/8 Dave Jones <davej@redhat.com>:
> > On Wed, May 08, 2013 at 01:52:58PM -0700, Paul E. McKenney wrote:
> >  > On Wed, May 08, 2013 at 04:30:42PM -0400, Dave Jones wrote:
> >
> >  > >   PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
> >  > >    10 root      20   0     0    0    0 S 200.0  0.0 185301:36 rcu_preempt
> >  > >   553 root      20   0  268m  76m 6764 S 200.0  2.6 144579:53 Xorg
> >  > >  1199 root      20   0     0    0    0 S 200.0  0.0 306:17.85 kworker/1:0
> >  > >   501 root      20   0     0    0    0 S 200.0  0.0   4471:03 kworker/0:2
> >  > >    12 root      20   0     0    0    0 S 200.0  0.0  67277:16 rcuop/1
> >  > >  1237 davej     20   0  535m  15m 8484 S 200.0  0.5   3645:16 Terminal
> >  > >   859 davej     20   0  117m 3036 1336 S 200.0  0.1   1986:55 htop
> >  > >
> >  > > There are a lot of processes allegedly using "200%" of CPU time, a handful
> >  > > in the "196%" range, and then a bunch at 0.
> >  >
> >  > Yow!!!  185301 minutes is 128 days, which is a truly impressive amount of
> >  > CPU time to accumulate in a few short hours.
> 
> Right, Ingo has reported something about strange high numbers in top
> too. I need to investigate that.

For CPU-intense loops I have seen a small anomaly with "slightly higher 
CPU usage numbers" - sometimes going to 101% or so but still converging to 
around 99.9% in the long run.

The 200% bug pasted by Dave here seems to be very big and seems to affect 
all tasks not just true CPU-loopers. So I'd suggest reproducing and fixing 
Dave's bug first - that might fix the small anomaly I've seen.

Thanks,

	Ingo

  reply	other threads:[~2013-05-09  9:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-08 20:30 rcu_preempt running flat out on idle desktop Dave Jones
2013-05-08 20:52 ` Paul E. McKenney
2013-05-08 20:56   ` Dave Jones
2013-05-08 21:16     ` Paul E. McKenney
2013-05-08 21:17       ` Dave Jones
2013-05-08 22:20         ` Paul E. McKenney
2013-05-09  9:04     ` Frederic Weisbecker
2013-05-09  9:20       ` Ingo Molnar [this message]
2013-05-09 21:02 ` Frederic Weisbecker
2013-05-09 21:10   ` Dave Jones
2013-05-14  1:21     ` Frederic Weisbecker
2013-06-06 15:31       ` Dave Jones
2013-06-06 15:43         ` Frederic Weisbecker
2013-06-06 23:10           ` Dave Jones
2013-06-12 15:34           ` Dave Jones
2013-06-20 19:10             ` Dave Jones
2013-06-23 10:58               ` Ingo Molnar
2013-07-01 12:10                 ` Frederic Weisbecker

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=20130509092013.GA21620@gmail.com \
    --to=mingo@kernel.org \
    --cc=davej@redhat.com \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox