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: Wed, 08 Jan 2014 19:32:46 +0200 Message-ID: <83d2k2fkg1.fsf@gnu.org> References: <52CB2AB0.4080505@alice.it> <877gachfza.fsf@igel.home> <52CBD5CC.4020804@alice.it> <8761pvvoq1.fsf@rosalinde.fritz.box> <83d2k3sqqz.fsf@gnu.org> <52CC2D45.1000908@alice.it> <83a9f7sosr.fsf@gnu.org> <52CC5ED3.2000903@alice.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1389202387 9938 80.91.229.3 (8 Jan 2014 17:33:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2014 17:33:07 +0000 (UTC) Cc: schwab@suse.de, stephen.berman@gmx.net, sven.axelsson@gmail.com, emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 08 18:33:12 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 1W0x0A-0001PX-TP for ged-emacs-devel@m.gmane.org; Wed, 08 Jan 2014 18:33:11 +0100 Original-Received: from localhost ([::1]:48080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0x0A-0000fb-Hf for ged-emacs-devel@m.gmane.org; Wed, 08 Jan 2014 12:33:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0x01-0000Wv-AI for emacs-devel@gnu.org; Wed, 08 Jan 2014 12:33:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0wzt-0001eZ-SW for emacs-devel@gnu.org; Wed, 08 Jan 2014 12:33:01 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:58782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0wzt-0001eV-Dt for emacs-devel@gnu.org; Wed, 08 Jan 2014 12:32:53 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MZ300100FB86N00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Wed, 08 Jan 2014 19:32:52 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZ30017MFER1U90@a-mtaout21.012.net.il>; Wed, 08 Jan 2014 19:32:52 +0200 (IST) In-reply-to: <52CC5ED3.2000903@alice.it> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:167758 Archived-At: > Date: Tue, 07 Jan 2014 21:08:51 +0100 > From: Angelo Graziosi > CC: stephen.berman@gmx.net, sven.axelsson@gmail.com, emacs-devel@gnu.org > > $ cd emacs.git/ > $ git gc --aggressive > Counting objects: 735546, done. > Delta compression using up to 2 threads. > Compressing objects: 100% (734446/734446), done. > Writing objects: 100% (735546/735546), done. > Total 735546 (delta 589814), reused 143177 (delta 0) > Checking connectivity: 735546, done. > > which took almost 3 hours to be completed. > > And the size is: > > $ cd .. > > $ du -s emacs.git/ > 327M emacs.git/ > > which seems very good! I guess this was on Windows 7, right? I succeeded to do this on a 64-bit Windows 7 as well, and it took about 2 hours. 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. So I guess we will need to repack the repository on savannah as a prerequisite for switching, and then make sure it is repacked regularly afterwards. Otherwise, people with low memory and/or slow CPUs will need many hours to do this on their local machines.