unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* bzr:// vz nosmart+bzr://
@ 2011-10-10  8:43 Eli Zaretskii
  2011-10-10  9:04 ` Frank Schmitt
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Eli Zaretskii @ 2011-10-10  8:43 UTC (permalink / raw)
  To: emacs-devel

Maybe you know, maybe you don't, but the bzr server on savannah was
upgraded to the latest version 2.4 a few days ago.  As result of this
(or maybe as result of some other changes on savannah), the initial
"bzr branch" command became approximately twice faster than it was
before.  It takes about 18 min on a gnu.org machine (probably on the
same LAN), and 1 hour on a very remote machine.

What's also important, it seems to be no longer true that using the
nosmart+bzr:// protocol for the initial "bzr branch" is faster than
the normal "smart" bzr://.  In fact, nosmart+bzr:// seems to be about
30% _slower_ now.

Would people please time the following 2 commands and see if this
observation is correct in general?  If it is, I'd like to update the
instructions on the wiki, because describing 2 different protocols
there might unnecessarily confuse new users.

  bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
  bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/

Please note that this should be done outside of the directory where
you have the Emacs bzr repository, i.e. where you typed the original
"bzr init-repo" command (should be the parent of the `trunk' directory
if you were following the instructions on the wiki).  Otherwise, bzr
will not bring stuff from the remote server, but rather reuse what it
already has in the repository.

TIA



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10  8:43 bzr:// vz nosmart+bzr:// Eli Zaretskii
@ 2011-10-10  9:04 ` Frank Schmitt
  2011-10-10  9:30   ` Eli Zaretskii
  2011-10-10  9:36 ` Ari Roponen
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Frank Schmitt @ 2011-10-10  9:04 UTC (permalink / raw)
  To: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> Would people please time the following 2 commands and see if this
> observation is correct in general?  If it is, I'd like to update the
> instructions on the wiki, because describing 2 different protocols
> there might unnecessarily confuse new users.
>
>   bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
>   bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/

All I get (in both cases) is 

bzr: ERROR: Connection error: failed to connect to
bzr.savannah.gnu.org:4155: Connection refused

-- 
Have you ever considered how much text can fit in eighty columns?  Given that a
signature typically contains up to four lines of text, this space allows you to
attach a tremendous amount of valuable information to your messages.  Seize the
opportunity and don't waste your signature on bullshit that nobody cares about.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10  9:04 ` Frank Schmitt
@ 2011-10-10  9:30   ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2011-10-10  9:30 UTC (permalink / raw)
  To: Frank Schmitt; +Cc: emacs-devel

> From: Frank Schmitt <ich@frank-schmitt.net>
> Date: Mon, 10 Oct 2011 11:04:35 +0200
> 
> >   bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
> >   bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/
> 
> All I get (in both cases) is 
> 
> bzr: ERROR: Connection error: failed to connect to
> bzr.savannah.gnu.org:4155: Connection refused

There's an unrelated problem on savannah, please try these later when
the problem is fixed.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10  8:43 bzr:// vz nosmart+bzr:// Eli Zaretskii
  2011-10-10  9:04 ` Frank Schmitt
@ 2011-10-10  9:36 ` Ari Roponen
  2011-10-10  9:52   ` Eli Zaretskii
  2011-10-10 10:17 ` Sven Joachim
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Ari Roponen @ 2011-10-10  9:36 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

> Would people please time the following 2 commands and see if this
> observation is correct in general?  If it is, I'd like to update the
> instructions on the wiki, because describing 2 different protocols
> there might unnecessarily confuse new users.
>
>   bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
>   bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/

[nosmart]$ time bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
Branched 106042 revision(s).

real	23m21.398s
user	9m32.193s
sys	0m8.146s


[bzr]$ time bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/
Branched 106042 revision(s).

real	12m27.467s
user	7m25.061s
sys	0m10.856s

-- 
Ari Roponen



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10  9:36 ` Ari Roponen
@ 2011-10-10  9:52   ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2011-10-10  9:52 UTC (permalink / raw)
  To: Ari Roponen; +Cc: emacs-devel

> From: Ari Roponen <ari.roponen@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Mon, 10 Oct 2011 12:36:48 +0300
> 
> [nosmart]$ time bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
> Branched 106042 revision(s).
> 
> real	23m21.398s
> user	9m32.193s
> sys	0m8.146s
> 
> 
> [bzr]$ time bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/
> Branched 106042 revision(s).
> 
> real	12m27.467s
> user	7m25.061s
> sys	0m10.856s

Thanks!



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10  8:43 bzr:// vz nosmart+bzr:// Eli Zaretskii
  2011-10-10  9:04 ` Frank Schmitt
  2011-10-10  9:36 ` Ari Roponen
@ 2011-10-10 10:17 ` Sven Joachim
  2011-10-10 11:41   ` Eli Zaretskii
  2011-10-10 10:53 ` Tassilo Horn
  2011-10-10 14:10 ` Juanma Barranquero
  4 siblings, 1 reply; 11+ messages in thread
From: Sven Joachim @ 2011-10-10 10:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

On 2011-10-10 10:43 +0200, Eli Zaretskii wrote:

> Maybe you know, maybe you don't, but the bzr server on savannah was
> upgraded to the latest version 2.4 a few days ago.  As result of this
> (or maybe as result of some other changes on savannah), the initial
> "bzr branch" command became approximately twice faster than it was
> before.  It takes about 18 min on a gnu.org machine (probably on the
> same LAN), and 1 hour on a very remote machine.
>
> What's also important, it seems to be no longer true that using the
> nosmart+bzr:// protocol for the initial "bzr branch" is faster than
> the normal "smart" bzr://.  In fact, nosmart+bzr:// seems to be about
> 30% _slower_ now.

That seems to be correct.

> Would people please time the following 2 commands and see if this
> observation is correct in general?  If it is, I'd like to update the
> instructions on the wiki, because describing 2 different protocols
> there might unnecessarily confuse new users.
>
>   bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
>   bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/

% time bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
Branched 106042 revision(s).                                                                       
bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/  448,75s user 7,46s system 37% cpu 20:21,80 total
% mv trunk trunk.old
% time bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/ 
Branched 106042 revision(s).                                                                       
bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/  352,41s user 5,63s system 47% cpu 12:36,04 total

Cheers,
       Sven



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10  8:43 bzr:// vz nosmart+bzr:// Eli Zaretskii
                   ` (2 preceding siblings ...)
  2011-10-10 10:17 ` Sven Joachim
@ 2011-10-10 10:53 ` Tassilo Horn
  2011-10-10 11:44   ` Eli Zaretskii
  2011-10-10 14:10 ` Juanma Barranquero
  4 siblings, 1 reply; 11+ messages in thread
