From owner-freebsd-hackers Thu Oct 18 10:53:35 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 549A537B408; Thu, 18 Oct 2001 10:53:30 -0700 (PDT) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id f9IHoHg82428; Thu, 18 Oct 2001 10:50:17 -0700 (PDT) (envelope-from rizzo) Date: Thu, 18 Oct 2001 10:50:17 -0700 From: Luigi Rizzo To: Kenneth Wayne Culver Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: altq question. Message-ID: <20011018105017.A82131@iguana.aciri.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Oct 18, 2001 at 01:46:06PM -0400, Kenneth Wayne Culver wrote: > I was wondering if anyone had ever used altq to throttle people on an adsl > connection. Basically what I want to do make each user share bandwidth > evenly, but in such a way that they can use all the available bandwidth > individually if nobody else is using it. However, I also want to be able > to set aside some of that bandwidth for ssh. The problem is on my machine, > with dummynet, I can do all this, but when I set it up to limit both > incoming (608Kbit/s) and outgoing (128Kbit/sec) connections, the ping time > through the machine goes up by 5 seconds, if I turn off the queuing either you have set the bandwidth wrong (does "ipfw pipe show" list the speed you want for the pipes ? can you post its output ?) or you are doing the measurement on a saturated link, in which case when you use dummynet with dynamic queues you have a lot more buffering going on, and this would explain why you see higher ping times (but perhaps without it you see some large amount of losses) ? cheers luigi > options on the outgoing connections/packets, the ping returns to > normal. Also, I can't figure out with altq how to set up different > incoming and outgoing bandwidths. Does anyone have any experience doing > anything like this with altq? if not, can someone tell me how to fix my > ping problem with dummynet? Thanks. > > Ken > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message