Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
2403 Discussions

Is a way to destroy tbb::concurrent_unordered_map fast?

Nishikawa__Mitsuru
383 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
232 Views

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


Alina_S_Intel
Employee
158 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,


Reply