public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@ximian.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	Ingo Molnar <mingo@redhat.com>
Subject: Re: interrupt cpu time accounting?
Date: Sun, 29 Aug 2004 17:33:40 -0400	[thread overview]
Message-ID: <1093815220.2595.14.camel@localhost> (raw)
In-Reply-To: <413249F7.50904@pobox.com>

On Sun, 2004-08-29 at 17:26 -0400, Jeff Garzik wrote:

> What piece of code defines "balanced"?  :)

kernel/sched.c :: load_balance()

We used to try to keep the processors within 25% of each other, and try
very hard to ensure that no processor had zero processes.  The sched
domain code changed all that.

The only place the load balancer will help in your scenario is when the
processor is so busy processing interrupts and processes get backed up
on the processor (new processes moved there or, more likely, via forks).
The load balance won't help if the baseline minimum number of processes
is there but they are starving.

> Less a neat idea, and more IMHO recognition of a problem that needs solving.
> 
> I am worried that processes will get starved if one CPU is _heavily_ 
> loaded servicing interrupts, and the others are not.

If people are seeing it, then I 100% agree.

	Robert Love



      reply	other threads:[~2004-08-29 21:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-29 20:42 interrupt cpu time accounting? Jeff Garzik
2004-08-29 21:15 ` Robert Love
2004-08-29 21:26   ` Jeff Garzik
2004-08-29 21:33     ` Robert Love [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=1093815220.2595.14.camel@localhost \
    --to=rml@ximian.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.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