From owner-freebsd-ports@FreeBSD.ORG Sun Feb 15 14:35:46 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 259E510656BE for ; Sun, 15 Feb 2009 14:35:46 +0000 (UTC) (envelope-from jonathan@kc8onw.net) Received: from vps.kc8onw.net (jonathanstewart-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:71d::2]) by mx1.freebsd.org (Postfix) with ESMTP id F0E3E8FC08 for ; Sun, 15 Feb 2009 14:35:45 +0000 (UTC) (envelope-from jonathan@kc8onw.net) Received: from [10.70.3.246] (in-67-236-184-169.dhcp.embarqhsd.net [67.236.184.169]) by vps.kc8onw.net (Postfix) with ESMTPSA id 3E2C01703C; Sun, 15 Feb 2009 05:06:34 -0500 (EST) Message-ID: <49982839.803@kc8onw.net> Date: Sun, 15 Feb 2009 09:35:37 -0500 From: Jonathan User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Chuck Robey References: <200902131919.37778.makc@issp.ac.ru> <49972998.9000504@telenix.org> In-Reply-To: <49972998.9000504@telenix.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: FreeBSD Port: ktorrent-3.1.6_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 14:35:47 -0000 Chuck Robey wrote: > I finally found an odd fix, not sure why it worked this way, but I thought to > pass it along on the hope that maybe it will work for you as well as it did for > me. My max upload is about 38KBPS, my max download is about 160KBPS. I'd set > for to -1, so that the u/d rates would be set to infinite, so that the torrent > client would intelligently choose the best rate. But my experience showed that > my max ACTUAL gross download was only about 25KBPS (remember, I was expecting, > from the torrent protocol, to get better than 6 times that.) > > Well, finally losing all hope, I decided to set the upload rate down to about > 20K, so I could use the reserved rate for other entertainments. IMMEDIATELY > upon limiting the UPLOAD rate to 20K, the download rate shot up to nearly my > 160K maximum. I can't understand this, but I tried to move the upload/download > rates around a little bit, to verify the finding: that I just should NEVER set > the rates to infinite, and that (at least in ktorrent) the max download rate > really was attainable. > > I haven't any idea why this worked for me, only that it did do this, reliably. > I may go back to trying previous torrent clients now. What a fine way to spend > the afternoon! Your problem is not related to the one I and the others have. Your problem is caused by your upstream being so saturated with data packets that the acknowledge packets for the downloads are being delayed or dropped. A much more detailed description and more general solution can be found here http://www.benzedrine.cx/ackpri.html -- Jonathan