From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Move to git is imminent - awaiting Stefan's approval Date: Sun, 12 Jan 2014 11:11:21 +0100 Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389521495 32636 80.91.229.3 (12 Jan 2014 10:11:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jan 2014 10:11:35 +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 11:11:41 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 1W2I17-00052t-CV for ged-emacs-devel@m.gmane.org; Sun, 12 Jan 2014 11:11:41 +0100 Original-Received: from localhost ([::1]:37041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2I16-0002O7-SN for ged-emacs-devel@m.gmane.org; Sun, 12 Jan 2014 05:11:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2I0z-0002No-4a for emacs-devel@gnu.org; Sun, 12 Jan 2014 05:11:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2I0t-0005Nb-U1 for emacs-devel@gnu.org; Sun, 12 Jan 2014 05:11:33 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:43435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2I0t-0005NX-Mj for emacs-devel@gnu.org; Sun, 12 Jan 2014 05:11:27 -0500 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3f2DH22glTz4KK42; Sun, 12 Jan 2014 11:11:26 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3f2DH22D1VzbbfV; Sun, 12 Jan 2014 11:11:26 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id tn6bzOhBrwb9; Sun, 12 Jan 2014 11:11:24 +0100 (CET) X-Auth-Info: fw3mqTroDeYaS3f8hO43WyfBpfihKe1VEbd0hTYOhSY= Original-Received: from linux.local (ppp-88-217-52-217.dynamic.mnet-online.de [88.217.52.217]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 12 Jan 2014 11:11:24 +0100 (CET) Original-Received: by linux.local (Postfix, from userid 501) id 575F11E57FD; Sun, 12 Jan 2014 11:11:21 +0100 (CET) X-Yow: I am having a CONCEPTION-- In-Reply-To: <20140112062722.GA15615@hysteria.proulx.com> (Bob Proulx's message of "Sat, 11 Jan 2014 23:27:22 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 212.18.0.9 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:168165 Archived-At: Bob Proulx writes: > Three hours and 3G of memory for this one repack! I worry that > turning --agressive on globally will cause the server to fall over. IMHO --aggressive is too aggressive, and not useful for on-going maintenance. Incresing pack.window to 50 or so should already help enough to improve the packing. > 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? Unless you run repack with -f (ie. gc --aggresive) existing deltas are reused, and only newly added objects are deltified. > (Wondering if we can periodically run 'git gc --agressive' on the > larger git repositories at a niced background task priority but not > too often and still achieve a good benefit for the time between > agressive repacks.) Another option is to touch a .keep file for the largest pack so that it is never touched again. New objects will then be added to a separate pack even after git gc. If that large pack is already well packed this should save some processing time. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."