All of lore.kernel.org
 help / color / mirror / Atom feed
* Speedlimit at "git clone"
@ 2009-12-03 12:09 Stefan Kuhne
  2009-12-05 19:40 ` Stefan Kuhne
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kuhne @ 2009-12-03 12:09 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]

Hello,

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

Regards,
Stefan Kuhne


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 552 bytes --]

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

* Re: Speedlimit at "git clone"
  2009-12-03 12:09 Speedlimit at "git clone" Stefan Kuhne
@ 2009-12-05 19:40 ` Stefan Kuhne
  2009-12-06 14:43   ` Jeff King
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kuhne @ 2009-12-05 19:40 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 141 bytes --]

Stefan Kuhne schrieb:
Hello,
> 
> how can i limit the download speed at "git clone"?
> 
no one any idea?

Regards,
Stefan Kuhne



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 552 bytes --]

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

* Re: Speedlimit at "git clone"
  2009-12-05 19:40 ` Stefan Kuhne
@ 2009-12-06 14:43   ` Jeff King
  2009-12-06 18:13     ` Daniel Stenberg
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff King @ 2009-12-06 14:43 UTC (permalink / raw)
  To: git

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

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

* Re: Speedlimit at "git clone"
  2009-12-06 14:43   ` Jeff King
@ 2009-12-06 18:13     ` Daniel Stenberg
  2009-12-07 11:15       ` Baz
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Stenberg @ 2009-12-06 18:13 UTC (permalink / raw)
  To: Jeff King; +Cc: git

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

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

* Re: Speedlimit at "git clone"
  2009-12-06 18:13     ` Daniel Stenberg
@ 2009-12-07 11:15       ` Baz
  0 siblings, 0 replies; 5+ messages in thread
From: Baz @ 2009-12-07 11:15 UTC (permalink / raw)
  To: Daniel Stenberg; +Cc: Jeff King, git

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
>

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

end of thread, other threads:[~2009-12-07 11:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-03 12:09 Speedlimit at "git clone" Stefan Kuhne
2009-12-05 19:40 ` Stefan Kuhne
2009-12-06 14:43   ` Jeff King
2009-12-06 18:13     ` Daniel Stenberg
2009-12-07 11:15       ` Baz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.