cvs commit: src/sbin/ipfw ipfw.8 ipfw2.c src/sys/netinet ip_dummynet.c

Julian Elischer julian at elischer.org
Wed Feb 27 18:43:42 UTC 2008


David Malone wrote:
> dwmalone    2008-02-27 13:52:33 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sbin/ipfw            ipfw.8 ipfw2.c 
>     sys/netinet          ip_dummynet.c 
>   Log:
>   Dummynet has a limit of 100 slots queue size (or 1MB, if you give
>   the limit in bytes) hard coded into both the kernel and userland.
>   Make both these limits a sysctl, so it is easy to change the limit.
>   If the userland part of ipfw finds that the sysctls don't exist,
>   it will just fall back to the traditional limits.

"hooray!"

>   
>   (100 packets is quite a small limit these days. If you want to test
>   TCP at 100Mbps, 100 packets can only accommodate a DBP of 12ms.)
>   
>   Note these sysctls in the man page and warn against increasing them
>   without thinking first.
>   
>   MFC after:      3 weeks
>   
>   Revision  Changes    Path
>   1.211     +14 -0     src/sbin/ipfw/ipfw.8
>   1.118     +18 -5     src/sbin/ipfw/ipfw2.c
>   1.115     +9 -2      src/sys/netinet/ip_dummynet.c



More information about the cvs-src mailing list