Default performance of 'lp:foo' URLs

Robert Collins robertc at robertcollins.net
Wed Dec 2 04:35:06 GMT 2009


On Wed, 2009-12-02 at 13:14 +0900, Stephen J. Turnbull wrote:
> Robert Collins writes:
> 
>  > So ssh handshake time here is ~4.5 seconds.
> 
> *sigh* Maybe I should have used nanoseconds.  I would have thought
> people here would realize that 10ms is impossible on speed-of-light
> grounds alone.

Oh yes, we do :). But didn't pick up the irony :).

> Overall, I simply don't see a difference between ssh and http for git
> or hg.  Even if there's a 2-5 second greater handshake delay for ssh
> than for HTTP (I notice you didn't bother to measure the HTTP
> connection setup delay)

given that http ping sends a single request in the third packet of the
three way handshake, the 530ms is 4 trips, or ~130ms each way.

> , any communication with a remote server is
> going to take 10 seconds or more; I don't notice the handshake
> difference.

Pulling a single revision locally, total time, 3.5 seconds.

This is still too slow, but even so, its still faster than handshaking
ssh to squid-cache.org.

Yes, it takes 10 seconds to communicate with such a server, but 50% of
that is ssh.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091202/02f7fe7f/attachment-0001.pgp 


More information about the bazaar mailing list