dummynet dropping too many packets
Luigi Rizzo
rizzo at iet.unipi.it
Mon Oct 5 06:03:47 UTC 2009
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list