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

local clone much slower than remote clone

From
JGJeff Garzik <jgarzik@pobox.com>
Date
Oct 1, 2005, 02:45 UTC
Message-ID
<433DF862.4020500@pobox.com>
Case 1: remote clone

time git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git scsi-sas-2.6 ... real 3m36.432s user 0m0.584s sys 0m0.656s

Case 2: local clone time git clone /spare/repo/linux-2.6 scsi-sas-2.6 ... Packing 99084 objects Unpacking 99084 objects ... real 4m31.876s user 4m43.618s sys 0m40.047s

Downloading an entire kernel tree over cable modem is almost a minute faster than a local clone! IMHO the local clone should just hardlink the packs and objects, and be done with it.

	Jeff
Next: Yasushi SHOJI
Message 1 of 3 in “local clone much slower than remote clone”
  1. Jeff GarzikOct 1, 2005
  2. Yasushi SHOJIOct 1, 2005
  3. Junio C HamanoOct 1, 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.