> I tried to configure dummynet to allow for normal work when downloading files
> using queue mechanism (4.2-STABLE).
> 
> IPFW rules are:
> 
>   add 100 queue 10 tcp from any to any uid dnld1 in
>   add 200 queue 11 ip  from any to any
>   
>   queue 10 config weight 1  pipe 1 
>   queue 11 config weight 10 pipe 1 mask all
>   
>   pipe 1 config bw 128Kbit/s
>   
> sysctl net.inet.ip.fw.one_pass is set to 1
> 
> Although the counters for both (100 and 200) rules show that they both are hit
> during two parallel downloads (one by user dnld1), the bandwidth for both is
> equal. It should not be, I guess. Is it a bug or maybe I've misconfigured
> something.

it should not be equal provided the 'high weight' flow has sufficient
traffic going. Of course bugs are always possible, but i think i
checked that the mechanism did work before committing.

Can you do an 'ipfw zero' before the transfer, and provide the output of 

        ipfw show
        ipfw queue show
        ipfw pipe show

after that ?

        cheers
        luigi
----------------------------------+-----------------------------------------
 Luigi RIZZO, [EMAIL PROTECTED]  . ACIRI/ICSI (on leave from Univ. di Pisa)
 http://www.iet.unipi.it/~luigi/  . 1947 Center St, Berkeley CA 94704
 Phone: (510) 666 2927
----------------------------------+-----------------------------------------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to