Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 1999 04:56:00 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        phate1@ix.netcom.com
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Software bandwidth limiting solution
Message-ID:  <199902230356.EAA18677@labinfo.iet.unipi.it>
In-Reply-To: <000d01be5eac$87517140$29e76dd1@dialup.phate.com> from "phate1@ix.netcom.com" at Feb 22, 99 04:44:03 pm

next in thread | previous in thread | raw e-mail | index | archive | help

> Hello,
> 
> I'm running 3.0-Stable.
> 
> I'm trying to limit bandwidth to one of the boxes to to below 5Mbps (it's
> eating up a full 10Mbps lan)..
> Specifically just limit port 80 (web traffic) so I can telnet/ftp without
> any lag..
> 
> I tried dummynet, but it only seems to queue incoming packets, which results
> in me running out of my mbufs (8192 total), and the system reboots.

1) what dummynet rules are you using ? it seems to me that you are doing
   something wrong with them; a single pipe never queues more than 100
   pkts (mbuf clusters) and almost certainly you want to set a much
   lower limit. don't know how you can hit 8192.
2) dummynet has had some bugs in the past which i have tried to fix (see
   e.g. recent commits to ip_output.c), so you'd have to tell me
   precisely what version of ip_fw.c, ip_dummynet.c and ip_output.c you
   are running.

> Can a software solution handle this? Or would I need something hardware
> based?

dummynet is good for hard limits, altq is good for flexible bandwidth
allocation without hard limits.

	cheers
	luigi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902230356.EAA18677>