linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: ebiederm+eric@ccr.net (Eric W. Biederman)
To: Andrea Arcangeli <andrea@e-mind.com>
Cc: linux-kernel@vger.rutgers.edu, linux-mm@kvack.org
Subject: Re: 2.2.6_andrea2.bz2
Date: 26 Apr 1999 09:44:36 -0500	[thread overview]
Message-ID: <m1so9nfnl7.fsf@flinx.ccr.net> (raw)
In-Reply-To: Andrea Arcangeli's message of "Mon, 26 Apr 1999 15:06:40 +0200 (CEST)"

>>>>> "AA" == Andrea Arcangeli <andrea@e-mind.com> writes:

AA> On 26 Apr 1999, Eric W. Biederman wrote:
>> The real gain of this is not so much in the current cases we are fast at
>> but for things like network, and compressed files (in general anything that

AA> Could you produce an example (also "look at file.c" will be ok ;) to allow
AA> me to see which are the issues with network and compressed files? Thanks.

The primary one is they can't use the buffer cache so they must roll their
own caching mechanism.

Look at the smbfs version of updatepage. (write through!)
Look at e2compr which doesn't compress data until the file is closed!
    It writes the data uncompressed, and then at iput time
    rewrites the file compressed.
Run a moderately early version of fat_cvf/dmsdos, before they found out how
    to use the buffer cache, and watch it crawl on a read-only fs.
nfs doesn't periodically flush dirty data, to keep the volume low.
    It does flush on file close (which helps, and is as correct as possible
    for nfs), but you can still find

I haven't seen any provision in any of these roll your own solutions
for flushing the dirty buffers when the system is low on memory.
Etc.

The point is that because there isn't a caching subsystem
all of the filesystems above have to roll their own.  And because
they roll their own the code is less polished than a solution which
would work for all of them would be.

Eric
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/

  reply	other threads:[~1999-04-26 14:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.05.9904252047530.7477-100000@laser.random>
     [not found] ` <m1yajfg61n.fsf@flinx.ccr.net>
1999-04-26 13:06   ` 2.2.6_andrea2.bz2 Andrea Arcangeli
1999-04-26 14:44     ` Eric W. Biederman [this message]
1999-04-26 13:45   ` 2.2.6_andrea2.bz2 Andi Kleen
1999-04-26 14:20     ` 2.2.6_andrea2.bz2 Eric W. Biederman

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=m1so9nfnl7.fsf@flinx.ccr.net \
    --to=ebiederm+eric@ccr.net \
    --cc=andrea@e-mind.com \
    --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