Cachefiles question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux