Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Nikolay S. Rybalov" <nowhere@hakkenden.ath.cx>
To: Brent Clark <brentgclarklist@gmail.com>, netfilter@vger.kernel.org
Subject: Re: torrent client traffic shaping question
Date: Wed, 11 Mar 2009 13:40:00 +0300	[thread overview]
Message-ID: <613D287C978A4801B3C3F0C890C7E29B@compot> (raw)
In-Reply-To: 49B77ABF.4020406@gmail.com

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
> 


      reply	other threads:[~2009-03-11 10:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11  8:47 torrent client traffic shaping question Brent Clark
2009-03-11 10:40 ` Nikolay S. Rybalov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=613D287C978A4801B3C3F0C890C7E29B@compot \
    --to=nowhere@hakkenden.ath.cx \
    --cc=brentgclarklist@gmail.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox