Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2003 10:59:50 -0800
From:      Yuchung Cheng <ycheng@cs.ucsd.edu>
To:        ipfw@freebsd.org
Cc:        ycheng@cs.ucsd.edu
Subject:   maximum pipes in dummynet?
Message-ID:  <20031105105949.A15915@cs.ucsd.edu>

next in thread | raw e-mail | index | archive | help
Hi all,

I am using dummynet to simulate many different links. After dummynet seems
to slow down after more than 4000 (static) pipes. That is, the link delay
is more than the specified delay.  My config file looks like 

ipfw add 1 pipe     7 tcp from    192.168.2.100 10003 to    192.168.1.100 out
ipfw pipe     7 config bw 730KByte/s queue 40 delay 4ms plr 0.01
ipfw add 1 pipe     8 tcp from    192.168.1.100 to    192.168.2.100 10003 in
ipfw pipe     8 config bw 730KByte/s queue 40 delay 4ms plr 0.01
ipfw add 1 pipe     9 tcp from    192.168.2.100 10004 to    192.168.1.100 out
ipfw pipe     9 config bw 1400KByte/s queue 40 delay 28ms plr 0.00
ipfw add 1 pipe    10 tcp from    192.168.1.100 to    192.168.2.100 10004 in
ipfw pipe    10 config bw 1503KByte/s queue 40 delay 28ms plr 0.00

My machine is 2.66 P4 w/ 1G mem. Does anybody know how to make dummynet
support more pipes?

Also is it possible to specify one pipe for more than one port? i.e.,
ipfw add 1 pipe 10 tcp from 192.168.1.100 to 192.168.2.100 10004,10537,3045 in

Thanks.

Yu-chung



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