[ccache] memcached with ccache
tardyp at gmail.com
Tue Jul 2 08:30:49 MDT 2013
> On Thu, Jun 20, 2013 at 11:03 PM, Pierre Tardy <tardyp at gmail.com> wrote:
>> Back in 2010, there has been some question about supporting memcached as
>> a backend for ccache:
>> Looks like this thread hasn't result in code, and I did take a few days
>> to make an attempt at it.
>> Here is the first working code:
FWIW, I've been able to make some extensive testing of this.
I've been running 6 big xeon machines, building our Android trees over and
over (50+ different configuration), and this ccache version.
Each machine was configured with memcached, with 20GB cache size, and 16MB
max object (option -I 16m)
The cache did quickly warm up and then build time decreased slightly less
time as with mainline ccache.
The big difference is that my cache hit was much better. Once a patch has
been built in one build slave, its cached result is available for the other
The size of the cached object files for one build is about 5GB, it
transfers without too much issue during the 5 mins of the c/c++ build on
[image: Inline image 1]
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 97480 bytes
Desc: not available
More information about the ccache