From: Lukas Hejtmanek <xhejtman@ics.muni.cz>
To: David Howells <dhowells@redhat.com>
Cc: linux-fsdevel@vger.kernel.org, nfsv4@linux-nfs.org
Subject: Cachefiles question
Date: Fri, 8 May 2009 14:54:25 +0200 [thread overview]
Message-ID: <20090508125425.GK18351@ics.muni.cz> (raw)
Hello,
what is fscache newly added into mainline supposed to do?
I thought it is used as writeback cache and read cache for network file
systems. But it appears that it does not do any writeback and it seems it
caches only few reads.
I put whole Linux kernel sources on my NFS volume, mounted with fcs option,
have cachefilesd running. I did: make defconfig, make -j4. I put my caching
files into /opt/fscache:
cat /etc/cachefilesd.conf
dir /opt/fscache
however, after the build is complete:
/opt/fscache# du -sm
2 .
so it looks like only 2MB of total 572MB is cached. I'm I something missing or the
fscache should not be better than this?
/opt is 491GB and uses XFS.
even after taring whole kernel sources, fscache does not consume more free
space.
--
Lukáš Hejtmánek
next reply other threads:[~2009-05-08 12:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-08 12:54 Lukas Hejtmanek [this message]
2009-05-08 14:11 ` Cachefiles question 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=20090508125425.GK18351@ics.muni.cz \
--to=xhejtman@ics.muni.cz \
--cc=dhowells@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=nfsv4@linux-nfs.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).