git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Cloning speed comparison, round II

From
Petr Baudis <pasky@suse.cz>
Date
Nov 12, 2005, 19:46 UTC
Message-ID
<20051112194646.GE30496@pasky.or.cz>
In-Reply-To
<Pine.LNX.4.64.0511121134170.3263@g5.osdl.org>

Dear diary, on Sat, Nov 12, 2005 at 08:40:11PM CET, I got a letter where Linus Torvalds <torvalds@osdl.org> said that...

Show 18 quoted lines
> 
> 
> On Sat, 12 Nov 2005, Petr Baudis wrote:
> >
> >              rsync   git+ssh(*)   git(**)   http
> > 
> > git.git      0m45s   0m34s        5m30s     4m01s (++)
> > 
> > cogito.git   2m09s   1m54s (+)    4m30s     15m11s (only single run)
> > 
> > 
> > (*) git+ssh was to master.kernel.org, which was under significant load
> >     from some seemingly runaway gzip process, so that slowed things
> >     down.
> > 
> > (**) The unpacking was slooooooooow yet the load was quite low. This
> >      should be investigated, the native git fetching is much slower
> >      than even HTTP.

(BTW, it's obviously not much slower than HTTP - I wrote that after the first git run, but I screwed up myself at that one.)

> So I think the difference between your git+ssh and git tests are purely 
> due to the fact that master.kernel.org sees a lot less load (both in CPU 
> and in networking) than the public sites, and the time differences have 
> nothing to do with the protocol per se.

Well, at the time of fetching, master.kernel.org with git+ssh had load about ~3.5 and some wild gzip was eating most of the CPU there. So if the git protocol still manages to be TEN times slower while rsync goes full speed from that machine, I would say that this means the git server requires way too much CPU.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Linus TorvaldsNext: Linus Torvalds
Message 3 of 8 in “Cloning speed comparison, round II”
  1. Petr BaudisNov 12, 2005
  2. Linus TorvaldsNov 12, 2005
  3. Petr BaudisNov 12, 2005
  4. Linus TorvaldsNov 12, 2005
  5. Linus TorvaldsNov 12, 2005
  6. Petr BaudisNov 12, 2005
  7. Petr BaudisNov 12, 2005
  8. Linus TorvaldsNov 12, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.