From: "Ray Lee" <ray-lk@madrabbit.org>
To: "Sanders, Rob M." <sanders-rob@zai.com>
Cc: linux-kernel@vger.kernel.org, bart.vanassche@gmail.com
Subject: Re: Performance changes between 2.6.13 and 2.6.23
Date: Tue, 25 Mar 2008 09:41:30 -0700 [thread overview]
Message-ID: <2c0942db0803250941j65be093et718bb838a2779e9c@mail.gmail.com> (raw)
In-Reply-To: <D108F32273D3044F8C7B24328CB7713701A4D1@york.rivers.zai.com>
On Tue, Mar 25, 2008 at 5:34 AM, Sanders, Rob M. <sanders-rob@zai.com> wrote:
> Hello all,
> I've been lurking on the digest for some time (don't want to receive full lkml traffic at work) and saw the
> posts about Wine performance regressions in 2.6.24. Some of what I saw there, particularly Andi Kleen's
> responses, mirror something that I see on my box at home. I had emailed Andi directly since I only read the
> digest, and I'm posting this here at his suggestion. Please CC: rms@zai.com with any replies, as I'm only
> getting the lkml digest.
> I'm running on a dual 2GHZ G5 Powermac w/2GB ram. I recently upgraded from YDL4.0.91 (2.6.13 kernel) to
> YDL6 (2.6.23 kernel) and noticed that the overall performance of the box seems more sluggish after the upgrade.
> Of more particular concern, the main application that I build has seen a 4-5X slowdown in performance. Under
> YDL4.0.91 I could process roughly 1e8 data points in ~2 seconds, and under YDL6.0 I now process 1e8 data points
So, two processors, and multiple processes passing data back and
forth. Key point seems to be:
> in ~8 seconds. Total CPU loading (from top) is about 5%, under both systems. The application spawns multiple
> processes and uses semaphores and shared memory to move data between the processes. When I use 'vmstat 3' the
> single biggest difference I see between YDL4.0.91 and YDL6 is that the YDL4.0.91 system is the YDL4.0.91 system is
> context switching about 7000 per interval, whereas the YDl6 system is context switching about 1200 times per interval.
Many more context switches per second, so a lot less work is getting
done each time.
> I've been talking somewhat with Owen Stampflee (works for the distro maker, TSS) and have rebuilt the kernel on
> the 2.6 box removing some of the things that I don't need on my box (cell support, etc). There did seem (subjectively)
> to be a slight improvement after that. When I get some more time to play at home I'm going to take the 2.6.13 .config
> I use and build a 2.6.23 kernal using 'make oldconfig' and try to figure if it is a config issues.
> I realize that going from 2.6.13 to 2.6.23 is a *huge* change, and that the problems may not be tied to the kernel
> but to other things, but are there any other suggestions folks have for finding the cause of the performance slowdow
A lot has changed between 2.6.23 and current mainline as well.
Particularly in the scheduler, which I suspect is the issue for your
test. If possible, could you try a 2.6.25-rc-latest kernel, both
before and after an "echo 5 > /proc/sys/kernel/sched_features" and see
if that makes any difference?
next prev parent reply other threads:[~2008-03-25 16:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-25 12:34 Sanders, Rob M.
2008-03-25 13:25 ` Bart Van Assche
2008-03-25 13:52 ` Sanders, Rob M.
2008-03-25 14:23 ` Bart Van Assche
2008-03-25 16:41 ` Ray Lee [this message]
2008-03-25 16:44 ` Sanders, Rob M.
2008-03-27 19:37 ` Sanders, Rob M.
2008-03-28 9:28 ` Ingo Molnar
2008-03-28 10:32 ` Sanders, Rob M.
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=2c0942db0803250941j65be093et718bb838a2779e9c@mail.gmail.com \
--to=ray-lk@madrabbit.org \
--cc=bart.vanassche@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sanders-rob@zai.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
all inboxes | Powered by JetHome®