Mike Frysinger
wrote:
> On Wed, Mar 19, 2008 at 4:48 PM, Bogdan Harjoc wrote:
> > Is the fact that the cache size limit is only configurable as a
> > commandline option intentional ? There seem to be environment
> > vars for virtually everything else but this.
>
> use CCACHE_SIZE
> -mike
>
Hello,
Is the fact that the cache size limit is only configurable as a
commandline option intentional ? There seem to be environment
vars for virtually everything else but this.
I am asking because I am close to the 1GB limit and it would be
tedious to change some build scripts to use CC='ccache
On Wed, Mar 19, 2008 at 11:16 PM, Mike Frysinger
wrote:
> On Wed, Mar 19, 2008 at 6:15 PM, Bogdan Harjoc wrote:
> > You are perhaps referring to the variable that gentoo's portage [1]
> > accepts (and passes to ccache as an option).
>
> it was my understanding that cca
I just did a quick search, and couldn't find discussions on the idea of
caching compiled objects as binary diffs from other existing objects.
Basically, before writing a new object file, ccache could find a similar
object in the cache (based on object-code or source-code hashes for
example) and st
On Mon, Nov 12, 2012 at 2:30 PM, Jürgen Buchmüller wrote:
> Am Montag, den 12.11.2012, 13:49 +0200 schrieb Bogdan Harjoc:
> > Basically, before writing a new object file, ccache could find a similar
> > object in the cache (based on object-code or source-code hashes for
> >
On Mon, Nov 12, 2012 at 3:39 PM, Andrew Stubbs wrote:
> On 12/11/12 11:49, Bogdan Harjoc wrote:
>
>> Alternatively, a "compact" operation could be run periodically, that
>> compresses the cache using the same approach.
>>
>
> Is cache size/capacity a ve
Initial results from a small .ccache (3.0) dir:
- 6476 objects
- 300MB
- probably about 500-1000 compiles/recompiles of around 100 small to large
projects
The test was:
1. Find the candidates for compression, based on: objdump -t | grep " g "
(defined symbols). If two objects had at least 4 symbo
On Mon, Nov 12, 2012 at 8:09 PM, Bogdan Harjoc wrote:
> Initial results from a small .ccache (3.0) dir:
>
The previous results were bogus (I was diffing .gz compressed objects).
I tried the bsdiff approach on a new .ccache folder obtained from compiling
8 linux kernels (various v3.x ve