From: Andrew Morton <akpm@zip.com.au>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: "linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: page_add/remove_rmap costs
Date: Wed, 24 Jul 2002 22:14:37 -0700 [thread overview]
Message-ID: <3D3F893D.4074CDE5@zip.com.au> (raw)
In-Reply-To: <20020725045040.GD2907@holomorphy.com>
William Lee Irwin III wrote:
>
> On Tue, Jul 23, 2002 at 11:33:20PM -0700, Andrew Morton wrote:
> > Been taking a look at the page_add_rmap/page_remove_rmap cost in 2.5.27
> > on the quad pIII. The workload is ten instances of this script running
> > concurrently:
>
> The workload is 16 instances of the same script running on a 16 cpu NUMA-Q
> with 16GB of RAM. oprofile results attached.
These results look funny.
What I do is:
1) rm -rf /var/opd
2) start test
3) op_start --map-file=/boot/System.map --vmlinux=/boot/vmlinux --ctr0-event=CPU_CLK_UNHALTED --ctr0-count=600000
4) sleep 20
5) op_stop
6) oprofpp -l -i /boot/vmlinux
>
> c0105340 3309367 51.0125 default_idle /boot/vmlinux-2.5.28-3
How come?
> c0135667 1095488 16.8865 .text.lock.page_alloc /boot/vmlinux-2.5.28-3
zone->lock?
> 00000fec 475107 7.32358 dump_one /lib/modules/2.5.28-3/kern
that's part of oprofile.
> el/arch/i386/oprofile/oprofile.o
> c0129c10 349662 5.3899 do_anonymous_page /boot/vmlinux-2.5.28-3
OK.
> c01353e4 236718 3.64891 get_page_state /boot/vmlinux-2.5.28-3
whoa. Who's calling that so often? Any patches applied there?
> c0112a84 213189 3.28622 load_balance /boot/vmlinux-2.5.28-3
I thought you'd disabled this?
> c013d31c 71599 1.10367 page_add_rmap /boot/vmlinux-2.5.28-3
> c013d3cc 67122 1.03466 page_remove_rmap /boot/vmlinux-2.5.28-3
page_add_rmap is more expensive than page_remove_rmap.
So again, the list length isn't the #1 problem.
> c013d85a 64302 0.991189 .text.lock.rmap /boot/vmlinux-2.5.28-3
pte_chain_freelist_lock?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
next prev parent reply other threads:[~2002-07-25 5:14 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-24 6:33 Andrew Morton
2002-07-24 6:48 ` William Lee Irwin III
2002-07-24 16:24 ` Rik van Riel
2002-07-24 20:15 ` Andrew Morton
2002-07-24 20:21 ` Rik van Riel
2002-07-24 20:28 ` Andrew Morton
2002-07-25 2:35 ` Rik van Riel
2002-07-25 3:08 ` William Lee Irwin III
2002-07-25 3:14 ` Martin J. Bligh
2002-07-25 4:21 ` Andrew Morton
2002-07-25 2:45 ` William Lee Irwin III
2002-07-25 4:50 ` William Lee Irwin III
2002-07-25 5:14 ` Andrew Morton [this message]
2002-07-25 5:15 ` John Levon
2002-07-25 5:30 ` William Lee Irwin III
2002-07-25 5:47 ` Andrew Morton
2002-07-25 5:42 ` William Lee Irwin III
2002-07-25 5:59 ` Andrew Morton
2002-07-25 7:09 ` Andrew Morton
2002-07-26 7:33 ` Daniel Phillips
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=3D3F893D.4074CDE5@zip.com.au \
--to=akpm@zip.com.au \
--cc=linux-mm@kvack.org \
--cc=wli@holomorphy.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