From: Andrea Arcangeli <andrea@suse.de>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: Strange dcache memory pressure when highmem enabled
Date: Wed, 22 Oct 2003 03:03:10 +0200 [thread overview]
Message-ID: <20031022010310.GD12013@velociraptor.random> (raw)
In-Reply-To: <16277.47600.3243.275778@notabene.cse.unsw.edu.au>
On Wed, Oct 22, 2003 at 08:57:52AM +1000, Neil Brown wrote:
> I didn't end up trying Andrew's patch, but tried 2.4.23-pre7 instead.
> It appears to be doing the right thing.
> Free Highmem (grep HighFree /proc/meminfo) steadily dropped from 3Gig
> to about 2-3 Meg and stayed there.
> The dentry cache (grep dentry_cache /proc/slabinfo) climbed up to
> about 500,000 and stayed there for 24 hours - much better than before
> where it would often be only a few thousand and we had complaints every
> night when the backups ran.
sounds good. And unless I misread something Andrew's patch shrinking
lowmem only for highmem allocation definitely looks wrong and it would
be DoSable as well.
As for 2.4 mainline there's some bit of refill_inactive still not fully
classzone aware, it's the half merge bit mentioned earlier on the list
that also introduced a typo kind of bug. My tree is fully aware instead
to avoid falling apart on the 32G boxes in production. Those secondary
bits in refill_inactive should be merged in mainline too over time.
Anyways for a 1G machine (or maybe with 2G too), those bits could hardly
make any difference, I assume your highmem/lowmem ratio isn't too high.
thanks,
Andrea - If you prefer relying on open source software, check these links:
rsync.kernel.org::pub/scm/linux/kernel/bkcvs/linux-2.[45]/
http://www.cobite.com/cvsps/
prev parent reply other threads:[~2003-10-22 1:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 4:33 Strange dcache memory pressure when highmem enabled Neil Brown
2003-10-15 5:05 ` Bryan O'Sullivan
2003-10-15 5:10 ` Neil Brown
2003-10-15 5:43 ` Andrew Morton
2003-10-15 5:46 ` Neil Brown
2003-10-15 9:58 ` Stephan von Krawczynski
2003-10-16 13:33 ` Andrea Arcangeli
2003-10-21 22:57 ` Neil Brown
2003-10-22 1:03 ` Andrea Arcangeli [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=20031022010310.GD12013@velociraptor.random \
--to=andrea@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@cse.unsw.edu.au \
/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