From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Move to git is imminent - awaiting Stefan's approval Date: Wed, 08 Jan 2014 22:55:21 +0100 Message-ID: <52CDC949.6090107@alice.it> 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> <83d2k2fkg1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389218155 11730 80.91.229.3 (8 Jan 2014 21:55:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jan 2014 21:55:55 +0000 (UTC) Cc: schwab@suse.de, stephen.berman@gmx.net, sven.axelsson@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 08 22:56:00 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 1W116Q-0005DJ-4A for ged-emacs-devel@m.gmane.org; Wed, 08 Jan 2014 22:55:54 +0100 Original-Received: from localhost ([::1]:49069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W116P-0003nv-Ok for ged-emacs-devel@m.gmane.org; Wed, 08 Jan 2014 16:55:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W116I-0003lg-E8 for emacs-devel@gnu.org; Wed, 08 Jan 2014 16:55:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W116C-0003iI-Qy for emacs-devel@gnu.org; Wed, 08 Jan 2014 16:55:46 -0500 Original-Received: from smtp203.alice.it ([82.57.200.99]:24863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1166-0003hT-4j; Wed, 08 Jan 2014 16:55:34 -0500 Original-Received: from [192.168.1.100] (87.12.223.137) by smtp203.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 529A575B062F1481; Wed, 8 Jan 2014 22:55:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <83d2k2fkg1.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.99 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:167818 Archived-At: Il 08/01/2014 18.32, Eli Zaretskii ha scritto: >> 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 NO!! It is on Win XP 32 bit (SP3) with AMD Athlon 64 X2 Dual Core Processor 3800+ and 1.7GiB of RAM. On the same machine I have Kubuntu 12.04 and "git gc --aggressive" works there too.. BTW, I noticed that running "git pull" to have the local repository updated, the size increases of about 1 MiB. > 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. Here, on XP, Task Manager shows a memory usage under 1500 MiB (about 1.4 GiB) In any case this > 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. > should be mandatory.. Ciao, Angelo.