Non-Speculative Store Coalescing in Total Store Order

被引:8
|
作者
Ros, Alberto [1 ]
Kaxiras, Stefanos [2 ]
机构
[1] Univ Murcia, Dept Comp Engn, Murcia, Spain
[2] Uppsala Univ, Dept Informat Technol, Uppsala, Sweden
基金
瑞典研究理事会;
关键词
store coalescing; memory consistency; store buffer; deadlock free; lexicographical order;
D O I
10.1109/ISCA.2018.00028
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We present a non-speculative solution for a coalescing store buffer in total store order (TSO) consistency. Coalescing violates TSO with respect to both conflicting loads and conflicting stores, if partial state is exposed to the memory system. Proposed solutions for coalescing in TSO resort to speculation-and-rollback or centralized arbitration to guarantee atomicity for the set of stores whose order is affected by coalescing. These solutions can suffer from scalability, complexity, resource-conflict deadlock, and livelock problems. A non-speculative solution that writes out coalesced cachelines, one at a time, over a typical directory-based MESI coherence layer, has the potential to transcend these problems if it can guarantee absence of deadlock in a practical way. There are two major problems for a non-speculative coalescing store buffer: i) how to present to the memory system a group of coalesced writes as atomic, and ii) how to not deadlock while attempting to do so. For this, we introduce a new lexicographical order. Relying on this order, conflicting atomic groups of coalesced writes can be individually performed per cache block, without speculation, rollback, or replay, and without deadlock or livelock, yet appear atomic to conflicting parties and preserve TSO. One of our major contributions is to show that lexicographical orders based on a small part of the physical address (sub-address order) are deadlock-free throughout the system when taking into account resource-conflict deadlocks. Our approach exceeds the performance and energy benefits of two baseline TSO store buffers and matches the coalescing (and energy savings) of a release-consistency store buffer, at comparable cost.
引用
下载
收藏
页码:221 / 234
页数:14
相关论文
共 50 条
  • [1] Non-Speculative Load Reordering in Total Store Ordering
    Kaxiras, Stefanos
    Carlson, Trevor E.
    Alipour, Mehdi
    Ros, Alberto
    IEEE MICRO, 2018, 38 (03) : 48 - 57
  • [2] NON-SPECULATIVE RISK
    Young, Liam
    Lopez-Dinardi, Marcelo
    ARQ, 2019, (102): : 14 - 29
  • [3] Speculative and non-speculative equity premia
    Ghazi, Soroush
    Schneider, Mark
    Dorobiala, Zachary
    ECONOMICS LETTERS, 2024, 236
  • [4] Speculative Enforcement of Store Atomicity
    Ros, Alberto
    Kaxiras, Stefanos
    2020 53RD ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO 2020), 2020, : 555 - 567
  • [5] NON-SPECULATIVE BEHAVIOR AND THE TERM STRUCTURE
    LEE, WY
    MANESS, TS
    TUTTLE, DL
    JOURNAL OF FINANCIAL AND QUANTITATIVE ANALYSIS, 1980, 15 (01) : 53 - 83
  • [6] Regional Out-of-Order Writes in Total Store Order
    Singh, Sawan
    Jimborean, Alexandra
    Ros, Alberto
    PACT '20: PROCEEDINGS OF THE ACM INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2020, : 205 - 216
  • [7] Offline Symbolic Analysis to Infer Total Store Order
    Lee, Dongyoon
    Said, Mahmoud
    Narayanasamy, Satish
    Yang, Zijiang
    2011 IEEE 17TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE (HPCA), 2011, : 357 - 368
  • [8] Harmonizing Speculative and Non-Speculative Execution in Architectures for Ordered Parallelism
    Jeffrey, Mark C.
    Ying, Victor A.
    Subramanian, Suvinay
    Lee, Hyun Ryong
    Emer, Joel
    Sanchez, Daniel
    2018 51ST ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO), 2018, : 217 - 230
  • [9] NOREBA: A Compiler-Informed Non-speculative Out-of-Order Commit Processor
    Hajiabadi, Ali
    Diavastos, Andreas
    Carlson, Trevor E.
    ASPLOS XXVI: TWENTY-SIXTH INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, 2021, : 182 - 193
  • [10] Store the clock: comprehending and contesting the logic of speculative time
    Levingston, Oliver
    JOURNAL OF CULTURAL ECONOMY, 2019, 12 (04) : 336 - 340