public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: Dave Jones <davej@codemonkey.org.uk>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.5 Changes doc update.
Date: 11 Dec 2002 14:46:51 -0500	[thread overview]
Message-ID: <1039636010.833.98.camel@phantasy> (raw)
In-Reply-To: <20021211172559.GA8613@suse.de>

On Wed, 2002-12-11 at 12:25, Dave Jones wrote:

> Process scheduler improvements.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - Another much talked about feature. Ingo Molnar reworked the process
>   scheduler to use an O(1) algorithm.  In operation, you should notice
>   no changes with low loads, and increased scalability with large numbers
>   of processes, especially on large SMP systems.
> - Robert Love wrote various utilities for changing behaviour of the
>   scheduler (binding processes to CPUs etc). You can find these tools at
>   http://tech9.net/rml/schedutils
> - Regressions to mingo@redhat.com and rml@tech9.net

Two notes here:

- The behavior of sched_yield() changed a lot.  A task that uses
  this system call should now expect to sleep for possibly a very
  long time.  Tasks that do not really desire to give up the
  processor for a while should probably not make heavy use of this
  function.  Unfortunately, some GUI programs (like Open Office)
  do make excessive use of this call and under load their
  performance is poor.  It seems this new 2.5 behavior is optimal
  but some user-space applications may need fixing.

- The above applies to use of yield() in the kernel, too.

- 2.5 adds system calls for manipulating a task's processor
  affinity: sched_getaffinity() and sched_setaffinity()

	Robert Love


  parent reply	other threads:[~2002-12-11 19:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 17:25 2.5 Changes doc update Dave Jones
2002-12-11 17:54 ` Roger Luethi
2002-12-11 18:07   ` Dave Jones
2002-12-11 17:58 ` Jeff Garzik
2002-12-11 18:07   ` Dave Jones
2002-12-11 18:13     ` Jeff Garzik
2002-12-11 20:28       ` Kai Germaschewski
2002-12-11 18:18 ` Anders Gustafsson
2002-12-11 19:42 ` Robert Love
2002-12-11 19:46 ` Robert Love [this message]
2002-12-11 21:38 ` Mark Fasheh
2002-12-12  1:09 ` Ian Wienand
  -- strict thread matches above, loose matches on Subject: below --
2002-12-11 17:38 Holzrichter, Bruce
2002-12-11 19:37 ` Alan Cox
2002-12-11 17:57 Margit Schubert-While
2002-12-11 18:30 ` Dave Jones
2002-12-12  3:43 Albert D. Cahalan
2002-12-13  4:33 SL Baur

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=1039636010.833.98.camel@phantasy \
    --to=rml@tech9.net \
    --cc=davej@codemonkey.org.uk \
    --cc=linux-kernel@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