From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Wed, 09 Feb 2005 22:38:20 +0000 Subject: Re: [LARTC] TCP window based shaping Message-Id: <420A90DC.6080108@dsl.pipex.com> List-Id: References: <42095013.8030600@wildgooses.com> In-Reply-To: <42095013.8030600@wildgooses.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org marco ghidinelli wrote: > On Tue, Feb 08, 2005 at 11:49:39PM +0000, Ed Wildgoose wrote: > >>Does anyone have any pointers on how other people have implemented tcp >>window adjustment to do bandwidth shaping? >> >>Granted the basic idea is to set the window size to be RTT * bandwidth, >>but a quick squiz at google turns up mostly papers on how to implement >>this at the sender end with a view to some new magic TCP >>implementation. I'm really interested in notes on how to implement at >>the router side, perhaps with a view to writing a new QOS module. >> >>Biggest issue I can see right now is an architecture one, ie monitoring >>the incoming packet rate and then applying that to the outgoing ACK >>packets. > > > instead of shaping the incoming traffic and estimate rate from the > outgoing traffic, you can 'delay' the outgoing ACK, and estimate the rate > from the raise of the sequence number. > > so you just shape on the outgoing queue, without take care of the > incoming traffic. > > note that everything here is patented, so if you must have lawyers, if > you want to develop.. > > :-/ > > http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=%2Fnetahtml%2Fsearch-bool.html&r=0&f=S&lP&TERM1=packeteer&FIELD1=&co1=AND&TERM2=&FIELD2=&d=ptxt > Ewwww thats not nice - not that I know what those would stop you being able to do. I presume they just apply in the USA and wouldn't be enforcable in Europe yet as software patents are not allowed (yet)? Andy. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/