From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomas Carnecky Subject: Re: Excessive mmap [was Git server eats all memory] Date: Mon, 09 Aug 2010 19:45:19 +0200 Message-ID: <4C603EAF.10500@dbservice.com> References: <87ocdhlgbl.fsf@kanis.fr> <87hbj74pve.fsf@kanis.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Ivan Kanis , Dmitry Potapov , Nguyen Thai Ngoc Duy , jaredhance@gmail.com, jnareb@gmail.com, git To: Avery Pennarun X-From: git-owner@vger.kernel.org Mon Aug 09 19:45:37 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OiWPm-0000Ma-UV for gcvg-git-2@lo.gmane.org; Mon, 09 Aug 2010 19:45:35 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752768Ab0HIRpa (ORCPT ); Mon, 9 Aug 2010 13:45:30 -0400 Received: from office.neopsis.com ([78.46.209.98]:51803 "EHLO office.neopsis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752760Ab0HIRp2 (ORCPT ); Mon, 9 Aug 2010 13:45:28 -0400 X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL: 0.041,BAYES_00: -1.665,TOTAL_SCORE: -1.624,autolearn=ham X-Spam-Level: Received: from calvin.caurea.org ([62.65.141.13]) (authenticated user tom@dbservice.com) by office.neopsis.com (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)); Mon, 9 Aug 2010 19:45:21 +0200 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 In-Reply-To: X-Enigmail-Version: 1.1.1 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On 8/9/10 6:50 PM, Avery Pennarun wrote: > On the other hand, perhaps a more important question is: why does git > feel like it needs to generate entirely new packs for each person > doing a clone on your system? Shouldn't it be reusing existing ones > and just streaming them straight out to the recipient? Isn't that something that the rev cache is supposed to fix? tom