From: William Lee Irwin III <wli@holomorphy.com>
To: Rik van Riel <riel@imladris.surriel.com>
Cc: Andrew Morton <akpm@digeo.com>,
"Martin J. Bligh" <mbligh@aracnet.com>,
linux-kernel@vger.kernel.org, lse-tech@lists.sourceforge.net,
dmccr@us.ibm.com
Subject: Re: Performance of partial object-based rmap
Date: Fri, 21 Feb 2003 02:00:10 -0800 [thread overview]
Message-ID: <20030221100010.GB10401@holomorphy.com> (raw)
In-Reply-To: <Pine.LNX.4.50L.0302210117490.2329-100000@imladris.surriel.com>
On Fri, Feb 21, 2003 at 01:25:25AM -0300, Rik van Riel wrote:
> For object-based reverse mapping, the worst case is with large
> objects which are sparsely mapped many times (nonlinear vmas)
> and deeply inherited COW anonymous memory (apache w/ 300 children).
Actually few users of this care about time, only lowmem space. It
was (re)invented, after all, to save lowmem used for vma's.
The technical issues with 32-bit aren't anywhere near as difficult
to deal with as the massive amount of backlash anything targeted
at addressing 32-bit issues gets. These extremely irritating attempts
to marginalize every line of code written to address 32-bit issues are
probably best dealt with by showing common benefits with the so-called
"desktop" machines and/or workloads.
So witness a 768MB, 600MHz Athlon, running xmms, xterms, and mozilla:
Mem: 767376k av, 761932k used, 5444k free, 0k shrd, 70044k buff
619264k active, 104160k inactive
Swap: 506008k av, 155860k used, 350148k free 197644k cached
pte_chain 5182K 5188K 99.88%
radix_tree_node 1338K 3088K 43.32%
dentry_cache 1591K 2970K 53.59%
reiser_inode_cache 480K 1226K 39.17%
buffer_head 1040K 1043K 99.79%
size-4096 828K 828K 100.00%
size-32 796K 800K 99.54%
biovec-BIO_MAX_PAGES 768K 780K 98.46%
pgd 704K 704K 100.00%
nr_page_table_pages 689
which amounts to 2756KB RAM used for PTE's, demonstrating large
amounts of internal fragmentation within the pte_chain slab.
Reducing kernel memory consumption would reduce swapping requirements,
which generally speeds things up on the precious "desktop". The vfs
should probably get its act together too, since normal usage regularly
triggers explosive dentry_cache and reiser_inode_cache space usage.
-- wli
next prev parent reply other threads:[~2003-02-21 9:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-20 4:25 Martin J. Bligh
2003-02-20 4:47 ` William Lee Irwin III
2003-02-20 5:14 ` Martin J. Bligh
2003-02-20 5:16 ` [Lse-tech] " William Lee Irwin III
2003-02-20 5:27 ` Martin J. Bligh
2003-02-21 1:44 ` Martin J. Bligh
2003-02-21 3:08 ` Andrew Morton
2003-02-21 3:25 ` Rik van Riel
2003-02-21 3:47 ` Andrew Morton
2003-02-21 4:25 ` Rik van Riel
2003-02-21 10:00 ` William Lee Irwin III [this message]
2003-02-21 19:15 ` [Lse-tech] " William Lee Irwin III
2003-02-21 19:27 ` William Lee Irwin III
2003-02-21 3:32 ` Martin J. Bligh
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=20030221100010.GB10401@holomorphy.com \
--to=wli@holomorphy.com \
--cc=akpm@digeo.com \
--cc=dmccr@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lse-tech@lists.sourceforge.net \
--cc=mbligh@aracnet.com \
--cc=riel@imladris.surriel.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®