why my dummynet queue not work?
Brooks Davis
brooks at one-eyed-alien.net
Fri Mar 11 08:49:05 PST 2005
[Please don't top-post.]
On Fri, Mar 11, 2005 at 01:34:10PM +0800, jim song wrote:
> Brooks,
>
> Actually I use the freebsd box as an router. I set the tcp window in
> another two windows box running iperf (iperf -w 5M).
I'm pretty sure iperf only really sets the socket buffer size, not
the tcp window size. In fact, that's what the help entry says:
-w, --window #[KM] TCP window size (socket buffer size)
At least on FreeBSD the maximum window size is controlled by a global
variable. You need to make sure you are setting both. If you want to
use windows end-hosts, you'll need to ask a windows list what you need
to do there.
> Before I add in the pipes, the throughputs could reach 300M, but after
> I config in the two pipes(200M bandwidth, 25ms delay), the throughput
> degrade to about 5M.
That's expected.
> BTW, is there some limitations to tcp connections passing through a
> router?
No, dummynet doesn't know anything about TCP.
-- Brooks
> On Thu, 10 Mar 2005 20:39:33 -0800, Brooks Davis
> <brooks at one-eyed-alien.net> wrote:
> >
> > Why are you using the queue parameter at all? If you just want to
> > emulate a pipe there is usually no need to do that. Have you adjusted
> > your socket buffers in addition to your max TCP window size?
> >
> > -- Brooks
> >
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20050311/cd200ab0/attachment.bin
More information about the freebsd-ipfw
mailing list