From owner-freebsd-questions@FreeBSD.ORG Sat Sep 8 15:13:40 2007 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 CEBC516A418 for ; Sat, 8 Sep 2007 15:13:40 +0000 (UTC) (envelope-from b.movaqar@adempiere.org) Received: from kedah.mschosting.com (kedah.mschosting.com [202.75.42.90]) by mx1.freebsd.org (Postfix) with ESMTP id 50D6113C458 for ; Sat, 8 Sep 2007 15:13:40 +0000 (UTC) (envelope-from b.movaqar@adempiere.org) Received: from [87.107.63.161] (port=55304) by kedah.mschosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1IU207-0003t2-Ep; Sat, 08 Sep 2007 23:13:36 +0800 Message-ID: <46E2BCB2.9010909@adempiere.org> Date: Sat, 08 Sep 2007 18:46:02 +0330 From: "Bahman M." User-Agent: Thunderbird 2.0.0.6 (X11/20070904) MIME-Version: 1.0 To: Joao Barros References: <46E2AEA8.4060403@adempiere.org> <70e8236f0709080735p1e60453cp435f58127c7a35fd@mail.gmail.com> In-Reply-To: <70e8236f0709080735p1e60453cp435f58127c7a35fd@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - kedah.mschosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - adempiere.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org Subject: Re: ADSL Bandwidth Monitoring 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: Sat, 08 Sep 2007 15:13:40 -0000 Joao Barros wrote: > On 9/8/07, Bahman M. wrote: >> Hi all, >> >> I have an ADSL connection at home. >> >> When I'm _uploading_ files the whole upload bandwidth is consumed; so >> far so good. >> >> But when _downloading_ no more than 30~40% of download bandwidth is >> consumed. >> >> The guys in the ISP say they've granted me the requested bandwidth but >> this is not what I see in action. >> >> How may I know the real bandwidth limits of my connection? Any tool or >> trick? Or maybe I'm misunderstanding something about ADSL bandwidth? > > First of all you have to take into account that with an ADSL > connection, I'm guessing PPPoE, you have overhead due to protocol > tunnelling. The connection is a simple ethernet connection (sorry, I don't know the exact technical name) which requires no authentication and setup (I have a valid static IP address). On a fresh system, I just need to specify gateway IP and my own machine's and plug the cable in and it starts working > Next you must verify that you don't max out your upload while testing > download speed. From my tests, up to 90% upload bandwidth usage is > safe and shows no impact on download performance. Tested while not uploading and the results were the same. > And for last, use multiple download sources as only one may not be enough. > Find http or ftp mirrors close to you (on your ISP for ex) and start > downloading multiple ISOs for example. > I tested the connection by downloading 2~3 files simultaneously and used 'bmon' as Mel suggested in another reply (thanks to him). As I'd already guessed the RX don't get bigger than 30~40% of the expected bandwidth. I performed the test with some other files and there was no difference. > Note: Make sure the device taking care of the PPPoE connection is > powerful enough to support your bandwidth. For example, I still have a > Linksys WRT54GL as router and I can easily see 100% cpu usage and load > 1 and thus I can't use my max contracted bandwidth. Use the modem or > a powerful enough machine running FreeBSD of course :) > Don't worry about that! My connection is such slow that even the primitive NICs and CPUs would handle it :-) Thanks, Bahman