From: Deepak Yadav Date: Sun, 14 Jun 2020 08:37:08 +0000 (+0530) Subject: Improve documentation about sharing a cache on NFS (#604) X-Git-Tag: v3.7.12~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b4b514f58baf4c990eced9efa07112c1be90db9;p=thirdparty%2Fccache.git Improve documentation about sharing a cache on NFS (#604) (cherry picked from commit 231a151be84ab7998409b2ccbf4e7ee86082392a) --- diff --git a/doc/MANUAL.adoc b/doc/MANUAL.adoc index 19fc85702..58e091f23 100644 --- a/doc/MANUAL.adoc +++ b/doc/MANUAL.adoc @@ -1094,6 +1094,11 @@ 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. +* If operating system versions is different then cache direct hit will be lesser, + and it will lead to slower cache preprocessor hits. sloppiness config can be set to + system_headers to ignore different system header and increase cache direct hits. + It is recommended to have same operating system version when using cache on NFS + to increase cache direct hits. A tip is to set *temporary_dir* to a directory on the local host to avoid NFS traffic for temporary files.