From owner-freebsd-net Mon Jul 22 15:42:26 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AE6337B400; Mon, 22 Jul 2002 15:42:24 -0700 (PDT) Received: from mail.tgd.net (mail.tgd.net [209.81.25.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A199743E42; Mon, 22 Jul 2002 15:42:23 -0700 (PDT) (envelope-from sean@mail.tgd.net) Received: by mail.tgd.net (Postfix, from userid 1001) id 9221D20F02; Mon, 22 Jul 2002 15:42:21 -0700 (PDT) Date: Mon, 22 Jul 2002 15:42:21 -0700 From: Sean Chittenden To: ipfw@freebsd.org, net@freebsd.org Subject: Increasing the hash table size for dummynet... Message-ID: <20020722224221.GJ88755@ninja1.internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [Sorry for the cross post: I don't know where the dummynet guru's live] I have a situation where I'm rate shaping a LARGE number of concurrent TCP connections, however I've run into a slight problem/limitation: dummynet has a max hash table size of 1024 and I'm currently handling about 8-17K in TCP connections in a single queue. :-/ I quickly looked over the hash algorithm and couldn't see any reason why the max size couldn't be increased beyond 1024. Could someone comment on the attached? -sc -- Sean Chittenden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message