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 条
  • [21] The store-load address table and speculative register promotion
    Postiff, M
    Greene, D
    Mudge, T
    33RD ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE: MICRO-33 2000, PROCEEDINGS, 2000, : 235 - 244
  • [22] Code Coalescing Unit: A mechanism to facilitate load store data communication
    John, L
    Teh, Y
    Matus, F
    Chase, C
    INTERNATIONAL CONFERENCE ON COMPUTER DESIGN: VLSI IN COMPUTERS AND PROCESSORS, PROCEEDINGS, 1998, : 550 - 557
  • [23] ANALYZING THE DYNAMICS OF RELATIVE PRICES ON A MARKET WITH SPECULATIVE AND NON-SPECULATIVE AGENTS BASED ON THE EVOLUTIONARY MODEL
    Dospinescu, Andrei Silviu
    ROMANIAN JOURNAL OF ECONOMIC FORECASTING, 2011, 14 (01): : 72 - 87
  • [24] The use of Islamic hedging instruments as non-speculative risk management tools
    Mohamad, Saadiah
    Othman, Jaizah
    Roslin, Rosmimah
    Lehner, Othmar
    VENTURE CAPITAL, 2014, 16 (03) : 207 - 226
  • [25] TSO Games On the decidability of safety games under the total store order semantics
    Spengler, Stephan
    Sil, Sanchari
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2023, 390 : 82 - 98
  • [26] DECLASSIFLOW: A Static Analysis for Modeling Non-Speculative Knowledge to Relax Speculative Execution Security Measures
    Choudhary, Rutvik
    Wang, Alan
    Zhao, Zirui Neil
    Morrison, Adam
    Fletcher, Christopher W.
    PROCEEDINGS OF THE 2023 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, CCS 2023, 2023, : 2053 - 2067
  • [27] Control-Flow Decoupling: An Approach for Timely, Non-Speculative Branching
    Sheikh, Rami
    Tuck, James
    Rotenberg, Eric
    IEEE TRANSACTIONS ON COMPUTERS, 2015, 64 (08) : 2182 - 2203
  • [28] Alienation Reconsidered. Criticizing Non-Speculative Anti-Essentialism
    Sorensen, Asger
    EIKASIA-REVISTA DE FILOSOFIA, 2019, (89): : 151 - 180
  • [29] ReCon: Efficient Detection, Management, and Use of Non-Speculative Information Leakage
    Aimoniotis, Pavlos
    Kvalsvik, Amund Bergland
    Chen, Xiaoyue
    Sjalander, Magnus
    Kaxiras, Stefanos
    56TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2023, 2023, : 828 - 842
  • [30] THE SIGNIFICANCE OF NON-SPECULATIVE RETURNS IN THE APPRAISAL OF BUFFER-STOCK SCHEMES
    POWELL, AA
    CAMPBELL, KO
    JOURNAL OF FARM ECONOMICS, 1962, 44 (03): : 876 - 882