DRH,

I looked at the memory management code mem3.c. I noticed a mutex to protect 
allocations/deallocations and was wondering what the impact on performance to a 
multi threaded DB applicaiton would be? 

Other memory allcation schemes seem to allow each thread to manage memory 
independently of the other threads. In other words, the thread would have a 
hook into its own memory pool and would not be blocked by any other threads 
memory requests.

Some interesting memory managers include: Unfortunately the first has licensing 
requirements and the second is copyrighted, but available for Free.

http://www.cs.umass.edu/~emery/hoard/screenshot.html

http://www.garret.ru/~knizhnik/threadalloc/readme.html


Regards,
Ken


Reply via email to