Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
2470 Discussions

Is a way to destroy tbb::concurrent_unordered_map fast?

Nishikawa__Mitsuru
1,083 Views

Dear experts,

 

I am now using tbb::concurrent_unordered_map in local scope which is often destroyed.

As a result of performance measurement, I found my overhead is due to its destruction.

As a serial test, I exchange it with std::unorderd_map, but I found it is perhaps slower than serial STL.

 

If you know how to speed up destruction of the container, or know countermeasure (e.g. memory pool, fast allocator, or flyweight),

I would appreciate it if you could teach it me.

 

Kind regards 

0 Kudos
2 Replies
Alina_S_Intel
Employee
932 Views

If the issue is still reproducible, could you please provide a reproducer?


0 Kudos
Alina_S_Intel
Employee
858 Views

In the absence of replies from you I closed this issue believing it is resolved.

We will no longer respond to this thread.  

If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.

Thanks,


0 Kudos
Reply