From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Bazaar sends 700K upstream for a 1K file Date: Sat, 02 Jan 2010 14:23:44 -0500 Message-ID: References: <83pr5set0m.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262460352 4357 80.91.229.12 (2 Jan 2010 19:25:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Jan 2010 19:25:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 02 20:25:45 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NR9bc-0007x4-FX for ged-emacs-devel@m.gmane.org; Sat, 02 Jan 2010 20:25:44 +0100 Original-Received: from localhost ([127.0.0.1]:53458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NR9bc-0006Vp-Nw for ged-emacs-devel@m.gmane.org; Sat, 02 Jan 2010 14:25:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NR9Zq-0005mj-J9 for emacs-devel@gnu.org; Sat, 02 Jan 2010 14:23:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NR9Zl-0005l2-F5 for emacs-devel@gnu.org; Sat, 02 Jan 2010 14:23:53 -0500 Original-Received: from [199.232.76.173] (port=39779 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NR9Zl-0005kv-5P for emacs-devel@gnu.org; Sat, 02 Jan 2010 14:23:49 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:38988 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NR9Zh-0006R7-Mj; Sat, 02 Jan 2010 14:23:45 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At0EAKcrP0tFxIrG/2dsb2JhbACBRdADhDEEiik X-IronPort-AV: E=Sophos;i="4.47,489,1257138000"; d="scan'208";a="52773921" Original-Received: from 69-196-138-198.dsl.teksavvy.com (HELO pastel.home) ([69.196.138.198]) by ironport2-out.pppoe.ca with ESMTP; 02 Jan 2010 14:23:44 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id AB701846A; Sat, 2 Jan 2010 14:23:44 -0500 (EST) In-Reply-To: <83pr5set0m.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 02 Jan 2010 11:49:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119288 Archived-At: > Committing a change in `.bzrignore', a 1060 byte file, bzr sends about > 700K of data upstream (according to the progress meter). I know you > will probably say ``switch to smart server'', but I'm just curious: > what is sent in those 700K? It could be a lot more than 700KB. The repository data is stored in large binary compressed files which are not really "append-only", so it often ends up reading one of those files, adding some info to it, then repacking it and writing it all out again, and then "atomically" replace the old one with the new one. When (not if) you get unlucky, it will do such a thing on a very large file (look at the files in .bzr/repository to see how large it can get). Stefan