In trace-driven simulation, traces generated for one set of machine characteristics are used to simulate a machine with different characteristics. However, the execution path of a multiprocessor workload may depend on the ordering of events on different processors, which in turn depends on machine characteristics such as memory system timings. Trace-driven simulations of multiprocessor workloads are inaccurate unless the timing-dependencies are eliminated from the traces. We measure such inaccuracies by comparing trace-driven simulations to direct simulations of the same workloads. The results were identical only for workloads whose timing dependencies were eliminated from the traces. The remaining workloads used either first-come first-served scheduling or non-deterministic algorithms; these characteristics resulted in timing-dependencies that could not be eliminated from the traces. Workloads which used task-queue scheduling had particularly large discrepancies because task-queue operations, unlike other synchronization operations, were not abstracted. Two types of simulation results had especially large discrepancies: those related to synchronization latency and those derived from relatively small numbers of events. Studies that rely on such results should use timing- independent traces or direct simulation.
Cited By
- Zang W and Gordon-Ross A (2013). A survey on cache tuning from a power/energy perspective, ACM Computing Surveys, 45:3, (1-49), Online publication date: 1-Jun-2013.
- Srivastava A and Eustace A (2004). ATOM, ACM SIGPLAN Notices, 39:4, (528-539), Online publication date: 1-Apr-2004.
- Srivastava A and Eustace A ATOM Proceedings of the ACM SIGPLAN 1994 conference on Programming language design and implementation, (196-205)
- Cmelik B and Keppel D Shade: a fast instruction-set simulator for execution profiling Proceedings of the 1994 ACM SIGMETRICS conference on Measurement and modeling of computer systems, (128-137)
- Cmelik B and Keppel D (2019). Shade: a fast instruction-set simulator for execution profiling, ACM SIGMETRICS Performance Evaluation Review, 22:1, (128-137), Online publication date: 1-May-1994.
- Srivastava A and Eustace A (2019). ATOM, ACM SIGPLAN Notices, 29:6, (196-205), Online publication date: 1-Jun-1994.
- Goldschmidt S and Hennessy J The accuracy of trace-driven simulations of multiprocessors Proceedings of the 1993 ACM SIGMETRICS conference on Measurement and modeling of computer systems, (146-157)
- Goldschmidt S and Hennessy J (1993). The accuracy of trace-driven simulations of multiprocessors, ACM SIGMETRICS Performance Evaluation Review, 21:1, (146-157), Online publication date: 1-Jun-1993.
Recommendations
The accuracy of trace-driven simulations of multiprocessors
In trace-driven simulation, traces generated for one set of system characteristics are used to simulate a system with different characteristics. However, the execution path of a multiprocessor workload may depend on the order of events occurring on ...
The accuracy of trace-driven simulations of multiprocessors
SIGMETRICS '93: Proceedings of the 1993 ACM SIGMETRICS conference on Measurement and modeling of computer systemsIn trace-driven simulation, traces generated for one set of system characteristics are used to simulate a system with different characteristics. However, the execution path of a multiprocessor workload may depend on the order of events occurring on ...
Priority-Driven Scheduling of Periodic Task Systems on Multiprocessors
The scheduling of systems of periodic tasks upon multiprocessor platforms is considered. Utilization-based conditions are derived for determining whether a periodic task system meets all deadlines when scheduled using the earliest deadline first ...