Rockbox mail archive
Subject: Re: Rockbox buildserver and ccache disk usage
Re: Rockbox buildserver and ccache disk usage
Michael Sparmann wrote:
>> Unfortunately, it doesn't solve my issue though! As you can see,
>> settings are pretty much the same as yours, with a limit of 1Gb. I
>> have done nothing with ccache other than install it (Fedora 12). I
>> certainly haven't changed any settings whatsoever.
> Same here. I've been running my client for some months now, probably
> as long as yours.
>> [rockbox_at_jewel ~]$ ccache -s
>> cache directory /home/rockbox/.ccache
>> cache hit 5208325
>> cache miss 7803051
> Hm, your cache seems to be rather inefficient, considering the cache
> size and hit/miss ratio. Also your percentage of linking operations
> is a
> lot higher than mine...
>> called for link 1948595
>> multiple source files 1872
>> compile failed 7669
>> ccache internal error 10188
>> preprocessor error 885
>> couldn't find the compiler 763
>> cache file missing 3
>> not a C/C++ file 188902
>> autoconf compile/link 2236
>> unsupported compiler option 319033
>> no input file 48939
>> files in cache 40754
> I have more items in the cache, taking a lot less space. What is it
> caching for you? Did you also compile other things using the rockbox
>> cache size 890.9 Mbytes
>> max cache size 976.6 Mbytes
>> Running ccache -c doesn't clear any space.
>> I ran ccache -C to clear the space, and usage has dropped to 11Mb.
>> will keep an eye on it and see how it goes.
>> What's the actual disk usage of your cache, as shown by:
>> du -sh /home/buildclient/.ccache
> I don't remember the exact value, but it was pretty close to what
> reported, certainly not off by a factor of 4.
> Which file system are you using? I'm using XFS with 4K block size.
ext4 using default settings, which is also a 4k block size.
I only compile rockbox from that account, from 2 svn checkout trees
(one clean, one with patches). The buildserver tree is the same one
as the clean one, so only 2 compile locations in total. However,
even if I compiled loads of other stuff, shouldn't ccache keep track
and housekeep anyway?
Received on 2010-12-21
Page was last modified "Jan 10 2012" The Rockbox Crew