"Raman" <ra***********@gmail.comwrote in message
news:11**********************@v33g2000cwv.googlegr oups.com...
Hi All,
Can any one tell me how to implement malloc.
Thanks and Regards,
Raman Chalotra
Well, you can take a look at a high-performance multi-threaded allocator
algorithm I created:
http://groups.google.com/group/comp....c40d42a04ee855
Seriously, my invention is actually one of the fastest atomically
thread-safe virtually zero-overhead memory allocators currently out there.
It beats the pants off HOARD and runs circles around Maged Michael's
so-called lock-free memory allocator...
http://portal.acm.org/citation.cfm?id=996848
I guess this is somewhat on topic simply because the pseudo-code
implementation of the invention is in C... I can't wait for this thing to be
properly released... So far I haven't come across anything like it. It
simply has excellent scalability and performance characteristics!
;^)
I am currently creating a website for the allocator where you will be able
to download a copy under a restrictive non-commercial license and experiment
with it all you want. Of course, commercial license agreements can be worked
out if you think this thing is worth integrating with some of your
existing/future commercial software suites...
Finally, I can basically prove that memory allocation can scale to many
thousands of cores, and many more indeed!
Take a look at the code and tell me what you think! Well, perhaps we should
move further discussions over on comp.programming.threads where is more on
"topic"...
Any thoughts/criticisms/suggestions on the invention?
Thank you all for your time!
:^)
Chris Thomasson
--------------
http://appcore.home.comcast.net/
(extremely scaleable lock-free abstractions for Intel-ASM/C/C++)
http://appcore.home.comcast.net/vzoom/refcount/ http://appcore.home.comcast.net/vzdo...c/static-init/
(mostly lock-free atomic reference counting)
http://appcore.home.comcast.net/vzoom/round-1.pdf http://appcore.home.comcast.net/vzoom/round-2.pdf
(scalability concerns anybody!?)
enjoy! ;^)
Any thoughts?