From owner-freebsd-current@FreeBSD.ORG Wed Nov 16 01:02:46 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 490CE16A41F for ; Wed, 16 Nov 2005 01:02:46 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from www.portaone.com (support.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85E9D43D53 for ; Wed, 16 Nov 2005 01:02:45 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.96] (dell.portaone.com [70.68.0.213]) (authenticated bits=0) by www.portaone.com (8.12.11/8.12.11) with ESMTP id jAG0gNn1059719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Nov 2005 01:42:26 +0100 (CET) (envelope-from sobomax@portaone.com) Message-ID: <437A806A.9090502@portaone.com> Date: Tue, 15 Nov 2005 16:42:18 -0800 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: michael johnson References: <200511141702.45491.nb_root@videotron.ca> <200511150542.34910.nb_root@videotron.ca> <4379BCEB.6030806@acidy.com> <200511150611.31743.nb_root@videotron.ca> <20051115183647.GA1783@schweikhardt.net> <20051115211418.GE1783@schweikhardt.net> <437A780C.8070609@portaone.com> <3DE7B806-FB6B-4388-8FC7-E495F82E9D9B@ahze.net> In-Reply-To: <3DE7B806-FB6B-4388-8FC7-E495F82E9D9B@ahze.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.86.2/1176/Tue Nov 15 21:47:39 2005 on www.portaone.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.0 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on www.portaone.com Cc: Steve Hodgson , Constantin d'Ribin , Nicolas Blais , freebsd-current@freebsd.org, Jens Schweikhardt Subject: Re: Using ccache for build{world, kernel} X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim.Sobolev@portaone.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2005 01:02:46 -0000 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