Accurately modeling speculative instruction fetching in trace-driven simulation

被引:6
|
作者
Bhargava, R [1 ]
John, LK [1 ]
Matus, F [1 ]
机构
[1] Univ Texas, Dept Elect & Comp Engn, Austin, TX 78712 USA
关键词
D O I
10.1109/PCCC.1999.749422
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Performance evaluation of modern, highly speculative, out-of-order microprocessors and the corresponding production of detailed, valid accurate results have become serious challenges. A popular evaluation methodology is trace-driven simulation which provides the advantage of a highly portable simulator that is independent of the constraints of the trace generation system. While developing and maintaining a trace-driven simulator is relatively easier than other alternatives, a primary drawback is the inability to accurately simulate speculative instruction fetching and subsequent execution. Fetching from an incorrect path occurs often in a speculative processor, however it a's difficult to capture this information in a trace. This paper investigates a scheme to accurately model instruction fetching within a trace-driven framework. This is accomplished by recreating an, approximate copy of the object code segment, which we call resurrected code, using a preliminary pass through the trace. We discuss a fast and memory-efficient method for implementing this resurrected code. In addition, we characterize UltraSPARC traces of C, C++, and Fortran programs generated using Shade to determine the potential of this method. Using these traces, and a modest branch predicting scheme, we find that in 14 of 16 cases more than 99% of all branches will find their target instruction in the resurrected code. furthermore, on these occasions, a large amount of consecutive instructions are available along the mispredicted path. These results indicate that the inaccuracies associated with speculative fetching ist trace-driven simulation can be significantly reduced using this resurrected code.
引用
收藏
页码:65 / 71
页数:7
相关论文
共 50 条
  • [1] TRACE-DRIVEN SYSTEM MODELING
    CHENG, PS
    IBM SYSTEMS JOURNAL, 1969, 8 (04) : 280 - &
  • [2] Trace-driven memory simulation: A survey
    Uhlig, RA
    Mudge, TN
    PERFORMANCE EVALUATION: ORIGINS AND DIRECTIONS, 2000, 1769 : 97 - 139
  • [3] Trace-driven memory simulation: A survey
    Uhlig, RA
    Mudge, TN
    ACM COMPUTING SURVEYS, 1997, 29 (02) : 128 - 170
  • [4] Trace-driven Simulation of Multithreaded Applications
    Rico, Alejandro
    Duran, Alejandro
    Cabarcas, Felipe
    Etsion, Yoav
    Ramirez, Alex
    Valero, Mateo
    IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE (ISPASS 2011), 2011, : 87 - 96
  • [5] Can trace-driven simulators accurately predict superscalar performance?
    Black, B
    Huang, AS
    Lipasti, MH
    Shen, JP
    INTERNATIONAL CONFERENCE ON COMPUTER DESIGN - VLSI IN COMPUTERS AND PROCESSORS, PROCEEDINGS, 1996, : 478 - 485
  • [6] Trace-driven performance simulation modeling for fast evaluation of multimedia processor by simulation reuse
    Kim, HY
    Kim, TG
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2005, E88A (12) : 3306 - 3314
  • [7] Operating system impact on trace-driven simulation
    Casmira, J
    Fraser, J
    Kaeli, D
    Meleis, W
    31ST ANNUAL SIMULATION SYMPOSIUM, PROCEEDINGS, 1998, : 76 - 82
  • [8] TECHNIQUES FOR THE TRACE-DRIVEN SIMULATION OF CACHE PERFORMANCE
    EGGERS, SJ
    LAZOWSKA, ED
    LIN, YB
    1989 WINTER SIMULATION CONFERENCE PROCEEDINGS, 1989, : 1042 - 1046
  • [9] TRACE-DRIVEN PIPELINE AND CACHE SIMULATION OF MULTITHREADED COMPUTERS
    MCCRACKIN, DC
    SRINIVASAN, S
    SIMULATION, 1994, 63 (02) : 75 - 82
  • [10] CausalSim: A Causal Framework for Unbiased Trace-Driven Simulation
    Alomar, Abdullah
    Hamadanian, Pouya
    Nasr-Esfahany, Arash
    Agarwal, Anish
    Alizadeh, Mohammad
    Shah, Devavrat
    PROCEEDINGS OF THE 20TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION, NSDI 2023, 2023, : 1115 - 1147