From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Sun, 10 Jul 2005 19:23:10 +0000 Subject: Re: [LARTC] P2P shaping working Message-Id: <42D1759E.3060402@dsl.pipex.com> List-Id: References: <200507081926.56750.donvodka@gmail.com> In-Reply-To: <200507081926.56750.donvodka@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Edgar wrote: > Hello, it's me again, finally p2p traffic is getting shaped, but now I still > have one problem: download seems to be affected when shaping the traffic, ack > packets are in the interactive queue too, as someone adviced me, what fixed > the problem was to change the rates, to match (the sum of all subclasses) the > root class rate, and to give the p2p class a very low rate (1k actually) and > 75% of the bandwidth for the ceiling. Well as I said this is working, but > downloading seems to be affected to, I get pretty low rates (this doesn't > happen when I'm not shaping the traffic, but then I can't do anything else > but bittorrent). Does anyone have a clue on why's this happening? > > Thanks to everyone that help me, I really appreciate it. Shaping upload will affect bittorrent downloads as it it part of the protocol for peers to favour the connections that are giving them the highest rates. That may not be the only thing though, if you are marking with ipp2p then the acks for the download will be queued with the upload traffic - this happens with the ones that get piggybacked anyway, but I let empty bt acks have priority over those. It would help if you make the bt queue fairly short. Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc