From owner-freebsd-stable@FreeBSD.ORG Mon May 19 16:13:21 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DE28106567E; Mon, 19 May 2008 16:13:21 +0000 (UTC) (envelope-from vivek@khera.org) Received: from yertle.kcilink.com (thingy.kcilink.com [74.92.149.59]) by mx1.freebsd.org (Postfix) with ESMTP id 0B9FA8FC0C; Mon, 19 May 2008 16:13:20 +0000 (UTC) (envelope-from vivek@khera.org) Received: from host-121.int.kcilink.com (host-121.int.kcilink.com [192.168.7.121]) by yertle.kcilink.com (Postfix) with ESMTP id 6D5128A0AD; Mon, 19 May 2008 12:13:20 -0400 (EDT) Message-Id: <43327C1A-AF98-4076-AAE4-3A59F6FC074E@khera.org> From: Vivek Khera To: Ian Smith In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 19 May 2008 12:13:20 -0400 References: X-Mailer: Apple Mail (2.919.2) Cc: freebsd-ipfw@freebsd.org, FreeBSD Stable Subject: Re: how much memory does increasing max rules for IPFW take up? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:13:21 -0000 On May 18, 2008, at 3:26 AM, Ian Smith wrote: > Hashed per flow, (srcip^destip^srcport^dstport) mod > curr_dyn_buckets, so > packets for both directions of a given flow hash to the same > bucket. In > the case you mention, you could likely expect reasonable > distribution by > src_ip/src_port. Thanks for the detailed info. This really helps.