From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 22:40:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A99CB16A4CE for ; Thu, 26 Feb 2004 22:40:43 -0800 (PST) Received: from web41314.mail.yahoo.com (web41314.mail.yahoo.com [66.218.93.63]) by mx1.FreeBSD.org (Postfix) with SMTP id 9152E43D31 for ; Thu, 26 Feb 2004 22:40:43 -0800 (PST) (envelope-from alohaguy123@yahoo.com) Message-ID: <20040227064043.43033.qmail@web41314.mail.yahoo.com> Received: from [208.201.244.226] by web41314.mail.yahoo.com via HTTP; Thu, 26 Feb 2004 22:40:43 PST Date: Thu, 26 Feb 2004 22:40:43 -0800 (PST) From: Aloha Guy To: Charles Swiger In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: Free BSD Questions list Subject: Re: FreeBSD box as router adding latency X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2004 06:40:43 -0000 Charles Swiger wrote: On Feb 26, 2004, at 5:59 PM, Aloha Guy wrote: > Charles Swiger wrote: >> There's your issue right there: if you care about the millisecond >> level >> granularity of network traffic going by this router, you ought to set >> HZ to 1000 as documented in "man dummynet". [ ... ] > Knew I forgot to read something. I guess I forgot all about dummynet > is the one doing the traffic shaping as I never used traffic shaping > on the other boxes when they were used as both Ethernet and T1 > routers. I've always had NMBCLUSERS set to 32768 which I assume is > fine. Thats a lot of NMBCLUSTERS, but if you've got the memory you should be okay. > Also, is there a way to use two NICs like a xl0 and a fxp0 and bond > them together with just one IP? Yes, netgraph. See "man ng_one2many".... I actually had the NMBCLUSTERS set that way even with 128MB boxes without issues but the box in question has 2GB of ram so it's not much of a big deal. I tried the ng_one2many and it did help bring things closer to 80Mbps from 60Mbps. I guess the HD is the bottleneck as it's only a notebook and even with the 7200rpm 60GB 2.5" drive, the sustained transfer rate is limited. Tried the HZ 1000 setting and recompiled a new kernel but it didn't really seem to do anything at all. I'm wondering what's the highest setting it will work with.Thanks,John --------------------------------- Do you Yahoo!? Get better spam protection with Yahoo! Mail