public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Timothy Normand Miller <theosib@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Problem: Load average of 6, no I/O, 25% idle time. Why?
Date: Sat, 19 Jul 2008 11:18:16 +0200	[thread overview]
Message-ID: <1216459096.7257.2.camel@twins> (raw)
In-Reply-To: <9871ee5f0807181512u231e1aaraee5622d0a814f97@mail.gmail.com>

On Fri, 2008-07-18 at 18:12 -0400, Timothy Normand Miller wrote:
> On Fri, Jul 18, 2008 at 9:28 AM, Peter Zijlstra <peterz@infradead.org> wrote:
> > On Fri, 2008-07-18 at 08:49 -0400, Timothy Normand Miller wrote:
> >> I have a four processor box, running three compute loads.  The kernel
> >> I'm running is 2.6.25-gentoo-r5.
> >>
> >> One process has four threads, and it's niced to 19.
> >> Another process has one thread and is niced to -10
> >> The last process has one thread and is niced to 0
> >>
> >> One processor is always idle.
> >>
> >> If I change either the 0 to a -10 or the -10 to a zero, then all four
> >> cores are properly utilized.
> 
> Interesting corollary:  If the only thing running is the one nice=19,
> four-thread process, then there's about 4% idle time.  I have to raise
> the priority to get the idle time to go away.  Since when do active
> processes yield to idle time?

They shouldn't... I'm suspecting it might be due to some form of
priority inversion or some such thing.

> Two of my three loads are finished, so when this last one is done,
> I'll try 2.6.26.  Was something like this actively discussed and fixed
> between 2.6.25 and 2.6.26?

Not much, but it has seen drastic change post .26. So if you could also
try Linus' latest -git that would be good.



  reply	other threads:[~2008-07-19  9:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18 12:49 Problem: Load average of 6, no I/O, 25% idle time. Why? Timothy Normand Miller
2008-07-18 13:28 ` Peter Zijlstra
2008-07-18 13:59   ` Timothy Normand Miller
2008-07-18 22:12   ` Timothy Normand Miller
2008-07-19  9:18     ` Peter Zijlstra [this message]
2008-07-20 23:39 ` Timothy Normand Miller

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=1216459096.7257.2.camel@twins \
    --to=peterz@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=theosib@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