> > Alvin Oga wrote:
> >  
> > i need to change the lines:
> >     #
> >     # line 3484 in ipfw2.c  v1.99 
> >     #
> >     if ( p.fs.qsize > 100 )
> >         errx ( EX_DATAERR, "2 <= queue size <= 100 )
> > 
> > the 100 need to be changed to 10,000  to allow for a bigger queue 
> > according to the customer that wants to use ipfw + dummynet for
> > testing gigE thruput
> 
...
>
> src/sys/netinet/ip_dummynet.c:
> 
> set_fs_parms(struct dn_flow_set *x, struct dn_flow_set *src)
> {
>    x->flags_fs = src->flags_fs;
>    x->qsize = src->qsize;
>    x->plr = src->plr;
>    x->flow_mask = src->flow_mask;
>    if (x->flags_fs & DN_QSIZE_IS_BYTES) {
>        if (x->qsize > 1024*1024)
>            x->qsize = 1024*1024 ;
>    } else {
>        if (x->qsize == 0)
>            x->qsize = 50 ;
>        if (x->qsize > 100)
>            x->qsize = 50 ;

we're changing the 100 to 10000

>    }

...

> If I just remove this limit, will I hit some other limits in
> dummynet code (except overall KVA or UMA zone limit)?

there's other equivalent ( gigE ) changes we're making in:

        src/sys/dev/em/if/en.h
        /etc/sysctl.conf
        ipfw2.c
        DUMMYNET kernel ( modified GENERIC )
        .. and still hunting for more options to see if we can go
        .. bigger and faster than the generic bear

c ya
alvin

_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to