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 条
  • [31] Efficient, Distributed, and Non-Speculative Multi-Address Atomic Operations
    Jose Gomez-Hernandez, Eduardo
    Cebrian, Juan M.
    Titos-Gil, Ruben
    Kaxiras, Stefanos
    Ros, Alberto
    PROCEEDINGS OF 54TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2021, 2021, : 337 - 349
  • [32] SWOOP: Software-Hardware Co-design for Non-speculative, Execute-Ahead, In-Order Cores
    Tran, Kim-Anh
    Jimborean, Alexandra
    Carlson, Trevor E.
    Koukos, Konstantinos
    Sjalander, Magnus
    Kaxiras, Stefanos
    PROCEEDINGS OF THE 39TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, PLDI 2018, 2018, : 328 - 343
  • [33] Deciding Robustness against Total Store Ordering
    Bouajjani, Ahmed
    Meyer, Roland
    Moehlmann, Eike
    AUTOMATA, LANGUAGES AND PROGRAMMING, ICALP, PT II, 2011, 6756 : 428 - 440
  • [34] TOSTING: Investigating Total Store Ordering on ARM
    Wrenger, Lars
    Toellner, Dominik
    Lohmann, Daniel
    ARCHITECTURE OF COMPUTING SYSTEMS, ARCS 2023, 2023, 13949 : 139 - 152
  • [36] Separation logic for higher-order store
    Reus, Bernhard
    Schwinghammer, Jan
    COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2006, 4207 : 575 - 590
  • [37] SWOOP: Software-Hardware Co-design for Non-speculative, Execute-Ahead, In-Order Cores
    Tran, Kim-Anh
    Jimborean, Alexandra
    Carlson, Trevor E.
    Koukos, Konstantinos
    Sjalander, Magnus
    Kaxiras, Stefanos
    ACM SIGPLAN NOTICES, 2018, 53 (04) : 328 - 343
  • [38] Speculative inter-thread store-to-load forwarding in SMT architectures
    Feliu, Josue
    Ros, Alberto
    Acacio, Manuel E.
    Kaxiras, Stefanos
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2023, 173 : 94 - 106
  • [39] Store of value or speculative investment? Market reaction to corporate announcements of cryptocurrency acquisition
    André D. Gimenes
    Jéfferson A. Colombo
    Imran Yousaf
    Financial Innovation, 9
  • [40] Store of value or speculative investment? Market reaction to corporate announcements of cryptocurrency acquisition
    Gimenes, Andre D.
    Colombo, Jefferson A.
    Yousaf, Imran
    FINANCIAL INNOVATION, 2023, 9 (01)