Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presenter: Zong-Ze Huang Synchronization for Hybrid MPSoC Full-System Simulation Luis Gabriel Murillo, Juan Eusse, Jovana Jovic, Sergey Yakoushkin, Rainer.

Similar presentations


Presentation on theme: "Presenter: Zong-Ze Huang Synchronization for Hybrid MPSoC Full-System Simulation Luis Gabriel Murillo, Juan Eusse, Jovana Jovic, Sergey Yakoushkin, Rainer."— Presentation transcript:

1 Presenter: Zong-Ze Huang Synchronization for Hybrid MPSoC Full-System Simulation Luis Gabriel Murillo, Juan Eusse, Jovana Jovic, Sergey Yakoushkin, Rainer Leupers and Gerd Ascheid Design Automation Conference (DAC), 2012 49th

2 Full-system simulators are essential to enable early software development and increase the MPSoC programming productivity, however, their speed is limited by the speed of processor models. Although hybrid processor simulators provide native execution speed and target architecture visibility, their use for modern multi-core OSs and parallel software is restricted due to dynamic temporal and state decoupling side effects. 2

3 This work analyzes the decoupling effects caused by hybridization and presents a novel synchronization technique which enables full- system hybrid simulation for modern MPSoC software. Experimental results show speed-ups from 2x to 45x over instruction-accurate simulation while still attaining functional correctness. 3

4 Instruction Set Simulators(ISSs) is slower than the real systems and increasing their speed is a difficult challenge  Hybrid Full-System Simulation 。 Target ISS (TS) 。 Host-compiled abstract simulator (AS) Multi-processor system simulation  Temporally decoupling  Hybridization-introduced decoupling 4

5 5 simulation frameworks [1][2][3][4][6] simulation frameworks [1][2][3][4][6] Dynamic binary translation [17] Dynamic binary translation [17] [9],[14],[15],[16] Synchronization for Hybrid MPSoC Full-System Simulation This paper: HiSim [10] HiSim [10] Increase ISS speed More abstract processor models [7] Virtualized function estimated time Synchronize hybrid processor simulator

6 6 C Sources Target Compiler Target Binary Target ISS Memory Application Closed Source Libraries Simulator

7 Bridge the gap between two different abstraction levels. Host mode  One level of abstraction above ISS-IA  Execute dircetlyit on the host machine  Disadvantage 。 Losing the visibility of the target architecture 。 Synchronization problem 7

8 TLM-2 offers Temporal Decoupling to improve simulation speed. Concept :  Some simulation parts that not interact with the surrounding environment frequently might run ahead of the current simulation time for a short amount of time. Avoid unnecessary kernel synchronization points and context switches. 8 Synchronized simulation Temporally decoupled simulation time

9 TLM-2 defines four timing entities to describe temporal decoupling.  (System) Global Quantum 。 This represents the time unit on which all PEs synchronize.  (PE) Global Quantum( β i ) 。 This represents the time unit on which a particular PE synchronizes.  Local Quantum( α i ) 。 For each PE, this represents the time remaining from the current SystemC time until the end of the current PE Global Quantum.  Loacl Time Offset( λ i ) 。 Time PE i is ahead of the system. 9

10 10 Concept :  Host-compiled execution is incapable of affecting directly the simulated time.  Execution of a virtualized function is performed in zoro time from the simulator’s perspective.  Software performance estimation techniques help to obtain timing values Ƭ for the functions executed natively.  This causes a hybrid ISS to be temporally decoupled from the rest of the system.

11 11

12 Step 1. The hybrid ISS detects an incoming interrupt. Step 2. The processor is waken up Step 3. The PC value is associated to a remaining suspension quantum. Step 4. A breakpoint-like mechanism is activated on the saved PC in order to restore the remaining suspension time. 12

13 13

14 In a full system simulation, virtualizable function are not allowed to :  Perform software synchronization or unrestrictedly access shared memory.  Memory accesse in AS mode will interact with peripherals and acceleracors. 14

15 Simulator  Simics  Tensilica Diamond and Xtensa ISSs Host machine  64-bit AMD Phenom Quad-Core  8GB of memory  Fedora Core 5 Scenario 1 : 3DES on Single-core system  Single-core platform 。 Tensilica Diamond DC_B_570T Scenario 2 : MJPEG on Single-core system  Single-core platform 。 Tensilica Diamond DC_B_570T  Multi-media acceleration  LCD controller 15

16 Scenario 3 : Circular-FFT on Multi-core system  Multi-core platform 。 Three Xtensa XRC_D2MR cores Scenario 4 : OFDM (Orthogonal Frequency Division Multiplexing ) Transceiver system  Multi-core platform 。 Three Xtensa XRC_D2MR cores 16

17 Presented an approach to synchronize hybrid processor simulators within full-system.  Defining a specialized temporal decoupling mechanism.  Identifying functions that must be avoided in native execution in order ensure correctness of parallel applications. Future work  Combination with other advanced simulation techniques in this hybridization simulation. My comment  Novel idea to improve simulation speed. 17


Download ppt "Presenter: Zong-Ze Huang Synchronization for Hybrid MPSoC Full-System Simulation Luis Gabriel Murillo, Juan Eusse, Jovana Jovic, Sergey Yakoushkin, Rainer."

Similar presentations


Ads by Google