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

Re: Cloning speed comparison, round II

From
Linus Torvalds <torvalds@osdl.org>
Date
Nov 12, 2005, 22:03 UTC
Message-ID
<Pine.LNX.4.64.0511121352500.3263@g5.osdl.org>
In-Reply-To
<20051112212030.GH30496@pasky.or.cz>
On Sat, 12 Nov 2005, Petr Baudis wrote:
> 
>  From kernel.org to machine X, it takes 20s, and from machine X to my
> home machine, it takes 20s. From kernel.org to my home machine, it takes
> 5 minutes.
That's a twilight zone moment ;)

The pack-file writer is even trying to be good about not doing lots of small writes (it should chunk things up into 8kB chunks) so it should actually be a nice network app and send full-sized TCP frames from the very beginning (and nagle should mean that it continues to do so even around the chunk boundaries, assuming the server is fast enough at generating the data).

But it's entirely possible that one of the paths between the machine has some logic that prioritizes known stream types - gives higher priority to http/ssh over "unknown" protocols. That's a bad thing to do (the whole point of the internet is that the smarts is in the end-points, not in the network), but with so much of the packets whizzing by being virus-generated crap, some places apparently do things like that.

			Linus
Previous: Petr Baudis
Message 8 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.