Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2007 19:12:32 +0300
From:      "Andrew Pantyukhin" <infofarmer@FreeBSD.org>
To:        ipfw@freebsd.org
Subject:   dynamic queues replace each other randomly
Message-ID:  <cb5206420703250912h30c7a3fcvb5d240db4a65e0a5@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have a 6.2-release/i386 gateway with ipfw and
dummynet compiled into kernel.

pipe 107 config bw 2M
queue 207 config pipe 107 weight 50 mask dst-ip 0xffffffff
add queue 207 <some traffic>

The problem is this. When I look at "ipfw queue 207
show" it all seems almost normal. When new dst-ip's
are noticed, new dynamic queues appear. But one
bucket is "shared" between two flow's.

Whichever flow (dst-ip) received packets last shows
up in the table. Every time the bucket changes
between the flows, its counters are reset to 0.

If the glitch is in the numbers, here they are:
50 slots
9 queues (from 5 to 20 over time)
64 buckets
"shared" bucket no. 20
the two dst-ip are 192.168.17.68 and 172.17.0.54

Now that I look at the table, I also see another
strange thing. Right after the bucket 20 line come
two lines, both numbered as bucket 21. At least
they both show up every time. Their ip's are
192.168.17.69 and 172.17.0.55.

Any ideas are welcome. Thanks!



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