Date: Sun, 2 Mar 1997 08:24:08 -0500 (EST) From: Ken Wong <wong@a17b32.rogerswave.ca> To: "David S. Miller" <davem@jenolan.rutgers.edu> Cc: imb@scgt.oz.au, dg@root.com, netdev@roxanne.nuclecu.unam.mx, hackers@freebsd.org Subject: Re: ok, final sockhash changes, new diff Message-ID: <Pine.BSF.3.91.970302082114.325A-100000@wong.rogerswave.ca> In-Reply-To: <199703020627.BAA09925@jenolan.caipgeneral>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Mar 1997, David S. Miller wrote: > From: michael butler <imb@scgt.oz.au> > This being the case, a simple counter (number of listens performed) added to > the hash would help redistribute across buckets - don't care about > wrap-around .. or am I off the planet ? :-) > > Huh? The placement within the tables is a product of the hash, and > thus the length of the chains is as well. No counter can help change > this situation. The only solution is to hash in the local IP address > contained in the socket's identity. Just a thought... there is a dynamic hash algorithm (by Larson from university of waterloo). perhaps able to help what michael is suggested. Ken
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970302082114.325A-100000>