From: Rik van Riel <H.H.vanRiel@phys.uu.nl>
To: Zlatko Calusic <Zlatko.Calusic@CARNet.hr>
Cc: George <greerga@nidhogg.ham.muohio.edu>,
Linux Kernel List <linux-kernel@vger.rutgers.edu>,
linux-mm@kvack.org
Subject: Re: Out of VM idea
Date: Thu, 30 Apr 1998 22:57:02 +0200 (MET DST) [thread overview]
Message-ID: <Pine.LNX.3.91.980430225256.1311H-100000@mirkwood.dummy.home> (raw)
In-Reply-To: <8790ootnpp.fsf@atlas.infra.CARNet.hr>
On 29 Apr 1998, Zlatko Calusic wrote:
> > You can tune the buffermem & pagecache amount of memory
> > in /proc/sys/vm/{buffermem,pagecache}.
>
> Every time before he starts compiling, and then return to old values
> when he's finished?
>
> IMNSHO, kernel should be autotuning.
How do you propose we should do this? The round-robin
deallocation and on-demand allocation of buffer/user
pages are somewhat auto-tuning.
Maybe we should age the page cache & buffermem pages
to achieve a more LRU-like discarding scheme (the
buffer pages are thrown out randomly at the moment).
> > But why your system has 4 MB of free memory I really
> > don't know...
> if (nr_free_pages > num_physpages >> 4)
> return nr+1;
>
> With 64MB of memory, last 4MB are almost never used!!!
I believe George said something about my patch, with
which the number should be lower.
Anyway, the freepages number should be sysctl tunable,
together with kswapd agressiveness and clustering
size.
> MM in last kernels is not very good.
True, but maybe Linus will integrate my patch, which
makes the kernel behave somewhat more predictable, and
which has a builtin low/high watermark so thrashing is
reduced.
Rik.
+-------------------------------------------+--------------------------+
| Linux: - LinuxHQ MM-patches page | Scouting webmaster |
| - kswapd ask-him & complain-to guy | Vries cubscout leader |
| http://www.phys.uu.nl/~riel/ | <H.H.vanRiel@phys.uu.nl> |
+-------------------------------------------+--------------------------+
prev parent reply other threads:[~1998-04-30 21:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.91.980429071621.20465B-100000@mirkwood.dummy.home>
1998-04-29 19:46 ` Zlatko Calusic
1998-04-30 20:57 ` Rik van Riel [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=Pine.LNX.3.91.980430225256.1311H-100000@mirkwood.dummy.home \
--to=h.h.vanriel@phys.uu.nl \
--cc=Zlatko.Calusic@CARNet.hr \
--cc=greerga@nidhogg.ham.muohio.edu \
--cc=linux-kernel@vger.rutgers.edu \
--cc=linux-mm@kvack.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