From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Kastrup Subject: Re: [PATCH v2] Bump core.deltaBaseCacheLimit to 128MiB Date: Fri, 21 Mar 2014 07:04:17 +0100 Message-ID: <87y504ccke.fsf@fencepost.gnu.org> References: <1395232712-6412-1-git-send-email-dak@gnu.org> <87ob11g9st.fsf@fencepost.gnu.org> <87lhw4er2b.fsf@fencepost.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Cc: Duy Nguyen , Git Mailing List To: Junio C Hamano X-From: git-owner@vger.kernel.org Fri Mar 21 08:48:15 2014 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WQuBa-0006Gr-Sp for gcvg-git-2@plane.gmane.org; Fri, 21 Mar 2014 08:48:15 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754951AbaCUHsB (ORCPT ); Fri, 21 Mar 2014 03:48:01 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41246 "EHLO fencepost.gnu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbaCUHsA (ORCPT ); Fri, 21 Mar 2014 03:48:00 -0400 Received: from localhost ([127.0.0.1]:40285 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQuBL-00025M-DO; Fri, 21 Mar 2014 03:47:59 -0400 Received: by lola (Postfix, from userid 1000) id AF6F4E08F9; Fri, 21 Mar 2014 07:04:17 +0100 (CET) In-Reply-To: (Junio C. Hamano's message of "Thu, 20 Mar 2014 15:35:39 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Junio C Hamano writes: > David Kastrup writes: > >> Junio C Hamano writes: >> >>> Duy Nguyen writes: >>> >>>> The only >>>> downside I see is large blobs will be packed undeltified, which could >>>> increase pack size if you have lots of them. >>> >>> I think that is something that can be tweaked, unless the user tells >>> us otherwise via command line override, when running the improved >>> "gc --aggressive" ;-) >> >> deltaBaseCacheLimit is used for unpacking, not for packing. > > Hmm, doesn't packing need to read existing data? Judging from the frequent out-of-memory conditions of git gc --aggressive, packing is not restrained by deltaBaseCacheLimit. -- David Kastrup