Hello,
how can i limit the download speed at "git clone"?
Regards, Stefan Kuhne
Hello,
how can i limit the download speed at "git clone"?
Regards, Stefan Kuhne
Re: Speedlimit at "git clone"
Stefan Kuhne schrieb: Hello,
> > how can i limit the download speed at "git clone"? >
no one any idea?
Regards, Stefan Kuhne
Re: Speedlimit at "git clone"
On Sat, Dec 05, 2009 at 08:40:07PM +0100, Stefan Kuhne wrote:
> Stefan Kuhne schrieb: > Hello, > > > > 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
Re: Speedlimit at "git clone"
On Sun, 6 Dec 2009, Jeff King wrote:
>>> 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...
-- / daniel.haxx.se
Re: Speedlimit at "git clone"
2009/12/6 Daniel Stenberg <daniel@haxx.se>:
> On Sun, 6 Dec 2009, Jeff King wrote: > >>>> 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
> > -- > > / daniel.haxx.se > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >