From: Tim Chen <tim.c.chen@linux.intel.com>
To: Andi Kleen <ak@suse.de>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
Adrian Bunk <bunk@stusta.de>,
linux-kernel@vger.kernel.org, discuss@x86-64.org
Subject: Re: 2.6.19-rc1: x86_64 slowdown in lmbench's fork
Date: Fri, 03 Nov 2006 12:25:17 -0800 [thread overview]
Message-ID: <1162585517.10806.112.camel@localhost.localdomain> (raw)
In-Reply-To: <200611031847.49222.ak@suse.de>
On Fri, 2006-11-03 at 18:47 +0100, Andi Kleen wrote:
> > So unless there is some other array that is sized by NR_IRQs
> > in the context switch path which could account for this in
> > other ways. It looks like you just got unlucky.
>
>
> TLB/cache profiling data might be useful?
> My bet would be more on cache effects.
>
The TLB miss, cache miss and page walk profiles did not change when I
measured it.
I have a suspicion that the overhead to pin parent and child
processes to specific cpu had something to do with the
change in time observed. Lmbench includes this overhead in
the fork time it reported. I had chosen the lmbench option to
set parent and child process on specific cpu.
When I skip this by picking another lmbench option to let scheduler
pick the placement of parent and child process. I see that
the fork time now stays unchanged with this setting. Wonder if
the increase in time is in sched_setaffinity.
Tim
prev parent reply other threads:[~2006-11-03 21:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-02 16:44 2.6.19-rc1: Slowdown in lmbench's fork Tim Chen
2006-11-02 18:33 ` Eric W. Biederman
2006-11-02 18:34 ` Tim Chen
2006-11-03 2:11 ` 2.6.19-rc1: x86_64 slowdown " Adrian Bunk
2006-11-03 9:08 ` Eric W. Biederman
2006-11-03 16:10 ` Tim Chen
2006-11-03 17:35 ` Eric W. Biederman
2006-11-03 17:47 ` Andi Kleen
2006-11-03 18:18 ` Eric W. Biederman
2006-11-03 18:39 ` Andi Kleen
2006-11-03 20:25 ` Tim Chen [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=1162585517.10806.112.camel@localhost.localdomain \
--to=tim.c.chen@linux.intel.com \
--cc=ak@suse.de \
--cc=bunk@stusta.de \
--cc=discuss@x86-64.org \
--cc=ebiederm@xmission.com \
--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