Date: Thu, 26 Feb 2004 13:53:44 -0800 (PST) From: Aloha Guy <alohaguy123@yahoo.com> To: Chris Dillon <cdillon@wolves.k12.mo.us> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD box as router adding latency Message-ID: <20040226215344.65632.qmail@web41307.mail.yahoo.com> In-Reply-To: <20040226102832.I23339@duey.wolves.k12.mo.us>
next in thread | previous in thread | raw e-mail | index | archive | help
Chris Dillon <cdillon@wolves.k12.mo.us> wrote: On Wed, 25 Feb 2004, Aloha Guy wrote: > You're right that additional delay while adding a hop is to be > expected, which is less than 0.1ms to the FreeBSD box but everything > past the FreeBSD machine is adding atleast 5ms up to 300ms in the > traceroutes when the normal is no more than 20ms for the same > traceroute. I've already checked the NICs and they are all > configured at their full rated speeds and full duplex. I even try > using a Cardbus PCMCIA fxp0 Intel Pro/100S card on the FreeBSD box > and it still had the same problem. I am using a September 2003 > -CURRENT so I don't know if it's a issue with the current networking > code back then or not. What do you have HZ set to (see sysctl kern.clockrate)? I think I remember your original message showing you using pipes and queues and the HZ setting can affect those. Also see if your latency improves if you remove all pipe and queue rules (other ipfw rules are OK). Here is the HZ setting: kern.clockrate: { hz = 100, tick = 10000, profhz = 1024, stathz = 128 } I'm not sure how to remove the pipe since I don't think the pipe works until the queue is defined. When I removed the queues that are configured for the pipe, the latency is back to normal though. 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?20040226215344.65632.qmail>