All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Tom Sightler <ttsig@tuxyturvy.com>
Cc: Ingo Molnar <mingo@elte.hu>, Mike Galbraith <efault@gmx.de>,
	Andrew Morton <akpm@digeo.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: Strange load issues with 2.5.69/70 in both -mm and -bk trees.
Date: Mon, 2 Jun 2003 08:53:45 -0700	[thread overview]
Message-ID: <20030602155345.GR8978@holomorphy.com> (raw)
In-Reply-To: <1054568875.3545.34.camel@iso-8590-lx.zeusinc.com>

On Mon, Jun 02, 2003 at 11:47:56AM -0400, Tom Sightler wrote:
> In trying to figure out why this might be worse under 2.5 I took some
> simple vmstat numbers under 2.4 and 2.5, this biggest difference is the
> number of context switches.  Under 2.4, with the page loaded, but
> otherwise idle, the system averages around 700/sec, and when I mouse
> around the page I get 2000-3000/sec.
> However, under 2.5, as I reported previously, I get 2000/sec all the
> time, and 3000-4000 as I mouse around the page.
> Would this be expected behavior?  Does 2.5 do something that would cause
> more context switches that 2.4?  I have no idea if this would have any
> impact at all, but it was the only difference I could observe in my
> fairly simple testing of the two kernels.

A quick patch to register profile hit counts for codepaths calling
schedule() and/or yield() appears to be in order for such occasions.


-- wli

  reply	other threads:[~2003-06-02 15:40 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5.2.0.9.2.20030601084615.00ce6e30@pop.gmx.net>
2003-06-01 17:43 ` Strange load issues with 2.5.69/70 in both -mm and -bk trees Tom Sightler
2003-06-02  7:39   ` Ingo Molnar
2003-06-02 14:30     ` Tom Sightler
2003-06-02 15:24       ` Tom Sightler
2003-06-02 15:47         ` Tom Sightler
2003-06-02 15:53           ` William Lee Irwin III [this message]
2003-06-01  4:23 Tom Sightler
2003-06-01  4:45 ` Andrew Morton
2003-06-01 17:36   ` Tom Sightler
2003-06-01 20:07     ` Andrew Morton
2003-06-02  1:59       ` Tom Sightler
2003-06-02  7:36   ` Ingo Molnar
2003-06-02 13:36     ` Tom Sightler
2003-06-02 15:14       ` Ingo Molnar
2003-06-02 15:24         ` Arjan van de Ven
2003-06-02 15:25           ` Ingo Molnar
2003-06-02 15:32             ` Tom Sightler
2003-06-02 17:28               ` Ingo Molnar
2003-06-02 19:27                 ` Tom Sightler
2003-06-02 22:49                   ` Rob Landley
2003-06-04  8:14                   ` Mike Galbraith
2003-06-04 15:08                     ` Tom Sightler
2003-06-04 15:12                       ` Ingo Molnar
2003-06-04 16:00                         ` Tom Sightler
2003-06-04 16:05                       ` Mike Galbraith
2003-06-02 20:53     ` Andreas Boman
2003-06-02 23:10       ` Valdis.Kletnieks

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=20030602155345.GR8978@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@digeo.com \
    --cc=efault@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=ttsig@tuxyturvy.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.