DocumentCode
1805103
Title
Trace-driven and program-driven simulation: a comparison
Author
Malloy, Brian A.
Author_Institution
Clemson Univ., SC, USA
fYear
1994
fDate
31 Jan-2 Feb 1994
Firstpage
395
Lastpage
396
Abstract
We compare the program-driven and trace-driven approach to simulating the parallel execution of a program on a multiprocessor. To obtain the traces, we used a program-driven simulator that actually executes the instructions in an input program. Our simulator is coded in the process-oriented simulation language SimCal and is guided by a parameterized computational model that describes the target multiprocessor. We have used the program-driven multiprocessor simulator to execute parallel threads produced by our parallelizing compiler and we have validated the simulator by comparing the simulation results to results obtained through execution of the threads on an actual multiprocesser, the AT&T 3B2. To compare the trace-driven and program-driven approaches, we used the program-driven simulator to obtain traces of the execution of the threads. We conclude that the trace-driven approach is faster than the program-driven approach since it doesn´t actually execute the threads. However, the trace-driven approach must store the traces and therefore requires more space than the program-driven approach
Keywords
parallel programming; program compilers; simulation languages; system monitoring; virtual machines; AT&T 3B2; SimCal; multiprocessor; parallel execution; parallel threads; parallelizing compiler; parameterized computational model; process-oriented simulation language; program-driven simulation; trace-driven approach; Computational modeling; Delay; Multiprocessor interconnection networks; Parallel processing; Predictive models; Program processors; Testing; Yarn;
fLanguage
English
Publisher
ieee
Conference_Titel
Modeling, Analysis, and Simulation of Computer and Telecommunication Systems, 1994., MASCOTS '94., Proceedings of the Second International Workshop on
Conference_Location
Durham, NC
Print_ISBN
0-8186-5292-6
Type
conf
DOI
10.1109/MASCOT.1994.284392
Filename
284392
Link To Document