On Oct 16, 2008, at 9:08 AM, steve.yen wrote:
- For those of you who thought a hash table per thread might be
interesting (like me), Trond says it's been tried and is not an
improvement. The contention just moves towards the request queueing
in front of each thread.
I have not tested this, but I have "analyzed" it... The problem of
using a "per thread" hashtable is that it is the clients and not the
items that are bound to a thread. A client may request any object, so
that the item you try to request may just as well belong to the pool
belonging to another thread..
cheers
Trond