From: Troy Benjegerdes <hozer@hozed.org>
To: Linux filesystem caching discussion list <linux-cachefs@redhat.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-fsdevel@vger.kernel.org
Subject: Re: Re: NFS Patch for FSCache
Date: Fri, 13 May 2005 21:18:42 -0500 [thread overview]
Message-ID: <20050514021842.GR999@kalmia.hozed.org> (raw)
In-Reply-To: <13188.1115752371@redhat.com>
On Tue, May 10, 2005 at 08:12:51PM +0100, David Howells wrote:
>
> Steve Dickson <SteveD@redhat.com> wrote:
>
> > But the real saving, imho, is the fact those reads were measured after the
> > filesystem was umount then remounted. So system wise, there should be some
> > gain due to the fact that NFS is not using the network....
>
> I tested md5sum read speed also. My testbox is a dual 200MHz PPro. It's got
> 128MB of RAM. I've got a 100MB file on the NFS server for it to read.
>
> No Cache: ~14s
> Cold Cache: ~15s
> Warm Cache: ~2s
>
> Now these numbers are approximate because they're from memory.
>
> Note that a cold cache is worse than no cache because CacheFS (a) has to check
> the disk before NFS goes to the server, and (b) has to journal the allocations
> of new data blocks. It may also have to wait whilst pages are written to disk
> before it can get new ones rather than just dropping them (100MB is big enough
> wrt 128MB that this will happen) and 100MB is sufficient to cause it to start
> using single- and double-indirection pointers to find its blocks on disk,
> though these are cached in the page cache.
How big was the cachefs filesystem?
Now try reading a 1GB file over nfs..
I have found (with openafs), that I either need a really small cache, or
a really big one.. The bigger the openafs cache gets, the slower it
goes. The only place i run with a > 1GB openafs cache is on an imap
server that has an 8gb cache for maildirs.
next prev parent reply other threads:[~2005-05-14 2:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 10:31 NFS Patch for FSCache Steve Dickson
2005-05-09 21:19 ` Andrew Morton
2005-05-10 18:43 ` Steve Dickson
2005-05-10 19:12 ` [Linux-cachefs] " David Howells
2005-05-14 2:18 ` Troy Benjegerdes [this message]
2005-05-16 13:30 ` David Howells
2005-06-13 12:52 ` Steve Dickson
-- strict thread matches above, loose matches on Subject: below --
2005-05-12 22:43 [Linux-cachefs] " Lever, Charles
2005-05-13 11:17 ` David Howells
2005-05-14 2:08 ` Troy Benjegerdes
2005-05-16 12:47 ` [Linux-cachefs] " David Howells
2005-05-17 21:42 ` David Masover
2005-05-18 10:28 ` [Linux-cachefs] " David Howells
2005-05-19 2:18 ` Troy Benjegerdes
2005-05-19 6:48 ` David Masover
2005-05-18 16:32 Lever, Charles
2005-05-18 17:49 ` David Howells
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=20050514021842.GR999@kalmia.hozed.org \
--to=hozer@hozed.org \
--cc=akpm@osdl.org \
--cc=linux-cachefs@redhat.com \
--cc=linux-fsdevel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).