Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 11 Feb 2002 21:09:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 11 Feb 2002 21:09:25 -0500 Received: from 1Cust42.tnt15.sfo3.da.uu.net ([67.218.75.42]:64777 "EHLO morrowfield.home") by vger.kernel.org with ESMTP id ; Mon, 11 Feb 2002 21:09:17 -0500 Date: Mon, 11 Feb 2002 21:17:43 -0800 (PST) Message-Id: <200202120517.VAA21821@morrowfield.home> From: Tom Lord To: lm@bitmover.com CC: jmacd@CS.Berkeley.EDU, jaharkes@cs.cmu.edu, linux-kernel@vger.kernel.org In-Reply-To: <20020211141404.A21336@work.bitmover.com> (message from Larry McVoy on Mon, 11 Feb 2002 14:14:04 -0800) Subject: Re: linux-2.5.4-pre1 - bitkeeper testing In-Reply-To: <20020207165035.GA28384@ravel.coda.cs.cmu.edu> <200202072306.PAA08272@morrowfield.home> <20020207132558.D27932@work.bitmover.com> <20020211002057.A17539@helen.CS.Berkeley.EDU> <20020211070009.S28640@work.bitmover.com> <20020211141404.A21336@work.bitmover.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This is degenerating into silliness (which is good, imho :-). Josh's complexity analysis was right and so was Larry's because they are using phrases like "constant time" with different referants and I'm sure we all know that (if we bother to read the very long messages). For those following along, it's an interesting display of the different rhetorical norms of acadamia vs. business. It may be theoretically interesting to minimize the space taken up by revisions, but I think it is more economically sensible to screw that and and instead, maximize convenience and interactive speed with features like revision libraries (as in arch). This ain't the early 90's any more. Look, I think arch is a lot closer to being ready for deployment in kernel work than Larry's messages suggest and a better overall solution than bitkeeper. But whatever -- Linus appears to be fully committed to bitkeeper and uninterested in contemplating alternatives. One can presume he'll either eventually lose hard or drag the rest of the kernel hackers along. -t arch is at http://www.regexps.com Date: Mon, 11 Feb 2002 14:14:04 -0800 From: Larry McVoy Mail-Followup-To: Larry McVoy , Josh MacDonald , Tom Lord , jaharkes@cs.cmu.edu, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-UIDL: 170bff3c69c14615bf23eabee2d7e2df On Mon, Feb 11, 2002 at 12:20:57AM -0800, Josh MacDonald wrote: > Bounding the chain length is easy, it just means that instead of > storing 1000 deltas in a chain you store 50 fully-expanded versions > and 50 delta chains of max length 20. Of course this means a little > extra storage, but really how much? Observe that storing 50 out of > 1000 versions is only 5%, which is pretty good as delta-compression > ratios go. A typical delta is usually larger than 5% of the file > size. I won't bore you all by carrying out the math, it can easily be > found in either my report or his. The point is that bounding the > chain length by introducing full copies every once in a while does not > dramatically hurt your compression ratio. How about some numbers which contrast your claims? Here are the diff sizes for all the changes in Linus' BK tree. Note that he is importing patches which may actually be bigger than your typical checkin, but no matter, the point stands even if they represent exactly one checkin per patch. In this tree, at least, a typical delta is less than .63% of the file size. And if you are measuring against the revision history size, then your numbers are even more off. 2198 >= 20.0000000% 1647 >= 10.0000000% 2240 >= 5.0000000% 2508 >= 2.5000000% 2879 >= 1.2500000% 2983 >= 0.6250000% 2962 >= 0.3125000% 2564 >= 0.1562500% 1581 >= 0.0781250% 919 >= 0.0390625% 400 >= 0.0195312% 162 >= 0.0097656% 50 >= 0.0048828% 12 >= 0.0024414% 105 >= 0.0012207% -- --- Larry McVoy lm at bitmover.com http://www.bitmover.com/lm - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/