From: Joel Rosdahl Date: Sun, 9 May 2010 20:11:14 +0000 (+0200) Subject: Some notes about sharing a cache on NFS X-Git-Tag: v3.0pre1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ea12e1d1d0dfb4d17d2ced8403b9bd4afe0e9bd;p=thirdparty%2Fccache.git Some notes about sharing a cache on NFS --- diff --git a/manual.txt b/manual.txt index 84f8238bf..ebd0d59b2 100644 --- a/manual.txt +++ b/manual.txt @@ -496,6 +496,20 @@ You may also want to make sure that the developers have *CCACHE_BASEDIR* set appropriately, as discussed in the previous section. +SHARING A CACHE ON NFS +---------------------- + +It is possible to put the cache directory on an NFS filesystem (or similar +filesystems), but keep in mind that: + +* Having the cache on NFS may slow down compilation. Make sure to do some + benchmarking to see if it's worth it. +* ccache hasn't been tested very thoroughly on NFS. + +A tip is to set CCACHE_TEMPDIR to a directory on the local host to avoid NFS +traffic for temporary files. + + USING CCACHE WITH DISTCC ------------------------