Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2009 19:46:36 +0800
From:      Eugene Grosbein <eugen@kuzbass.ru>
To:        rihad <rihad@mail.ru>
Cc:        freebsd-net@freebsd.org, Luigi Rizzo <rizzo@iet.unipi.it>
Subject:   Re: dummynet dropping too many packets
Message-ID:  <20091005114636.GB77999@svzserv.kemerovo.su>
In-Reply-To: <4AC8BF3B.10601@mail.ru>
References:  <4AC8A76B.3050502@mail.ru> <20091004144909.GA42503@onelab2.iet.unipi.it> <4AC8B6E3.2070101@mail.ru> <20091004151518.GB42877@onelab2.iet.unipi.it> <4AC8BF3B.10601@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 04, 2009 at 08:28:59PM +0500, rihad wrote:

> Thanks for the tip. although I took an easier route by simply doing 
> "ipfw add allow ip from any to any" before the pipe rules, and the buf 
> drop rate instantly became 0. So the problem is dummynet/ipfw.

You should also estimate volume of non-TCP traffic
that is generally has not flow control capabilities of TCP.

Or, try something like this:

ipfw add 100 skipto 200 tcp from any to any	# direct only TCP to dummynet
ipfw add 150 allow ip from any to any		# pass non-TCP
ipfw add 200 ... 				# here dummynet rules go

And take a look at drop counters.

Eugene Grosbein



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