Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
19 Views

TBB 2.2 OSS release was posted on our open source site.

Hi all, since TBB 2.2 is out we have posted commercial-aligned open source release to our web site http://www.threadingbuildingblocks.org. The list of changes (w.r.t. TBB 2.1 U4 commercial-aligned release) is:

- Incorporates all changes from earlier open-source releases.
- Architecture folders renamed from em64t to intel64 and from itanium
to ia64.
- Major Interface version changed from 3 to 4. Deprecated interfaces
might be removed in future releases.
- Improved memory allocator performance for allocations bigger than 8K.
- Added new thread-bound filters functionality for pipeline.
- New implementation of concurrent_hash_map that improves performance
significantly.
- A few other small changes in code and documentation.

welcome,
Vladimir

0 Kudos
4 Replies
Highlighted
Black Belt
19 Views

"Improved memory allocator performance for allocations bigger than 8K."
Speed, not size, right?

"Added new thread-bound filters functionality for pipeline."
Could you elaborate?

"New implementation of concurrent_hash_map that improves performance significantly."
What is the patent about? How significantly?
0 Kudos
Highlighted
19 Views

Quoting - Raf Schietekat
"Improved memory allocator performance for allocations bigger than 8K."
Speed, not size, right?

"Added new thread-bound filters functionality for pipeline."
Could you elaborate?

"New implementation of concurrent_hash_map that improves performance significantly."
What is the patent about? How significantly?

1) Right, extra memory overhead per large allocation remains the same.
2) Some customers wanted to always execute a particular serial stage on an external thread that has the necessary execution context which can not be passed to another thread (read: to TBB workers). Thread bound filters are just about that. An unfortunate thing is that this design departs from relaxed sequential semantics; thus it should be used with special care.
3) I will let Anton M. answer the hash map question.
0 Kudos
Highlighted
Employee
19 Views

Quoting - Raf Schietekat
"New implementation of concurrent_hash_map that improves performance significantly."
What is the patent about? How significantly?
There is new algorithm for resizing which eliminate necessity of segments and their locks. The count_strings example consumes ~25% less time to execute. I'll publish the details later, but rather not soon, sorry.
For your performance and scalability evaluation, consider also increasing "embedded_block" constant. Unfortunately, current version lacks a method similar to reserve() in concurrent_vector to tune it in place.
0 Kudos
Highlighted
New Contributor I
19 Views

Thanks for good news and for all TBB developers for their great work!
That's nice to see that the library is spreading. ;-)
I'd suggest adding more examples - in particular something about enumerable_thread_specific, which is rather poorly documented up to now.

0 Kudos