From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Pitre Subject: Re: Git as a filesystem Date: Fri, 21 Sep 2007 09:45:35 -0400 (EDT) Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: Johannes Schindelin , git@vger.kernel.org To: Peter Stahlir X-From: git-owner@vger.kernel.org Fri Sep 21 15:45:42 2007 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1IYipC-0007Mp-5a for gcvg-git-2@gmane.org; Fri, 21 Sep 2007 15:45:42 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757389AbXIUNph (ORCPT ); Fri, 21 Sep 2007 09:45:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757543AbXIUNpg (ORCPT ); Fri, 21 Sep 2007 09:45:36 -0400 Received: from relais.videotron.ca ([24.201.245.36]:18914 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756659AbXIUNpg (ORCPT ); Fri, 21 Sep 2007 09:45:36 -0400 Received: from xanadu.home ([74.56.106.175]) by VL-MH-MR001.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JOQ00KZ00VZIT50@VL-MH-MR001.ip.videotron.ca> for git@vger.kernel.org; Fri, 21 Sep 2007 09:45:35 -0400 (EDT) In-reply-to: X-X-Sender: nico@xanadu.home Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Fri, 21 Sep 2007, Peter Stahlir wrote: > > > I wonder how big a deltified Debian mirror in one pack file would be. :) > > > > It would be just as big as the non gitified storage on disk. > > > > The space saving with git comes from efficient delta storage of > > _versioned_ files, i.e. multiple nearly identical versions of the same > > file where the stored delta is only the small difference between the > > first full version and subsequent versions. Unless you plan on storing > > many different Debian versions together, you won't benefit from any > > delta at all. And since Debian packages are already compressed, git > > won't be able to compress them further. > > > > So don't waste your time. > > The 252GB stem from the fact that there are more than 10 architectures. > I guess the /usr/share/doc of all architectures could be deltified (as could > be all files that are architecture-independent) > > Right? Indeed. But how much does this represents, once compressed, compared to the rest? I doubt it is significant enough for the trouble. Nicolas