From: Andrea Arcangeli <andrea@suse.de>
To: Rik van Riel <riel@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.5-rc1-aa1
Date: Thu, 18 Mar 2004 16:53:06 +0100 [thread overview]
Message-ID: <20040318155306.GI2246@dualathlon.random> (raw)
In-Reply-To: <Pine.LNX.4.44.0403181026250.16728-100000@chimarrao.boston.redhat.com>
On Thu, Mar 18, 2004 at 10:32:58AM -0500, Rik van Riel wrote:
> At that point we'll want to split the file-backed stuff off
the filebacked stuff is already separated, what can be separated further
is the preparation for the page->as.mapping support.
> I'm kind of curious which one will end up better under
> which workloads ;)
I know of big iron critical workloads where mine will work better,
though I agree for a desktop not runing kde the anonm is cheaper in
terms of memory utilization (saves .
andrea@dualathlon:~> egrep 'vm_area|anon_vma' /proc/slabinfo
vm_area_struct 6613 8500 76 50 1 : tunables 120 60 8 : slabdata 170 170 0
anon_vma 2085 2250 12 250 1 : tunables 120 60 8 : slabdata 9 9 0
andrea@dualathlon:~> free
total used free shared buffers cached
Mem: 1031348 1014156 17192 0 18144 665052
-/+ buffers/cache: 330960 700388
Swap: 1028152 0 1028152
andrea@dualathlon:~>
the anonmm would take 12*2085+6613*12 = 104k less in my 1G desktop loaded with
my usual stuff (not really, the difference is less than 100k since anonmm takes
quite some bytes, which is significant too if we count the kbytes like I'm
doing), I believe those 100k may be worth it for the super high end workload
swapping 8G on a 16G box with hundred of tasks each task with its own anonymous
direct memory big chunk of memory, anon_vma will avoid checking all hundred MM
for each anon page we swap, plus it gets mremap efficiently which sounds safer
for the short term.
next prev parent reply other threads:[~2004-03-18 15:52 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-18 2:22 2.6.5-rc1-aa1 Andrea Arcangeli
2004-03-18 15:32 ` 2.6.5-rc1-aa1 Rik van Riel
2004-03-18 15:53 ` Andrea Arcangeli [this message]
2004-03-18 16:42 ` 2.6.5-rc1-aa1 Andrea Arcangeli
2004-03-18 16:49 ` 2.6.5-rc1-aa1 Rik van Riel
2004-03-18 20:15 ` 2.6.5-rc1-aa1 Diego Calleja García
2004-03-19 0:34 ` 2.6.5-rc1-aa1 Bill Davidsen
2004-03-19 1:51 ` 2.6.5-rc1-aa1 Diego Calleja García
2004-03-20 16:31 ` 2.6.5-rc1-aa1 Andrea Arcangeli
2004-03-20 16:36 ` 2.6.5-rc1-aa1 Marc-Christian Petersen
2004-03-18 20:41 ` 2.6.5-rc1-aa1 Hugh Dickins
2004-03-18 23:06 ` 2.6.5-rc1-aa1 Andrea Arcangeli
2004-03-18 23:29 ` 2.6.5-rc1-aa1 Andrea Arcangeli
2004-03-19 0:49 ` 2.6.5-rc1-aa1 Paul Mackerras
2004-03-20 13:35 ` 2.6.5-rc1-aa1 Rik van Riel
2004-03-20 14:25 ` 2.6.5-rc1-aa1 Andrea Arcangeli
2004-03-18 22:14 ` 2.6.5-rc1-aa1 Andrea Arcangeli
2004-03-18 22:37 ` 2.6.5-rc1-aa1 Hugh Dickins
2004-03-18 23:09 ` 2.6.5-rc1-aa1 Andrea Arcangeli
[not found] <Pine.GSO.4.58.0403181228360.24039@blue.engin.umich.edu>
2004-03-18 18:03 ` 2.6.5-rc1-aa1 Rik van Riel
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=20040318155306.GI2246@dualathlon.random \
--to=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@redhat.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