From: William Lee Irwin III <wli@holomorphy.com>
To: davidm@hpl.hp.com
Cc: "David S. Miller" <davem@redhat.com>,
torvalds@osdl.org, linux-arch@vger.kernel.org
Subject: Re: copy_page_range()
Date: Mon, 9 Aug 2004 02:04:58 -0700 [thread overview]
Message-ID: <20040809090458.GO11200@holomorphy.com> (raw)
In-Reply-To: <16663.15729.828367.307053@napali.hpl.hp.com>
On Mon, Aug 09, 2004 at 02:01:37AM -0700, David Mosberger wrote:
> I didn't recall copy_page_range() being so high on ia64, but it's been
> a while since looked at this, so I ran it again (this is with a simple
> fork() loop; lmbench is trying to be too clever for me so I don't like
> profiling it...):
> % time self cumul calls self/call tot/call name
> 36.89 10.78 10.78 267k 40.4u 40.4u clear_page_tables
> 25.99 7.59 18.37 573k 13.2u 13.2u copy_page
> 11.42 3.34 21.70 2.07M 1.61u 1.61u clear_page
> I suspect some reasons for the different profile may be:
> - 16KB page-size vs. 4KB page-size
> - My binary was statically linked
> The good news is that your proposal should help clear_page_tables()
> just as easily as copy_page_range(). ;-)
These results are actually consistent with large-memory ia32.
Instruction-level profiles showed that the largest overhead in
copy_page_range() on such ia32 boxen appeared to be mm->rss++.
-- wli
next prev parent reply other threads:[~2004-08-09 9:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-07 7:05 copy_page_range() David S. Miller
2004-08-07 8:07 ` copy_page_range() William Lee Irwin III
2004-08-11 7:07 ` copy_page_range() David S. Miller
2004-08-11 7:35 ` copy_page_range() William Lee Irwin III
2004-08-11 16:13 ` copy_page_range() Linus Torvalds
2004-08-11 20:45 ` copy_page_range() David S. Miller
2004-08-12 3:53 ` copy_page_range() David S. Miller
2004-08-09 9:01 ` copy_page_range() David Mosberger
2004-08-09 9:04 ` William Lee Irwin III [this message]
2004-08-09 9:27 ` copy_page_range() David Mosberger
2004-08-09 9:29 ` copy_page_range() William Lee Irwin III
2004-08-09 10:01 ` copy_page_range() David Mosberger
2004-08-09 17:46 ` copy_page_range() David S. Miller
2004-08-09 17:08 ` copy_page_range() Linus Torvalds
2004-08-09 18:49 ` copy_page_range() William Lee Irwin III
2004-08-09 17:45 ` copy_page_range() David S. Miller
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=20040809090458.GO11200@holomorphy.com \
--to=wli@holomorphy.com \
--cc=davem@redhat.com \
--cc=davidm@hpl.hp.com \
--cc=linux-arch@vger.kernel.org \
--cc=torvalds@osdl.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