Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 22:40:43 -0800 (PST)
From:      Aloha Guy <alohaguy123@yahoo.com>
To:        Charles Swiger <cswiger@mac.com>
Cc:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD box as router adding latency
Message-ID:  <20040227064043.43033.qmail@web41314.mail.yahoo.com>
In-Reply-To: <F4BD1F87-68B2-11D8-870A-003065ABFD92@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Charles Swiger <cswiger@mac.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040227064043.43033.qmail>