All of lore.kernel.org
 help / color / mirror / Atom feed
* torrent client traffic shaping question
@ 2009-03-11  8:47 Brent Clark
  2009-03-11 10:40 ` Nikolay S. Rybalov
  0 siblings, 1 reply; 2+ messages in thread
From: Brent Clark @ 2009-03-11  8:47 UTC (permalink / raw)
  To: netfilter

Hiya

I got this question to ask, and I was hoping the TCP/IP gurus would be 
able to help me understand this.

K you know how with traffic shapping you can control only the traffic 
leaving you, how it is that torrent clients say they can control the 
download as well as the upload. I would think the client can only 
control the upload.

TIA

Brent Clark

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

* Re: torrent client traffic shaping question
  2009-03-11  8:47 torrent client traffic shaping question Brent Clark
@ 2009-03-11 10:40 ` Nikolay S. Rybalov
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolay S. Rybalov @ 2009-03-11 10:40 UTC (permalink / raw)
  To: Brent Clark, netfilter

If you read from socket at fixed rate, it's TCP receive buffer is emptied at 
same rate. TCP announces free buffer in receive window field, so congestion 
window on sender side is also adjusted, thus limiting send speed to the rate 
you read from socket on receiver side.

----- Original Message ----- 
From: "Brent Clark" <brentgclarklist@gmail.com>
To: <netfilter@vger.kernel.org>
Sent: Wednesday, March 11, 2009 11:47 AM
Subject: torrent client traffic shaping question


> Hiya
>
> I got this question to ask, and I was hoping the TCP/IP gurus would be 
> able to help me understand this.
>
> K you know how with traffic shapping you can control only the traffic 
> leaving you, how it is that torrent clients say they can control the 
> download as well as the upload. I would think the client can only control 
> the upload.
>
> TIA
>
> Brent Clark
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" 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] 2+ messages in thread

end of thread, other threads:[~2009-03-11 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-11  8:47 torrent client traffic shaping question Brent Clark
2009-03-11 10:40 ` Nikolay S. Rybalov

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.