From owner-freebsd-net Fri Sep 25 23:39:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA27404 for freebsd-net-outgoing; Fri, 25 Sep 1998 23:39:33 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from beatrice.rutgers.edu (beatrice.rutgers.edu [165.230.209.143]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA27399 for ; Fri, 25 Sep 1998 23:39:28 -0700 (PDT) (envelope-from easmith@beatrice.rutgers.edu) Received: (from easmith@localhost) by beatrice.rutgers.edu (980427.SGI.8.8.8/970903.SGI.AUTOCF) id CAA15206; Sat, 26 Sep 1998 02:38:39 -0400 (EDT) From: "Allen Smith" Message-Id: <9809260238.ZM15204@beatrice.rutgers.edu> Date: Sat, 26 Sep 1998 02:38:39 -0400 In-Reply-To: Luigi Rizzo "Re: Packet/traffic shapper ?" (Sep 26, 2:23am) References: <199809260435.GAA13849@labinfo.iet.unipi.it> X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: Luigi Rizzo Subject: Re: Packet/traffic shapper ? Cc: ark@eltex.ru, kev@lab321.ru, mike@smith.net.au, net@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sep 26, 2:23am, Luigi Rizzo (possibly) wrote: > > Not to get back into the debate regarding ALTQ's "ugliness", the > > primary thing I was looking at ALTQ for was the RED (Random Early > > Detection) capability of ALTQ, so that I can get the lower-priority > > TCP streams to drop back their bandwidth when they're getting too > > much. > > Your statement seems a bit strange because with RED there are no > priorities. Sorry, I was unclear - I was meaning only adding RED to the lower-priority classes; in other words, just drop some of those, instead of dropping the higher-priority ones. That way, a higher proportion (but not a fixed proportion) of the bandwidth is devoted to the higher-priority ones, _if_ there's a congestion problem. Admittedly, I haven't worked this out with a net simulator, as one should probably do when dealing with such issues. > In any case, RED support is very very very easy to add to dummynet. > To get the idea, the most difficult part is the ipfw code to pass > RED parameters to the kernel! Nice... although given other capabilities that IpFilter has (including ones that I've patched into it, such as making ICMP messages look like they're coming from the supposed destination machine - allowing for what will look to other machines like a bridge, but is actually looking at higher-level information than just the MAC address), it'd be nicer if somebody adapted it and dummynet to work together. -Allen -- Allen Smith easmith@beatrice.rutgers.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message