Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ritwik_D_1
Beginner
83 Views

Memory limit for TBB scalable allocator

Jump to solution

From the release notes of TBB 4.4 Update 6 I can see the following:

"For 64-bit platforms, quadrupled the worst-case limit on the amount
    of memory the Intel TBB allocator can handle."

What was the memory limit in the earlier versions of TBB?

0 Kudos
1 Solution
gaston-hillar
Black Belt
83 Views

Hi Ritwid and Maxim,

The same code file within the source code included in tbb-4.4.5 release includes the following comment:

struct BackRefMaster {
/* A slab block can hold up to ~2K back pointers to slab blocks or large objects,
 * so it can address at least 32MB. The array of 64KB holds 8K pointers
 * to such blocks, addressing ~256 GB.
 */

So, addressing has been quadrupled and increased from ~256 GB to ~1TB.

 

View solution in original post

4 Replies
Maksim_D_Intel
Employee
83 Views

Hello

According to comment in the file ( https://github.com/01org/tbb/blob/tbb_2017/src/tbbmalloc/backref.cpp#L63 ), the minimal guaranteed is a ~1TB in a current version for 64bit systems

gaston-hillar
Black Belt
83 Views

Hi Ritwik and Maxim,

The same code file within the source code included in tbb-4.4.6 release includes the same comment than Maksim mentions for the newest release.

gaston-hillar
Black Belt
84 Views

Hi Ritwid and Maxim,

The same code file within the source code included in tbb-4.4.5 release includes the following comment:

struct BackRefMaster {
/* A slab block can hold up to ~2K back pointers to slab blocks or large objects,
 * so it can address at least 32MB. The array of 64KB holds 8K pointers
 * to such blocks, addressing ~256 GB.
 */

So, addressing has been quadrupled and increased from ~256 GB to ~1TB.

 

View solution in original post

Ritwik_D_1
Beginner
83 Views

Thanks!

Reply