Intel TBB Memory Allocator

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
ZONER
Gnoblar
Posts: 1
Joined: Mon Dec 13, 2010 6:57 pm
x 1

Intel TBB Memory Allocator

Post by ZONER »

Hello everyone!

I want to submit memory allocator. This is just wrapper around Intel Threading Building Blocks scalable memory allocator. I think it will be usefull for these who use Intel Threading Building Blocks for mulithreading in OGRE :)
Why to use TBB Memory allocator? It's fast like NedMalloc and much faster than native Windows memory allocator. It is designed for multithreaded applications.
I attached zip-file that have everything to add this TBB allocator, and small "Readme" what to change in existing files.

Tested under OGRE 1.8.0(i dont know revision number. "Cloning" date: 07.10.2010) with Intel Threading Building Blocks 3.0(tbb30_104oss).

This is my first addition for OGRE. If you have criticism or advices, I will be happy to hear them! :)

P.S.
I am sorry for my bad english, if there any mistakes :oops:
Attachments
TBBAllocator.zip
(2.06 KiB) Downloaded 205 times
User avatar
Klaim
Old One
Posts: 2565
Joined: Sun Sep 11, 2005 1:04 am
Location: Paris, France
x 56
Contact:

Re: Intel TBB Memory Allocator

Post by Klaim »

Just by curiosity, did someone noted and tried this?
AxxusWhoami
Gnoblar
Posts: 2
Joined: Sun Oct 23, 2011 11:55 pm

Re: Intel TBB Memory Allocator

Post by AxxusWhoami »

Really interesting in it!! Also just for aknowledgement, TBB memory allocator is better than windows one, but worse than linux malloc so don't use on *nix
nickG
Greenskin
Posts: 122
Joined: Fri Jan 20, 2012 6:44 pm
Location: Russia,Moscow
x 1

Re: Intel TBB Memory Allocator

Post by nickG »

Please add this to Main Repo
Post Reply