From owner-freebsd-questions@FreeBSD.ORG Thu Oct 8 21:20:10 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B2911065670 for ; Thu, 8 Oct 2009 21:20:10 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id C77F08FC14 for ; Thu, 8 Oct 2009 21:20:09 +0000 (UTC) Received: from iph2.telenor.se (195.54.127.133) by proxy1.bredband.net (7.3.140.3) id 4AC2562E00362EB2 for freebsd-questions@freebsd.org; Thu, 8 Oct 2009 23:20:08 +0200 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj1JABf0zUpV4jsLPGdsb2JhbACBUpknAQEBATe/F4QqBIFY X-IronPort-AV: E=Sophos;i="4.44,527,1249250400"; d="scan'208";a="51975465" Received: from c-0b3be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.11]) by iph2.telenor.se with ESMTP; 08 Oct 2009 23:20:08 +0200 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.3/8.14.3) with ESMTP id n98LK1ii037510 for ; Thu, 8 Oct 2009 23:20:02 +0200 (CEST) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4ACE5781.8040105@pp.dyndns.biz> Date: Thu, 08 Oct 2009 23:20:01 +0200 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Thunderbird 2.0.0.23 (X11/20090912) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1255033407.16179.10.camel@notebook> In-Reply-To: <1255033407.16179.10.camel@notebook> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD 7.1 as a router - poor download speed, but normal upload X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2009 21:20:10 -0000 .kkursor wrote: > Hello everybody! Please help me if you can. > I have a home server built on Gigabyte MiniITX motherboard with VIA C3 > 800MHz CPU and 512M RAM aboard. The server acts as a file server, > torrent downloader, router and mail and HTTP server. > I have a PPTP connection to my ISP through the integrated network card. > The network configuration is: > > [0:04] kkursor@dot.kkursor.ru ~ # ifconfig > rl0: flags=8843 metric 0 mtu > 1500 > options=8 > ether 00:19:cb:54:c6:15 > inet 192.168.0.26 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet autoselect (100baseTX ) > status: active > rl1: flags=8843 metric 0 mtu > 1500 > options=8 > ether 00:0f:ea:e2:cd:e0 > inet 192.168.158.102 netmask 0xffffff00 broadcast 192.168.158.255 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > tun0: flags=8051 metric 0 mtu 1500 > inet 195.98.183.20 --> 172.30.96.1 netmask 0xffffffff > Opened by PID 73795 > tun1: flags=8010 metric 0 mtu 1500 > > rl1 is integrated network card and rl0 is an additional PCI NIC which is > inserted into the only PCI slot on the motherboard. Connection to ISP is > done over rl1 using port pptp-client. > The problem is that there is very low download speed. My ISP provides > symmetric 4Mbps line, but download speed is poor - about 1 Mbps. Upload > speed is OK. I called ISP, they asked me to connect WinXP computer and > measure speed. It was normal, therefore there is an issue in my server. > If you could point me in the right direction, it would be wonderful. > Thank you very much for your work! > > With best regards and looking forward for answer, > Kirill Sarksyan, Russian Federation Did you really saturate your upload while testing your download speed in WinXP? What you're describing is a common problem with how TCP works especially on (but not limited to) assymetric connections. I use the technique described by Daniel Hartmeier to circumvent it and can fully utilize my upload and download simultaneously. http://www.benzedrine.cx/ackpri.html /Morgan