From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: Bazaar sends 700K upstream for a 1K file Date: Sat, 02 Jan 2010 14:46:44 -0500 Message-ID: <877hs05ly3.fsf@red-bean.com> References: <83pr5set0m.fsf@gnu.org> Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262461626 7594 80.91.229.12 (2 Jan 2010 19:47:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Jan 2010 19:47:06 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 02 20:46:58 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 1NR9wA-0005rE-BU for ged-emacs-devel@m.gmane.org; Sat, 02 Jan 2010 20:46:58 +0100 Original-Received: from localhost ([127.0.0.1]:47782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NR9wA-0006xR-NZ for ged-emacs-devel@m.gmane.org; Sat, 02 Jan 2010 14:46:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NR9w5-0006x0-Kn for emacs-devel@gnu.org; Sat, 02 Jan 2010 14:46:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NR9w1-0006wK-5r for emacs-devel@gnu.org; Sat, 02 Jan 2010 14:46:53 -0500 Original-Received: from [199.232.76.173] (port=60216 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NR9w1-0006wH-1i for emacs-devel@gnu.org; Sat, 02 Jan 2010 14:46:49 -0500 Original-Received: from sanpietro.red-bean.com ([66.146.206.141]:43958) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NR9vy-0006XS-35; Sat, 02 Jan 2010 14:46:46 -0500 Original-Received: from localhost ([127.0.0.1]:37348 helo=floss ident=kfogel) by sanpietro.red-bean.com with esmtp (Exim 4.71) (envelope-from ) id 1NR9vx-0008PX-9D; Sat, 02 Jan 2010 13:46:45 -0600 In-Reply-To: (Stefan Monnier's message of "Sat, 02 Jan 2010 14:23:44 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:119291 Archived-At: Stefan Monnier writes: >> 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). Note that http://www.emacswiki.org/emacs/EmacsBzrSwitchover still lists all the open Savannah tickets we care about, and one of them is: https://savannah.gnu.org/support/?107077 about smart server, which we really ought to be running. -Karl