git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* local clone much slower than remote clone
@ 2005-10-01  2:45 Jeff Garzik
  2005-10-01  4:10 ` Yasushi SHOJI
  2005-10-01  5:57 ` Junio C Hamano
  0 siblings, 2 replies; 3+ messages in thread
From: Jeff Garzik @ 2005-10-01  2:45 UTC (permalink / raw)
  To: Git Mailing List


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

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

* Re: local clone much slower than remote clone
  2005-10-01  2:45 local clone much slower than remote clone Jeff Garzik
@ 2005-10-01  4:10 ` Yasushi SHOJI
  2005-10-01  5:57 ` Junio C Hamano
  1 sibling, 0 replies; 3+ messages in thread
From: Yasushi SHOJI @ 2005-10-01  4:10 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Git Mailing List

At Fri, 30 Sep 2005 22:45:54 -0400,
Jeff Garzik wrote:
> 
> 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.

    git clone -l

perhaps?  -s would be nice too.
--
        yashi

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

* Re: local clone much slower than remote clone
  2005-10-01  2:45 local clone much slower than remote clone Jeff Garzik
  2005-10-01  4:10 ` Yasushi SHOJI
@ 2005-10-01  5:57 ` Junio C Hamano
  1 sibling, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2005-10-01  5:57 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: git

Jeff Garzik <jgarzik@pobox.com> writes:

> time git clone /spare/repo/linux-2.6 scsi-sas-2.6

    $ git clone -l -s -n

would be the fastest.

Yes, -n is an irrelevant cheating ;-).

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

end of thread, other threads:[~2005-10-01  5:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-01  2:45 local clone much slower than remote clone Jeff Garzik
2005-10-01  4:10 ` Yasushi SHOJI
2005-10-01  5:57 ` Junio C Hamano

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 NNTP newsgroup(s).