From owner-freebsd-net@FreeBSD.ORG Thu Feb 26 08:35:26 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 108D316A4D0; Thu, 26 Feb 2004 08:35:26 -0800 (PST) Received: from mail.wolves.k12.mo.us (duey.wolves.k12.mo.us [207.160.214.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8F8F43D1F; Thu, 26 Feb 2004 08:35:25 -0800 (PST) (envelope-from cdillon@wolves.k12.mo.us) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 2D4EE1FE5C; Thu, 26 Feb 2004 10:35:25 -0600 (CST) Received: from mail.wolves.k12.mo.us ([127.0.0.1]) by localhost (duey.wolves.k12.mo.us [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21263-01-51; Thu, 26 Feb 2004 10:35:24 -0600 (CST) Received: by mail.wolves.k12.mo.us (Postfix, from userid 1001) id 250E31FE50; Thu, 26 Feb 2004 10:35:24 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by mail.wolves.k12.mo.us (Postfix) with ESMTP id 234731A92D; Thu, 26 Feb 2004 10:35:24 -0600 (CST) Date: Thu, 26 Feb 2004 10:35:24 -0600 (CST) From: Chris Dillon To: Aloha Guy In-Reply-To: <20040225233333.46897.qmail@web41305.mail.yahoo.com> Message-ID: <20040226102832.I23339@duey.wolves.k12.mo.us> References: <20040225233333.46897.qmail@web41305.mail.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at wolves.k12.mo.us cc: freebsd-net@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD box as router adding latency X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 16:35:26 -0000 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). -- Chris Dillon - cdillon(at)wolves.k12.mo.us FreeBSD: The fastest, most open, and most stable OS on the planet - Available for IA32, IA64, AMD64, PC98, Alpha, and UltraSPARC architectures - PowerPC, ARM, MIPS, and S/390 under development - http://www.freebsd.org Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon?