Dear, mfser
I have installed the MFS.
But it can not cache the lookup operations .
Here is the mfsmount way and the cat .stats result
mfsmount -o mfsattrcacheto=60000 -o mfsentrycacheto=60000 -o
mfsentrycacheto=60000 -o mfswritecachesize=1024 /home/rrddata/ -H HOST
fuse_ops.statfs: 24
fuse_ops.access: 0
fuse_ops.lookup-cached: 75
fuse_ops.lookup: 12348564
fuse_ops.getattr-cached: 170
fuse_ops.getattr: 1578048
fuse_ops.setattr: 35
fuse_ops.mknod: 0
fuse_ops.unlink: 1096
fuse_ops.mkdir: 1
fuse_ops.rmdir: 0
fuse_ops.symlink: 0
fuse_ops.readlink: 0
fuse_ops.rename: 8
fuse_ops.link: 0
fuse_ops.opendir: 342
fuse_ops.readdir: 1759
fuse_ops.releasedir: 342
fuse_ops.create: 1107
fuse_ops.open: 4438617
fuse_ops.release: 4439721
fuse_ops.read: 3068682
fuse_ops.write: 35827564
fuse_ops.flush: 4439692
fuse_ops.fsync: 13
master.reconnects: 0
master.bytes_sent: 929559594
master.bytes_received: 1395627491
master.packets_sent: 35603705
master.packets_received: 35600113
And How Can I improve the cache Hit.
Thank you very much in advance
Zhenfang,liang
|