From owner-freebsd-ipfw@FreeBSD.ORG Sat Jan 23 14:17:05 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 419D91065670 for ; Sat, 23 Jan 2010 14:17:05 +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 1749F8FC08 for ; Sat, 23 Jan 2010 14:17:04 +0000 (UTC) Received: by pzk40 with SMTP id 40so506575pzk.7 for ; Sat, 23 Jan 2010 06:17:04 -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:content-type; bh=fQREuDQo3rCWpux9end6QOa6c2sTIeYm0AsGmAZl1vM=; b=lf8Hs9Ihd81z2Kd2L31YEGIZsbCZk7PMH6DKbwy2pAchxaN/ipzNdweY3cnT3PFPrt PhHjjHZl4engzzVwGnmOoM0uTEnYxHUAzoQKmcflj6G6qdwJxmNMIDBrjcSQWTaoOt4r /Ria390kbaqRyHDtgeEGOtMbYiwBmMCbfL49I= 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 :content-type; b=D8egh4UzJUSQrfFl+IV7XB0u9plx1QtLGdqs6fMlWN7FMK1LO3IzmV4F0DEGQ6/Q0/ eaIE/pProiCP3T15yDlHkSKisSnSRrNduwksUrckJAkj6mlmh40gj0mAXxnVqTwd9x37 oYdDj25fqod1o9QpBoFCvHwp0IpqcoMyS5UCQ= MIME-Version: 1.0 Received: by 10.142.119.20 with SMTP id r20mr2922792wfc.96.1264256224392; Sat, 23 Jan 2010 06:17:04 -0800 (PST) In-Reply-To: <8c7234991001202126v6180c299qa0910c8c1dc7abef@mail.gmail.com> References: <8c7234991001202126v6180c299qa0910c8c1dc7abef@mail.gmail.com> Date: Sat, 23 Jan 2010 19:17:04 +0500 Message-ID: <8c7234991001230617m29f9d1b9ke172934cf9299711@mail.gmail.com> From: tvtube blog To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 14:17:05 -0000 Luigi Rizzo ..... Any thing from, you Side as you are the inventor/coder of dummynet. TheONe Khan On Thu, Jan 21, 2010 at 10:26 AM, tvtube blog 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 >