From owner-freebsd-doc Sun Aug 25 9: 0:46 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D3A937B400 for ; Sun, 25 Aug 2002 09:00:44 -0700 (PDT) Received: from Kain.sumuk.de (Kain.sumuk.de [213.221.86.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34B9C43E42 for ; Sun, 25 Aug 2002 09:00:43 -0700 (PDT) (envelope-from martin@sumuk.de) Received: from Moses.earth.sol (Moses.earth.sol [192.168.1.1]) by Kain.sumuk.de (8.12.5/8.12.5) with ESMTP id g7PG0fbn070915; Sun, 25 Aug 2002 18:00:41 +0200 (CEST) (envelope-from martin@sumuk.de) Received: (from vincent@localhost) by Moses.earth.sol (8.11.6/8.11.6) id g7PG0eg07284; Sun, 25 Aug 2002 18:00:40 +0200 (CEST) (envelope-from vincent) Date: Sun, 25 Aug 2002 18:00:40 +0200 From: Martin Heinen To: "Ritz, Bruno" Cc: FreeBSD-doc@FreeBSD.ORG Subject: Re: possible millisecond - microsecond confusion Message-ID: <20020825180039.B6559@sumuk.de> Reply-To: FreeBSD-doc@FreeBSD.ORG References: <20020825125050.A6559@sumuk.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from bruno_ritz@gmx.ch on Sun, Aug 25, 2002 at 05:39:13PM +0200 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Aug 25, 2002 at 05:39:13PM +0200, Ritz, Bruno wrote: > I don't agree with your patch. It would change the "microseconds" to µs which is still not the same as "ms". > > The text says that in the first case only 370 packets/s can be processed, so it must be the milliseconds stuff (1/370 =~ 0.002702 -> > 2.702 milliseconds) There is nothing wrong with the units: The first number (2.703 ms) gives the time to process a packet. Since the example uses 1000 rules, processing one rule will take 2.703 ms / 1000 = 2.7 µs. The theoretical limit of 370 packets per second is derived from the first number 1000 / 2.703 = 370. Martin -- Marxpitn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message