unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Re: GNU Emacs is on Bazaar now.
Date: Tue, 29 Dec 2009 22:30:08 +0100	[thread overview]
Message-ID: <87eimdo4db.fsf@telefonica.net> (raw)
In-Reply-To: m3d41xmrec.fsf@lugabout.jhcloos.org

James Cloos <cloos@jhcloos.com> writes:

[snip]

>>> I can imagine that it'll be a significant load on the server, too.
>
> Óscar> With http/sftp, bazaar transfers a lot of data but as it is CPU-bound
> Óscar> too, it does not hit the server too hard. The bzr protocol (or bzr+ssh)
> Óscar> causes a noticeable cpu load on the server.
>
> I was thinking of vm load, but that was dumb, since bzr obviously does
> not run on the server in sftp/http mode.... [SIGH]
>
> Is the VM load an issue in ssh mode, along with the cpu load?

The cpu load on the server is only an issue for the bzr[+ssh]
protocol. I don't know how much VM load the bzr smart server causes
while serving a remote branch operation, but it is worth testing.

>>> How painful is it to grab an additional branch from the main repo over
>>> sftp, comared to the grab of trunk?
>
> Óscar> Grabbing and additional branch requires a fraction of the cost of the
> Óscar> initial branch. Bzr will transfer only the missing revisions. IIRC it
> Óscar> required 22 minutes for the initial branch (trunk) and 4 minutes for
> Óscar> multi-tty.
>
> Good.  That is what I hoped for.
>
> I do see that it transfers much more data than it ends up storing on
> disk.  A du(1) of .bzr trunk/.bzr is on the order of 200 Megs, but
> it (claims to) transfer(s) something like twice that over teh sftp link.
>
> And my first pull since the initial branch only changed 27 files (25 M,
> 1 +N and 1 -D), created a new pack of 1417748 octets, but needed 5 Megs
> of xfer to grab those changes.

Over the sftp/http protocols, bzr acts very dumb. It needs to read
lots of data for knowing which revisions to grab, etc.

> I expect that the native protocol is more efficient.

The bzr protocol does lots of work that otherwise the client must do if
it were using the dumb protocols, so it is significantly more efficient.

> Also, given the note about locking, does creating a branch over sftp
> create the kind of lock that was described earlier?  Or does that only
> occur when /pushing/ changes to the sv repo?  I used sftp instead of
> http even though I am read-only because my last attempt over http
> couldn't even max out a DS0 straw, much less a fat pipe.  But I'd hate
> to block commiters by doing so.

IIRC someone here said that bazaar supports concurrent r/w access over
http/sftp, which is quite surprising to me as adding info to the history
can touch a big area of the metadata, AFAIK. The report about the lock
issue seems to confirm that bazaar locks the branch (or repository?)
sometimes. I don't know for which operations bazaar locks and if it
locks only writes or reads too.


-- 
Óscar





      reply	other threads:[~2009-12-29 21:30 UTC|newest]

