Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2005 17:00:15 +0200
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        vladone <vladone@spaingsm.com>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: about queue size
Message-ID:  <20050831150015.GI659@obiwan.tataz.chchile.org>
In-Reply-To: <1236974368.20050831134724@spaingsm.com>
References:  <1236974368.20050831134724@spaingsm.com>

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

> How i can calculate (or best aproximate) queue size?

It depends on what you are targeting.  For example a big queue will
likely drop less packets than a small one but OTOH, this could
add a big latency because of numerous packets being queued.  Small
queues will drop more packets but latency will be reduced.

Generally I would advice to use small queues when used for interactive
traffic such as a ssh session or even HTTP requests.
IIRC big queues will maximize bandwidth, but some network guy may
precise these rules, I would be glad to.

The rules to compute queue sizes are deductible from the ipfw(8)
manual page, DUMMYNET section (see "queue {slots | sizeKbytes}").

Hope this helps.
Regards,
-- 
Jeremie Le Hen
< jeremie at le-hen dot org >< ttz at chchile dot org >



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