On Sat, Oct 17, 2015 at 1:42 AM, Burkhard Linke <Burkhard.Linke@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > Hi, > > I've noticed that CephFS (both ceph-fuse and kernel client in version 4.2.3) > remove files from page cache as soon as they are not in use by a process > anymore. > > Is this intended behaviour? We use CephFS as a replacement for NFS in our > HPC cluster. It should serve large files which are read by multiple jobs on > multiple hosts, so keeping them in the page cache over the duration of > several job invocations is crucial. Yes. MDS needs resource to track the cached data. We don't want MDS use too much resource. > > Mount options are defaults,noatime,_netdev (+ extra options for the kernel > client). Is there an option to keep data in page cache just like any other > filesystem? So far there is no option to do that. Later, we may add an option to keep the cached data for a few seconds. Regards Yan, Zheng > > Regards, > Burkhard > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com