From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Move to git is imminent - awaiting Stefan's approval Date: Sun, 12 Jan 2014 18:07:32 +0200 Message-ID: <83lhyl89q3.fsf@gnu.org> References: <8761pvvoq1.fsf@rosalinde.fritz.box> <83d2k3sqqz.fsf@gnu.org> <52CC2D45.1000908@alice.it> <83a9f7sosr.fsf@gnu.org> <52CC5ED3.2000903@alice.it> <83d2k2fkg1.fsf@gnu.org> <87txdenwz3.fsf@igel.home> <20140112062722.GA15615@hysteria.proulx.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1389542877 18840 80.91.229.3 (12 Jan 2014 16:07:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jan 2014 16:07:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bob Proulx Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 12 17:08:03 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W2NZz-0006wp-B3 for ged-emacs-devel@m.gmane.org; Sun, 12 Jan 2014 17:08:03 +0100 Original-Received: from localhost ([::1]:38401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2NZy-0006I9-R5 for ged-emacs-devel@m.gmane.org; Sun, 12 Jan 2014 11:08:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2NZq-0006H2-Ip for emacs-devel@gnu.org; Sun, 12 Jan 2014 11:08:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2NZk-0006nZ-KX for emacs-devel@gnu.org; Sun, 12 Jan 2014 11:07:54 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:57851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2NZk-0006mZ-CP for emacs-devel@gnu.org; Sun, 12 Jan 2014 11:07:48 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MZA00100PU2WE00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sun, 12 Jan 2014 18:07:47 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZA001NQQ4Y80B0@a-mtaout22.012.net.il>; Sun, 12 Jan 2014 18:07:47 +0200 (IST) In-reply-to: <20140112062722.GA15615@hysteria.proulx.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168195 Archived-At: > Date: Sat, 11 Jan 2014 23:27:22 -0700 > From: Bob Proulx > > Eli Zaretskii wrote: > > And now I understand why git ran out of memory on Windows XP: the > > memory footprint of git-pack-objects goes up to 3GB, whereas Windows > > XP has only 3GB address space for all the applications. > > Three hours and 3G of memory for this one repack! It was only 1 hour in my case (I guess Angelo has a slower machine). Also, limiting the number of threads to 2 or even 1 radically lowers the required memory usage. But that doesn't mean you need necessarily run "gc --agressive", please listen to Andreas on this matter. > I have a couple of questions if someone already has the clone > available for a test. Does a clone from the agressively repacked to > 327M repository remain similarly compacted when cloned again from it? It grows slowly after that. E.g., in the 3 days since then it grew by 12MB. I don't know whether this will level out later, a few days is not enough to tell. > If an agressively repacked repository is again repacked but this time > without the --agressive option does the size stay around 327M or does > it get expanded on the subsequent pass? No, it doesn't expand, at least not on my system. In fact, "git gc" just slashed the storage by 10MB out of 12MB that it gained since I ran "gc --agressive". Again, this is just to give you some numbers, I don't want to suggest what should be done on Savannah.