Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 02:11:39 +0500
From:      tvtube blog <tvtubeblog@gmail.com>
To:        Joao Rocha Braga Filho <goffredo@gmail.com>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: Need Help with dummynet sysctl settings or tuning
Message-ID:  <8c7234991001231311u5ce0cdefmf01a9df6d9049dbc@mail.gmail.com>
In-Reply-To: <b61e1c171001231012q50e93d9ewc51585902dd36eb1@mail.gmail.com>
References:  <8c7234991001202126v6180c299qa0910c8c1dc7abef@mail.gmail.com> <b61e1c171001231012q50e93d9ewc51585902dd36eb1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Rocha for the help but i think you took it in wrong ways I know abou=
t
these rules I am use to play these rules ... I just want to optimize Freebs=
d
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@gmail.co=
m
> 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=E3o Rocha.
>
>
> On Thu, Jan 21, 2010 at 3:26 AM, tvtube blog <tvtubeblog@gmail.com> wrote=
:
> > Dear All,
> >
> > I am trying to Create a Bandwidth Manager for our ISP with using Freebs=
d
> 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 l=
an
> > 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 / m=
ax
> > 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@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
> >
>
>
>
> --
> "Sempre se apanha mais com as menores besteiras. Experi=EAncia pr=F3pria.=
"
>
> goffredo@gmail.com
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8c7234991001231311u5ce0cdefmf01a9df6d9049dbc>