Need Help with dummynet sysctl settings or tuning

tvtube blog tvtubeblog at gmail.com
Sat Jan 23 21:11:40 UTC 2010


Thanks Rocha for the help but i think you took it in wrong ways I know about
these rules I am use to play these rules ... I just want to optimize Freebsd
8 , dummynet and ipfw.

I want to optimize below setting and want to know about its use ...   like (
why , min value , max value , 0  or 1 , on and off ).

Firewal# sysctl -a | grep dummynet
net.inet.ip.dummynet.debug: 0
net.inet.ip.dummynet.pipe_
byte_limit: 1048576
net.inet.ip.dummynet.pipe_slot_limit: 100
net.inet.ip.dummynet.io_pkt_drop: 928
net.inet.ip.dummynet.io_pkt_fast: 132
net.inet.ip.dummynet.io_pkt: 649566
net.inet.ip.dummynet.io_fast: 0
net.inet.ip.dummynet.tick_lost: 0
net.inet.ip.dummynet.tick_diff: 247710
net.inet.ip.dummynet.tick_adjustment: 247672
net.inet.ip.dummynet.tick_delta_sum: 665
net.inet.ip.dummynet.tick_delta: 1000
net.inet.ip.dummynet.red_max_pkt_size: 1500
net.inet.ip.dummynet.red_avg_pkt_size: 512
net.inet.ip.dummynet.red_lookup_depth: 256
net.inet.ip.dummynet.max_chain_len: 16
net.inet.ip.dummynet.expire: 1
net.inet.ip.dummynet.search_steps: 662611
net.inet.ip.dummynet.searches: 649566
net.inet.ip.dummynet.extract_heap: 0
net.inet.ip.dummynet.ready_heap: 64
net.inet.ip.dummynet.hash_size: 64


Like what I only under stand from net.inet.ip.dummynet.debug: 0  that If I
make it net.inet.ip.dummynet.debug: 1 then debug will start and we gave out
some out put in /var/log/message. same like this is want to know about rest
of them.

Thanks in advance ad hope now you all under stand me ... sorry for bad
english

TheONe KHan




On Sat, Jan 23, 2010 at 11:12 PM, Joao Rocha Braga Filho <goffredo at gmail.com
> wrote:

> Here is an example:
>
> ipfw pipe 110 config mask src-ip 0xffffffff bw  100Kbit/s queue 100
> ipfw pipe 210 config mask dst-ip 0xffffffff bw  100Kbit/s queue 100
>
> ipfw add 100 pipe 110 ip from any to me
> ipfw add 200 pipe 210 ip from me to any
>
> Adjust the bw value, rule numbers etc, to yours needs.
>
>
> João Rocha.
>
>
> On Thu, Jan 21, 2010 at 3:26 AM, tvtube blog <tvtubeblog at gmail.com> wrote:
> > Dear All,
> >
> > I am trying to Create a Bandwidth Manager for our ISP with using Freebsd
> 8.0
> > + dummynet + ipfw. I also want to do tuning kernel + dummynet + ipfw
>  using
> > sysctl and load.conf .I am using Xeon 2.4 Server with 2 broadcom Giga lan
> > Cards and  32 GB SSD and 2 GB RAM and I will bandwidth shaping for each
> ip
> > means every /32 for 4000 IP addresses.
> >
> > I try to google for tunning these follwoing Dummynet settings but could
> not
> > dig deep into it. I love to know about every settings (use / min value /
> max
> > value / best value ) same for ipfw and tcp settings
> >
> > For example:
> > net.inet.ip.dummynet.io_fast: 0   (what is this use for / min value / max
> > value / best value)
> > net.inet.ip.dummynet.ready_
> > heap: 64 (what is this use for / min value / max value / best value)
> > net.inet.ip.dummynet.hash_size: 64 (what is this use for / min value /
> max
> > value / best value)
> >
> >
> > and the rest  of settings but I love Know about them ...... if any one
> know
> > about any book , ebook , tatorial  etc etc etc  then please reply
> >
> > Firewal# sysctl -a | grep dummynet
> > net.inet.ip.dummynet.debug: 0
> > net.inet.ip.dummynet.pipe_byte_limit: 1048576
> > net.inet.ip.dummynet.pipe_slot_limit: 100
> > net.inet.ip.dummynet.io_pkt_drop: 928
> > net.inet.ip.dummynet.io_pkt_fast: 132
> > net.inet.ip.dummynet.io_pkt: 649566
> > net.inet.ip.dummynet.io_fast: 0
> > net.inet.ip.dummynet.tick_lost: 0
> > net.inet.ip.dummynet.tick_diff: 247710
> > net.inet.ip.dummynet.tick_adjustment: 247672
> > net.inet.ip.dummynet.tick_delta_sum: 665
> > net.inet.ip.dummynet.tick_delta: 1000
> > net.inet.ip.dummynet.red_max_pkt_size: 1500
> > net.inet.ip.dummynet.red_avg_pkt_size: 512
> > net.inet.ip.dummynet.red_lookup_depth: 256
> > net.inet.ip.dummynet.max_chain_len: 16
> > net.inet.ip.dummynet.expire: 1
> > net.inet.ip.dummynet.search_steps: 662611
> > net.inet.ip.dummynet.searches: 649566
> > net.inet.ip.dummynet.extract_heap: 0
> > net.inet.ip.dummynet.ready_heap: 64
> > net.inet.ip.dummynet.hash_size: 64
> >
> > Thanks
> >
> > TheONe KHan
> > _______________________________________________
> > freebsd-ipfw at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"
> >
>
>
>
> --
> "Sempre se apanha mais com as menores besteiras. Experiência própria."
>
> goffredo at gmail.com
>


More information about the freebsd-ipfw mailing list