From: Tassilo Horn @ 2011-10-10 10:53 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

Hi Eli,

here are my results, with a pretty fast internet connection.

>   bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/

bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
678.70s user 7.29s system 54% cpu 21:04.38 total

>   bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/

bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/
543.03s user 7.29s system 65% cpu 13:57.98 total

So your observation of the smart server actually being faster seems to
be true.  I use the bzr client version 2.4.1.

Bye,
Tassilo



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10 10:17 ` Sven Joachim
@ 2011-10-10 11:41   ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2011-10-10 11:41 UTC (permalink / raw)
  To: Sven Joachim; +Cc: emacs-devel

> From: Sven Joachim <svenjoac@gmx.de>
> Cc: emacs-devel@gnu.org
> Date: Mon, 10 Oct 2011 12:17:22 +0200
> 
> % time bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
> Branched 106042 revision(s).                                                                       
> bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/  448,75s user 7,46s system 37% cpu 20:21,80 total
> % mv trunk trunk.old
> % time bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/ 
> Branched 106042 revision(s).                                                                       
> bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/  352,41s user 5,63s system 47% cpu 12:36,04 total

Thanks.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10 10:53 ` Tassilo Horn
@ 2011-10-10 11:44   ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2011-10-10 11:44 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: emacs-devel

> From: Tassilo Horn <tassilo@member.fsf.org>
> Cc: emacs-devel@gnu.org
> Date: Mon, 10 Oct 2011 12:53:23 +0200
> 
> >   bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
> 
> bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
> 678.70s user 7.29s system 54% cpu 21:04.38 total
> 
> >   bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/
> 
> bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/
> 543.03s user 7.29s system 65% cpu 13:57.98 total
> 
> So your observation of the smart server actually being faster seems to
> be true.  I use the bzr client version 2.4.1.

Thanks.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10  8:43 bzr:// vz nosmart+bzr:// Eli Zaretskii
                   ` (3 preceding siblings ...)
  2011-10-10 10:53 ` Tassilo Horn
@ 2011-10-10 14:10 ` Juanma Barranquero
  2011-10-10 16:02   ` Eli Zaretskii
  4 siblings, 1 reply; 11+ messages in thread
From: Juanma Barranquero @ 2011-10-10 14:10 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

On Mon, Oct 10, 2011 at 10:43, Eli Zaretskii <eliz@gnu.org> wrote:
>  bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/

00:32:13,66

>  bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/

00:23:10,48

So nosmart was about 39% slower.

This on Windows 7, with a 2.5b1 client.

    Juanma



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: bzr:// vz nosmart+bzr://
  2011-10-10 14:10 ` Juanma Barranquero
@ 2011-10-10 16:02   ` Eli Zaretskii
  0 siblings, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2011-10-10 16:02 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: emacs-devel

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Mon, 10 Oct 2011 16:10:00 +0200
> Cc: emacs-devel@gnu.org
> 
> On Mon, Oct 10, 2011 at 10:43, Eli Zaretskii <eliz@gnu.org> wrote:
> >  bzr branch nosmart+bzr://bzr.savannah.gnu.org/emacs/trunk/
> 
> 00:32:13,66
> 
> >  bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk/
> 
> 00:23:10,48
> 
> So nosmart was about 39% slower.

Thanks.




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-10-10 16:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-10  8:43 bzr:// vz nosmart+bzr:// Eli Zaretskii
2011-10-10  9:04 ` Frank Schmitt
2011-10-10  9:30   ` Eli Zaretskii
2011-10-10  9:36 ` Ari Roponen
2011-10-10  9:52   ` Eli Zaretskii
2011-10-10 10:17 ` Sven Joachim
2011-10-10 11:41   ` Eli Zaretskii
2011-10-10 10:53 ` Tassilo Horn
2011-10-10 11:44   ` Eli Zaretskii
2011-10-10 14:10 ` Juanma Barranquero
2011-10-10 16:02   ` Eli Zaretskii

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).