yangljun / s3fs

Automatically exported from code.google.com/p/s3fs
GNU General Public License v2.0
0 stars 0 forks source link

Cache algorithm #406

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Detailed description of support request:
Hi,
Which cache algorithm(LRU,MRU,Random..) has been implemented in s3fs?

Thanks,
Naresh
===================================================================
The following information is very important in order to help us to help
you.  Omission of the following details may delay your support request or
receive no attention at all.
===================================================================
Version of s3fs being used (s3fs --version):
1.74
Version of fuse being used (pkg-config --modversion fuse):

System information (uname -a):

Distro (cat /etc/issue):

s3fs command line used (if applicable):

/etc/fstab entry (if applicable):

s3fs syslog messages (grep s3fs /var/log/syslog):

Original issue reported on code.google.com by naresh.b...@gmail.com on 10 Jan 2014 at 4:08

GoogleCodeExporter commented 9 years ago
Hi,

s3fs uses two types for caching, one is for file stats, the other is for file 
contents.
The cache for file stats is cached out by LRU.
For the file contents is not cached out by s3fs, but you can remove it 
manually.(see test/sample_delcache.sh)

Regards,

Original comment by ggta...@gmail.com on 13 Jan 2014 at 2:01