Date: Sun, 25 Jul 1999 15:06:05 -0700 (PDT) From: Richard Steenbergen <humble@quadrunner.com> To: freebsd-net@freebsd.org Subject: TCBHASHSIZE Message-ID: <Pine.LNX.4.10.9907251455550.27402-100000@puffer.quadrunner.com>
next in thread | raw e-mail | index | archive | help
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@lightning.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.9907251455550.27402-100000>