Thread overview: 80+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-27 22:55 GNU Emacs is on Bazaar now Karl Fogel
2009-12-28  6:46 ` Kenichi Handa
2009-12-28  6:55   ` Karl Fogel
2009-12-28  8:07     ` Kenichi Handa
2009-12-28  8:52       ` Andreas Schwab
2009-12-28 11:41         ` Juanma Barranquero
2009-12-28 11:45         ` Kenichi Handa
2009-12-28 12:08           ` Juanma Barranquero
2009-12-28 13:10             ` Kenichi Handa
2009-12-28 12:09           ` Andreas Schwab
2009-12-28 13:22             ` Xavier Maillard
2009-12-28 13:51           ` Stephen J. Turnbull
2009-12-28 14:42             ` Juanma Barranquero
2009-12-28  9:19   ` Andreas Schwab
2009-12-28 11:44     ` Juanma Barranquero
2009-12-28 11:47     ` Kenichi Handa
2009-12-28 12:06       ` Andreas Schwab
2009-12-28 13:08         ` Kenichi Handa
2009-12-28 19:59           ` Andreas Schwab
2009-12-28 21:27             ` Karl Fogel
2009-12-28 22:16               ` Andreas Schwab
2009-12-28 22:24                 ` Karl Fogel
2009-12-29  1:26                   ` Giorgos Keramidas
2009-12-29  2:08                     ` Juanma Barranquero
2009-12-29  2:26                       ` Giorgos Keramidas
2009-12-28 22:30                 ` Óscar Fuentes
2009-12-28 22:41                   ` Karl Fogel
2009-12-28 23:14                     ` Óscar Fuentes
2009-12-29  1:17                       ` Karl Fogel
2009-12-29  2:12                         ` Óscar Fuentes
2009-12-29  1:57                       ` Stephen J. Turnbull
2009-12-29  2:00                         ` Karl Fogel
2009-12-29  2:16                         ` Óscar Fuentes
2009-12-29  4:32                           ` Stephen J. Turnbull
2009-12-29  4:46                             ` Óscar Fuentes
2009-12-29  7:25                               ` Kevin Rodgers
2009-12-29 10:27                               ` Juanma Barranquero
2009-12-29 15:54                                 ` Karl Fogel
2009-12-29 16:01                                   ` Juanma Barranquero
2009-12-29 16:15                                   ` Óscar Fuentes
2009-12-29 18:08                                   ` Eli Zaretskii
2009-12-29 18:09                                     ` Juanma Barranquero
2009-12-29 18:47                                       ` Eli Zaretskii
2009-12-29 18:13                                     ` Chong Yidong
2009-12-29 18:36                                       ` Eli Zaretskii
2009-12-29 18:54                                         ` Karl Fogel
2009-12-29 20:06                                           ` Eli Zaretskii
2009-12-29 20:14                                             ` Karl Fogel
2009-12-31  8:18                                               ` Stephen J. Turnbull
2009-12-31  8:29                                                 ` Óscar Fuentes
2009-12-31  9:26                                                   ` Miles Bader
2009-12-31  8:44                                                 ` Miles Bader
2010-01-01  8:41                                                   ` Stephen J. Turnbull
2009-12-31  5:57                                       ` Stephen J. Turnbull
2009-12-31  6:36                                         ` Óscar Fuentes
2010-01-01  9:21                                           ` Stephen J. Turnbull
2010-01-01  9:48                                             ` Óscar Fuentes
2009-12-31 11:33                                         ` Chong Yidong
2009-12-29  1:47                   ` Stephen J. Turnbull
2009-12-29  2:38                     ` Óscar Fuentes
2009-12-29  4:38                       ` Stephen J. Turnbull
2009-12-29  4:58                         ` Óscar Fuentes
2009-12-31  5:54                           ` Stephen J. Turnbull
2009-12-31  5:58                             ` Miles Bader
2009-12-31  6:02                             ` Dan Nicolaescu
2010-01-01 11:22                               ` Stephen J. Turnbull
2009-12-31  6:33                             ` Óscar Fuentes
2009-12-31  6:51                               ` Miles Bader
2010-01-01 10:01                               ` Stephen J. Turnbull
2010-01-01 10:19                                 ` Óscar Fuentes
2009-12-29  6:14                       ` Karl Fogel
2009-12-29  7:23                         ` Óscar Fuentes
2009-12-28 19:19 ` Eli Zaretskii
2009-12-28 20:00   ` Andreas Schwab
2009-12-28 20:17     ` Eli Zaretskii
2009-12-29 18:00   ` James Cloos
2009-12-29 19:40     ` Óscar Fuentes
2009-12-29 20:02       ` Eli Zaretskii
2009-12-29 20:55       ` James Cloos
2009-12-29 21:30         ` Óscar Fuentes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eimdo4db.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).