From owner-freebsd-ipfw@FreeBSD.ORG Sat Jan 23 21:11:40 2010 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40D1C106566B for ; Sat, 23 Jan 2010 21:11:40 +0000 (UTC) (envelope-from tvtubeblog@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id 11F4C8FC08 for ; Sat, 23 Jan 2010 21:11:39 +0000 (UTC) Received: by pzk40 with SMTP id 40so16687pzk.7 for ; Sat, 23 Jan 2010 13:11:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=JmuIMtkSOvr0VAp6J/kIVy8auwoyrC5VSnbiN+6nmF4=; b=C+hwgj3yII0dFJn4TiCpdNTu2BCyB3Jaq6YuazQNJoZZlATSgYMPlGw/DfWSJlO3T/ 6OzhuAFJQl8pdjZCjdxcQ1NfNZ5ymGWEjYRWG38V56+gtCrYxxgBqzbndbAriuGhm+vk /zyCfKc8Ds2ZC13AlI6c3feOKPB9HYwxQcxow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BAiOB8nUQBuIYfVe/VHp2W6GJxETt8JtBK7MuWSujPA+emxCINdQdWPzkqiL8SJSYt XKY6FqtdtXtkS9V+z9l7Jb3PtIooa2kmcYf3huhLrCzKh992bYUNlAS6XJ4MZ89O4GsH vfmMRxorPrB7REuypYD6YYt3phAslkouem2nk= MIME-Version: 1.0 Received: by 10.143.26.42 with SMTP id d42mr3193589wfj.219.1264281099149; Sat, 23 Jan 2010 13:11:39 -0800 (PST) In-Reply-To: References: <8c7234991001202126v6180c299qa0910c8c1dc7abef@mail.gmail.com> Date: Sun, 24 Jan 2010 02:11:39 +0500 Message-ID: <8c7234991001231311u5ce0cdefmf01a9df6d9049dbc@mail.gmail.com> From: tvtube blog To: Joao Rocha Braga Filho Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ipfw@freebsd.org Subject: Re: Need Help with dummynet sysctl settings or tuning X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 21:11:40 -0000 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 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 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 >