Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2009 08:10:25 +0200
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Eugene Grosbein <eugen@kuzbass.ru>
Cc:        rihad <rihad@mail.ru>, freebsd-net@freebsd.org
Subject:   Re: dummynet dropping too many packets
Message-ID:  <20091005061025.GB55845@onelab2.iet.unipi.it>
In-Reply-To: <20091005025521.GA52702@svzserv.kemerovo.su>
References:  <4AC8A76B.3050502@mail.ru> <20091005025521.GA52702@svzserv.kemerovo.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 05, 2009 at 10:55:21AM +0800, Eugene Grosbein wrote:
> On Sun, Oct 04, 2009 at 06:47:23PM +0500, rihad wrote:
> 
> > sysctls:
> > kern.ipc.nmbclusters=50000
> > net.inet.ip.dummynet.io_fast=1
> 
> I guess you should also try to increase pipes length:
> 
> net.inet.ip.dummynet.hash_size=65536
> net.inet.ip.dummynet.pipe_slot_limit=1000

in fact, i forgot to ask, we'd need to know the output of
"ipfw pipe show" just to get the idea if there is any
known reason for the drop (e.g. queues too short, etc.)

cheers
luigi

> And reconfigure pipes like this:
> 
> ipfw pipe NNN config bw ... queue 1000
> 
> And default 'taildrop' policy of dummynet pipes may be guilty,
> you'd use GRED to prevent excessive drops.
> 
> Eugene Grosbein
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"



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