From owner-freebsd-net Tue Aug 20 0:38:22 2002 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 3D4B437B405 for ; Tue, 20 Aug 2002 00:38:19 -0700 (PDT) Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D24843E6E for ; Tue, 20 Aug 2002 00:38:18 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: from iguana.icir.org (localhost [127.0.0.1]) by iguana.icir.org (8.12.3/8.11.3) with ESMTP id g7K7cHIb044119; Tue, 20 Aug 2002 00:38:17 -0700 (PDT) (envelope-from rizzo@iguana.icir.org) Received: (from rizzo@localhost) by iguana.icir.org (8.12.3/8.12.3/Submit) id g7K7cG8G044118; Tue, 20 Aug 2002 00:38:16 -0700 (PDT) (envelope-from rizzo) Date: Tue, 20 Aug 2002 00:38:16 -0700 From: Luigi Rizzo To: Carlos Carnero Cc: freebsd-net@FreeBSD.ORG Subject: Re: Bandwidth throttling with dummynet(4) Message-ID: <20020820003816.A44103@iguana.icir.org> References: <20020819154141.A41050@iguana.icir.org> <20020820013634.3113.qmail@web21410.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020820013634.3113.qmail@web21410.mail.yahoo.com>; from zopewiz@yahoo.com on Mon, Aug 19, 2002 at 06:36:34PM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Aug 19, 2002 at 06:36:34PM -0700, Carlos Carnero wrote: > Hello, > > > dummynet pipes use timers heavily, and i suspect > > that the timer granularity in vmware might not be > > as good as you would want > > yes, you're right. I changed some thing though: > increased HZ in the kernel config from 1000 to 1500; > and currently I'm running the virtual machine at a > higher priority. Luckily I have a very fast host with > lots of RAM. 1500 vs 1000 won't help much -- events will be scheduled with the host system's timer granularity, which might well be low (100-128 or so for NT). Secondly, you are running two virtual machines, so i believe they will compete for resources causing the timing to be flaky. Anyways, on real boxes dummynet does work as expected at those rates. cheers luigi > > I'll play more with the slots, but those speeds (~ > 5KByte/s) are the ones that the real thing will use. > I'm building a router for a friend that has to share a > 256KBit/s link among 100 people :o > > I know that VMware is not exactly the best thing to > test dummynet, but right now I have no other choice. > It's an experience anyway. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message