Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Rockbox buildserver and ccache disk usage

Re: Rockbox buildserver and ccache disk usage

From: Michael Sparmann <theseven_at_gmx.net>
Date: Tue, 21 Dec 2010 09:29:42 +0100

> Unfortunately, it doesn't solve my issue though! As you can see, my
> 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 not
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
account?

> 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. I
> 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 ccache
reported, certainly not off by a factor of 4.
Which file system are you using? I'm using XFS with 4K block size.

-------------------------------------------------------------------
Unsubscribe: http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox
FAQ: http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ
Etiquette: http://www.rockbox.org/mail/etiquette.html

Received on 2010-12-21

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa