linux-smp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Szymanski <msz@astrouw.edu.pl>
To: SMP list <linux-smp@vger.kernel.org>
Subject: unbalanced load
Date: Wed, 18 May 2005 22:48:13 +0200	[thread overview]
Message-ID: <20050518204813.GA10028@astrouw.edu.pl> (raw)

Hi,

On 2.6 SMP kernels (running on multi-cpu machines) one can see the
effect called "Light but Unbalanced Load" by Rick Lindsley in his
article "What's New in the 2.6 Scheduler?" 
(http://www.linuxjournal.com/article/7178)

If, say, 3 processes run on a dual-cpu machine, one of them tends to be
bound to one processor, taking 99.9% of cpu time, while two other run
on the second processor, dividing its time more or less 50%-50%
I think this might be considered reasonable (although if the tasks
are not of the same user, it might be unfair) if all the tasks have the
same 'nice level'.

But, I have noticed that even if one of the tasks is niced and two other
- not, it happens that it is the niced process that occupies one cpu
alone, getting 99.9% of the processor time. This seems to be explicitly
contrary to what nice-ing the jobs should do.

Is this 'affinity' or 'cpu-binding' issue controllable somehow (by
setting some kernel parameters, for example)?

thanks in advance for hints,

regards, Michal.

-- 
  Michal Szymanski (msz at astrouw dot edu dot pl)
  Warsaw University Observatory, Warszawa, POLAND

                 reply	other threads:[~2005-05-18 20:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20050518204813.GA10028@astrouw.edu.pl \
    --to=msz@astrouw.edu.pl \
    --cc=linux-smp@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).