From owner-freebsd-ipfw@FreeBSD.ORG Sat Jul 15 19:00:28 2006 Return-Path: X-Original-To: ipfw@freebsd.org Delivered-To: freebsd-ipfw@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4297216A4DA for ; Sat, 15 Jul 2006 19:00:28 +0000 (UTC) (envelope-from vladone@spaingsm.com) Received: from mail.spaingsm.com (llwb135.servidoresdns.net [217.76.137.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF17943D4C for ; Sat, 15 Jul 2006 19:00:02 +0000 (GMT) (envelope-from vladone@spaingsm.com) Received: from localhost (unknown [88.158.112.6]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.spaingsm.com (Postfix) with ESMTP id 2A68C24C658 for ; Sat, 15 Jul 2006 20:24:14 +0200 (CEST) Date: Sat, 15 Jul 2006 21:59:58 +0300 From: vladone X-Mailer: The Bat! (v3.80.03) Professional X-Priority: 3 (Normal) Message-ID: <58885595.20060715215958@spaingsm.com> To: ipfw@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: about hash_size, max_chain_len and buckets X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vladone List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2006 19:00:28 -0000 Hi! I have some questions about this parameters. Default value for this are: net.inet.ip.dummynet.hash_size: 64 net.inet.ip.dummynet.max_chain_len: 16 I want understand some thinks! 64X16=1024 (this is right :) ) Now questions: 1. If i have more than 1024 pipe or queue, what is happening? 2. if pipe or queue are dropped when exceed this value (1024), what need to increase, hash_size or max_chain_len? 3. I have for example this situation: one pipe, with two queue connected, with mask option this is what show command "ipfw queue show": q00001: weight 1 pipe 1 20 sl. 45 queues (64 buckets) droptail q00002: weight 10 pipe 1 20 sl. 44 queues (64 buckets) droptail a) how many queue can have with default settings? b) how many queue are in pipe 1? 45+44? c)if i have this situation: q00001: weight 1 pipe 1 20 sl. 3000 queues (64 buckets) droptail q00002: weight 10 pipe 1 20 sl. 3000 queues (64 buckets) droptail what settings need to make for pipe 1 and queue's 1 and 2 (refering to buckets parameter, that is same with hash_size but affect only pipe or queue where are defined), or to hash_size respectively max_chain_len, in order to work right? Thanks anticipate anyone for reply, and i think that disscution is good to clear up this elements! -- Best regards, vladone mailto:vladone@spaingsm.com