We just updated ccache on the Linux buildbots to version 3.0. But it might be worth looking at the next version, because it has both performance improvements and bug fixes for NFS-mounted caches, which AIUI is exactly what we use. http://ccache.samba.org/releasenotes.html#_ccache_3_1 The current version is 3.1.2.
We actually don't use NFS mounted caches, and I don't think we'll want to switch to it....NFS is a really huge pain for us to deal with from an administration standpoint. Regardless, it would be good to see if 3.1 does help our setup.
I actually did test ccache 3.1 as part of bug 588150, my findings should be in https://bugzilla.mozilla.org/show_bug.cgi?id=588150#c19 Unfortunately, ccache perf on NFS (regardless of whether or not we set up a TEMPDIR) is still pretty atrocious, even on mac, where regular disk IO is terribly slow.
found in triage.
See bug 720290 comment 3.
Created attachment 624916 [details] rpm spec file for ccache Here's the spec file I'm using to create these rpms for posterity.
Created attachment 626979 [details] [diff] [review] Install cacche 3.1.7 on linux slaves I've successfully installed the new rpms on linux32 and linux64 slaves in staging.
Comment on attachment 626979 [details] [diff] [review] Install cacche 3.1.7 on linux slaves https://hg.mozilla.org/build/puppet-manifests/rev/64011a4fafcb
This has been deployed to all the puppet masters now. Linux slaves will pick this up as they reboot.