From owner-freebsd-net Sun Jul 25 15: 6:48 1999 Delivered-To: freebsd-net@freebsd.org Received: from puffer.quadrunner.com (puffer.quadrunner.com [205.166.195.4]) by hub.freebsd.org (Postfix) with ESMTP id 6F5D214BCF for ; Sun, 25 Jul 1999 15:06:46 -0700 (PDT) (envelope-from humble@quadrunner.com) Received: from localhost (humble@localhost) by puffer.quadrunner.com (8.9.2/QUAD-2.1) with ESMTP id PAA08664 for ; Sun, 25 Jul 1999 15:06:05 -0700 (PDT) X-Authentication-Warning: puffer.quadrunner.com: humble owned process doing -bs Date: Sun, 25 Jul 1999 15:06:05 -0700 (PDT) From: Richard Steenbergen To: freebsd-net@freebsd.org Subject: TCBHASHSIZE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hrmm just a thought, perhaps the TCBHASHSIZE should be influenced by maxusers. Something along the lines of nmbclusters * 1.5 + round up to power of two, or whatever would make the hash table most effective. Considering the importance and commonness of tcb hash lookups it seems like a good way to improve performance on systems with large numbers of connections. *** Current local users 1971 Max: 2034 2:58PM up 7 days, 3:42, 1 user, load averages: 0.00, 0.00, 0.00 :P -- Richard Steenbergen humble@EFNet PGP ID: 0x741D0374 PGP Key Fingerprint: C6EF EFA0 83B2 071F 1AB6 B879 1F70 4303 741D 0374 http://users.quadrunner.com/humble To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message