Re: Dummynet

看板FB_stable作者時間15年前 (2010/09/21 21:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
Hi Jon Otterholm! On Mon, 20 Sep 2010 10:00:48 +0200; Jon Otterholm wrote about 'Dummynet': > Installed a new router running 8-stable and encounter some problems when > configuring dummynet pipes: > When setting buckets above 1024... > ipfw pipe 91 config bw 100Mbit/s mask src-ip 0xffffffff buckets 4096 > ...I get the following error: > Clamp sched buckets to 1024 (was 4096) Try to write "buckets 4096" before "mask", though this is unlikely to help, there are some troubles with 8.1's changes in parser. > # sysctl net.inet.ip.dummynet.hash_size > net.inet.ip.dummynet.hash_size: 4096 Also, make sure you're doing this before any packets actually went to dummynet (e.g. just after reboot). > from man ipfw: > buckets hash-table-size > Specifies the size of the hash table used for storing the > various > queues. Default value is 64 controlled by the sysctl(8) > variable > net.inet.ip.dummynet.hash_size, allowed range is 16 to 65536. > Am I missing something here? This worked fine in the 7-branch. The reason is that luigi@ merged ipfw3 from -CURRENT between 8.0R and 8.1R. There are many new features and, as seen from many PRs, many new bugs. -- WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@mail.ru [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight] _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1CcAoEhS (FB_stable)
文章代碼(AID): #1CcAoEhS (FB_stable)