A Transaction-Based Environment for System Modeling and Parallel Simulation

作者:Anane Amine*; Aboulhamid El Mostapha
来源:International Journal of Parallel Programming, 2015, 43(1): 24-58.
DOI:10.1007/s10766-013-0303-4

摘要

With the increasing complexity of digital systems that are becoming more and more parallel, a better abstraction to describe such systems has become a necessity. This paper shows how, by using the powerful mechanism of transactions as a concurrency model, and by taking advantage of .NET introspection and attribute programming capabilities, we were able to develop a system-level modeling and parallel simulation environment. We kept the same concepts as SystemC to describe the architecture of high-level models, such as modules and communication channels. However, unlike SystemC, the behavior is no longer described as processes and events but as transactions. We implemented scheduling algorithms in order to enable simulating transactional models in parallel by taking advantage of a multicore machine. These algorithms take into account the dependency between transactions and the number of cores of the simulation machine. We studied two synchronisation strategies: one using locking and the other using partitioning. An experiment made on a WiFi 802.11 a transmitter achieved a speedup of about 1.9 using two threads. With 8 threads, although the workload of individual transactions was not significant, the speedup could reach 5.7. When the workload is significant the speedup can reach 7.0.

  • 出版日期2015-2