You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use boost::pool in hash table to resolve the memory leak caused by fragment.
As boost::pool is not thread-safe, we have to use a spin-lock on the memory pool. This becomes the performance bottleneck when multiple thread are allocating hash buckets.
To solve this performance problem, I will first consider to use multiple pools in single hash table, such that one pool will only be used by a single thread. I expect this enhancement could hopefully improve the scalability.
The text was updated successfully, but these errors were encountered:
We use boost::pool in hash table to resolve the memory leak caused by fragment.
As boost::pool is not thread-safe, we have to use a spin-lock on the memory pool. This becomes the performance bottleneck when multiple thread are allocating hash buckets.
To solve this performance problem, I will first consider to use multiple pools in single hash table, such that one pool will only be used by a single thread. I expect this enhancement could hopefully improve the scalability.
The text was updated successfully, but these errors were encountered: