Skip to contentSkip to conversation

Speedlimit at "git clone"

DISCUSSION Stefan Kuhne 4 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

how can i limit the download speed at "git clone"?

Regards,
Stefan Kuhne

#1 lore raw

Stefan Kuhne schrieb:
Hello,

Quoted 3 lines

how can i limit the download speed at "git clone"?

no one any idea?

Regards,
Stefan Kuhne

#2 lore raw
Quoted 6 lines · Stefan Kuhne

Stefan Kuhne schrieb:
Hello,

Quoted 3 lines

how can i limit the download speed at "git clone"?

no one any idea?

Git has no internal support for doing this. You would have to choke the TCP connection elsewhere. Look for QoS options in your operating system's network setup. I think I have also seen LD_PRELOAD libraries that will limit I/O, but I can't recall the name of any right now.

-Peff

#3 lore raw
Quoted 5 lines · Jeff King
Quoted 3 lines
Quoted 2 lines

how can i limit the download speed at "git clone"?

no one any idea?

Git has no internal support for doing this.

libcurl provides such a feature so if the clone is done over HTTP it would be easy to offer, but I figure it would also be weird to only provide it over a single particular transfer method...

Signature · 1 line
 / daniel.haxx.se
#4 lore raw

2009/12/6 Daniel Stenberg <[email protected]>:

Quoted 11 lines · Jeff King
Quoted 6 lines
Quoted 4 lines
Quoted 3 lines

how can i limit the download speed at "git clone"?

no one any idea?

Git has no internal support for doing this.

libcurl provides such a feature so if the clone is done over HTTP it would be easy to offer, but I figure it would also be weird to only provide it over a single particular transfer method...

There is always 'trickle'.
http://monkey.org/~marius/pages/?page=trickle

I think this is the preload-based tool Peff was thinking of. I've not used it with git, but I have used it successfully limiting bandwidth for other downloads.

-Baz

Quoted 9 lines

--

 / daniel.haxx.se
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html