From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.176.0/21 X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 From: "J. Bruce Fields" Subject: Re: fetching packs and storing them as packs Date: Fri, 27 Oct 2006 12:04:50 -0400 Message-ID: <20061027160450.GA3670@fieldses.org> References: <45413209.2000905@tromer.org> <20061027014229.GA28407@spearce.org> <45417205.6020805@tromer.org> <20061027030054.GB28407@spearce.org> <20061027143854.GC20017@pasky.or.cz> <20061027144839.GB32451@fieldses.org> <20061027150334.GD20017@pasky.or.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Date: Fri, 27 Oct 2006 16:46:02 +0000 (UTC) Cc: Nicolas Pitre , Shawn Pearce , Eran Tromer , Junio C Hamano , git@vger.kernel.org Return-path: Envelope-to: gcvg-git@gmane.org Content-Disposition: inline In-Reply-To: <20061027150334.GD20017@pasky.or.cz> User-Agent: Mutt/1.5.13 (2006-08-11) Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GdUCs-0008Gf-TX for gcvg-git@gmane.org; Fri, 27 Oct 2006 18:05:20 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751091AbWJ0QFG (ORCPT ); Fri, 27 Oct 2006 12:05:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751105AbWJ0QFG (ORCPT ); Fri, 27 Oct 2006 12:05:06 -0400 Received: from mail.fieldses.org ([66.93.2.214]:56273 "EHLO pickle.fieldses.org") by vger.kernel.org with ESMTP id S1751091AbWJ0QFA (ORCPT ); Fri, 27 Oct 2006 12:05:00 -0400 Received: from bfields by pickle.fieldses.org with local (Exim 4.63) (envelope-from ) id 1GdUCQ-0001dA-Pl; Fri, 27 Oct 2006 12:04:50 -0400 To: Petr Baudis Sender: git-owner@vger.kernel.org On Fri, Oct 27, 2006 at 05:03:34PM +0200, Petr Baudis wrote: > Dear diary, on Fri, Oct 27, 2006 at 04:48:39PM CEST, I got a letter > where "J. Bruce Fields" said that... Ya know, it'd be cool if that fit on one line.... > > On Fri, Oct 27, 2006 at 04:38:54PM +0200, Petr Baudis wrote: > > > I don't really like this that much. Big projects can have 10 commits per > > > hour on average, and they also take potentially long time to repack, so > > > you might get to never really repack them. > > > > An average of 10 per minute doesn't mean there aren't frequent long idle > > times. That commit traffic is probably extremely bursty, right? > > 10 per _hour_. :-) Whoops, right. > E.g. GNOME is 7 commits per hour average, and it does tend to be pretty > spread out: > > http://cia.navi.cx/stats/project/gnome > > (Unfortunately I can't figure out how to squeeze more commits from the > web interface. KDE gets even more commits than GNOME and Gentoo tops > all the CIA-tracked projects.) That's not enough to tell how long on average you'd have to wait for a gap of a certain length. I think if you expect x commits per hour, and need y hours to prune, then you should be able to get a worst-case estimate of hours between y-hour gaps from octave -q --eval "1/poisscdf(0,x/y)" but my statistics isn't great, so maybe that's not quite right. And in any case the commit arrival times are probably very far from independent, which probably makes gaps more likely.