Using ccache for build{world, kernel}

Maxim Sobolev sobomax at portaone.com
Tue Nov 15 17:02:46 PST 2005


michael johnson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> On Nov 15, 2005, at 7:06 PM, Maxim Sobolev wrote:
> 
>> I have better patch which extends detection mechanism, so that  along 
>> with size/mtime checksum of the compiler binary is stored as  well. 
>> Since compiler binary linked from the same sources/objects  will have 
>> the same checksum it allows ccache to be used OOB with  buildworld. Do 
>> you have any interest in putting it into the port?
>>
>> http://www.portaone.com/~sobomax/ccache.buildworld
>>
> 
> Sure, I just have one question about the way this thing works. Would  
> using this patch not
> make collision probability of the cache higher? I don't think this  
> would be a huge problem,
> but it's not impossible to do with a 1,000,000~ file cache now.

I am not a cryptoanalyst but I don't think it can have any measureable 
effect on collision probability.

-Maxim


More information about the freebsd-current mailing list