Open main menu

CDOT Wiki β

Changes

Team Darth Vector

211 bytes added, 21:23, 30 November 2017
added table test for time comparison or code comparison
'''==TBB Background'''----==
'''===Containers Comparison'''===
'''===List of TBB containers:''' ===
''concurrent_queue'' : Multiple threads may simultaneously push and pop elements from the
'''==STL Background'''----==
'''Containers Comparison'''
'''==Lock Convoying Problem'''----==
===What is a Lock?===
Study Ref: https://software.intel.com/en-us/blogs/2008/10/20/tbb-containers-vs-stl-performance-in-the-multi-core-age
This leads into Concurrent_vector growing below..
 '''==Efficiency Comparison Parallel for and concurrent_vector'''----==
'''Concept:''' Fine-grained locking
'''==Coding Time Comparison for STL and TBB'''=={| class="wikitable collapsible collapsed" style="text-align: left;margin:0px;"|- ! style="width:20em;" |COLUMN1! style="width:20em;" |COLUMN2|-|ROW1|ROW1/COL2|-|ROW2|ROW2/COL2|-|}
'''====Parallel Algorithms support'''====
C++11 STL does not have much to offer for parallel algorithms natively unlike TBB
''More: http://www.bfilipek.com/2017/08/cpp17-details-parallel.html''
'''====Resource management'''====
Overall partitioning, thread creation, and management is hidden in TBB
129
edits