From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: excessive swapping
Date: Fri, 13 Aug 2004 13:10:59 +0100 [thread overview]
Message-ID: <1092399058.24408.13.camel@localhost.localdomain> (raw)
In-Reply-To: <1092381036.2597.29.camel@rivendell.home.local>
On Gwe, 2004-08-13 at 08:10, Florin Andrei wrote:
> The efficiency of increasing the disk cache decreases exponentially with
> size, like any other cache. Then what's the point of sacrificing useful
> memory just to increase some hypothetical "useful" cache?
The problem is defining "useful". Pieces of applications not being
run at the moment are also not useful. Balancing them isn't easy
because as you say the cache behaviour is exponential _and_ the two
caches have different behaviours when you get blocking (program paging
is generally random so 30+ times slower than streaming bits). Plus there
is user perception.
The latest code is clearly wrong but it isn't simple to get the balance
right either.
next prev parent reply other threads:[~2004-08-13 13:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-13 6:40 excessive swapping Florin Andrei
2004-08-13 6:44 ` Florin Andrei
2004-08-13 7:10 ` Florin Andrei
2004-08-13 7:24 ` dvd ripping causing: " bert hubert
2004-08-13 9:00 ` Matt Heler
2004-08-13 12:10 ` Alan Cox [this message]
2004-08-13 7:10 ` bert hubert
2004-09-02 6:02 ` Florin Andrei
2004-09-28 15:39 ` Marcelo Tosatti
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=1092399058.24408.13.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.