memory pools

memory pools

Hi,

my question is basically, whether I can prevent memory pools from calling deallocate on the underlying memory provider. Our app goes through alternating phases of high and low memory usage. We can see that sometimes in a phase of low memory usage the memory pool is giving memory back to the underlying memory provider. I would really like to prevent that from happening. We are going to allocate that memory the next second anyway.

Thx.

7 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Raf Schietekat's picture

This is a nontrivial feature, so how much do you think would be gained by disabling it? Note that allocation of chunks is amortised over many end-user allocations, and you might easily pin the former in place by keeping some of the latter.

This feature was implemented, but it's not released yet. I hope we able to release this soon. We'll update you in this thread after the release.

Raf Schietekat's picture

Now I'm officially confused. :-) Never mind...

Quoting Alexandr Konovalov (Intel)This feature was implemented, but it's not released yet. I hope we able to release this soon. We'll update you in this thread after the release.

I would beglad to see some "sticky" posts in the Intel Threading Building Blocks Forumwith some the most
important information about the product ( Linksto downloads & docs, News, Releases, Updates, Fixes, etc ).

If I try to follow a link:

Product Information
Intel Threading Building Blocks Product/Release

I will seesome generic web-page that has no any information about TBB:

http://software.intel.com/en-us/articles/intel-software-developer-support/

If I try to follow a link:

Knowledge Base
Intel Threading Building Blocks Knowledge Base

I will see some generic web-page with a very limited information about TBB. So, improvements are needed.

Best regards,
Sergey

Vladimir Polin (Intel)'s picture

Thanks Sergey for feedback,we used to have such table with sticky posts. I'll try to find out why it disappeared.--Vladimir

Thisis part of 4.0 update 3, to use the policy set keepAllMemory flag during policy creation.

Login to leave a comment.