Experience with a language for writing coherence protocols

被引:0
|
作者
Chandra, S
Dahlin, M
Richards, B
Wang, RY
Anderson, TE
Larus, JR
机构
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper we describe our experience with Teapot [7], a domain-specific language for writing cache coherence protocols. Cache coherence is of concern when parallel and distributed computing systems make local replicas of shared data to improve scalability and performance. In both distributed shared memory systems and distributed file systems, a coherence protocol maintains agreement among the replicated copies as the underlying data are modified by programs running on the system. Cache coherence protocols are notoriously difficult to implement, debug, and maintain. Unfortunately, protocols are not off-the-shelf items, as their details depend on the requirements of the system under consideration. This paper presents case studies detailing the successes and shortcomings of using Teapot for writing coherence protocols in two systems. The first system, loosely coherent memory (LCM) [16], implements a particular type of distributed shared memory suitable for data-parallel programming. The second system, the xFS distributed file system [9], implements a high-performance, serverless file system. Our overall experience with Teapot has been very positive. In particular, Teapot's language features resulted in considerable simplifications in the protocol source code for both systems. Furthermore, Teapot's close coupling between implementation and formal verification helped to achieve much higher confidence in our protocol implementations than previously possible and reduced the time to build the protocols. By using Teapot to solve real problems in complex systems, we also discovered several shortcomings of the Teapot design. Most noticeably, we found Teapot lacking in support for multithreaded environments, for expressing actions that transcend several cache blocks, and for handling blocking system calls. We believe that domain-specific languages are valuable tools for writing cache coherence protocols.
引用
收藏
页码:51 / 65
页数:3
相关论文
共 50 条
  • [31] Verification techniques for cache coherence protocols
    Pong, F
    Dubois, M
    ACM COMPUTING SURVEYS, 1997, 29 (01) : 82 - 126
  • [32] Think-aloud protocols in second language writing: A mixed-methods study of their reactivity and veridicality
    Huang, Yu
    Wen, Ting
    Yang, Chengsong
    Zhang, Lawrence Jun
    SYSTEM, 2023, 119
  • [33] POETIC OF WRITING OF A WAR EXPERIENCE POST-COLONIAL LITERATURE IN THE PORTUGUESE LANGUAGE
    Afonso, Maria Fernanda
    COLOQUIO-LETRAS, 2012, (181): : 271 - 274
  • [34] The writing and language alive in the classroom: an educational self-training experience in didactics
    Alvarez Garcia, Sonia
    Sanchez Garcia, Adriana Lucia
    Cruz Aries, Maria del Pilar
    Herrera Roa, Nubia Ginett
    Bellon Morales, Consuelo
    ENUNCIACION, 2008, 13 (01): : 130 - 137
  • [35] An experience of initial training of language teachers around reading and writing as sociocultural practices
    Bibiana Betancur, Diela
    Vasquez Yepes, Vanessa
    Vanegas Hurtado, Eloisa
    UNI-PLURIVERSIDAD, 2018, 18 (01) : 25 - 35
  • [36] Think-aloud protocols in second language writing: a mixed-methods study of their reactivity and veridicality (English language education series)
    Lin, Lin
    Liu, Yukun
    ASIA PACIFIC JOURNAL OF EDUCATION, 2024,
  • [37] Thread Progress Aware Coherence Adaption for Hybrid Cache Coherence Protocols
    Li, Jianhua
    Shi, Liang
    Li, Qing'an
    Xue, Chun Jason
    Xu, Yinlong
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2014, 25 (10) : 2697 - 2707
  • [38] COHERENCE, CONSENSUS AND LANGUAGE
    LEHRER, K
    LINGUISTICS AND PHILOSOPHY, 1984, 7 (01) : 43 - 55
  • [39] TEACA: Thread ProgrEss Aware Coherence Adaption for Hybrid Coherence Protocols
    Li, Jianhua
    Shi, Liang
    Li, Qingan
    Xue, Chun Jason
    Xu, Yinlong
    2012 IEEE 10TH SYMPOSIUM ON EMBEDDED SYSTEMS FOR REAL-TIME MULTIMEDIA (ESTIMEDIA), 2012, : 19 - 26
  • [40] Writing and the disembodiment of language
    Jackson, T
    PHILOSOPHY AND LITERATURE, 2003, 27 (01) : 116 - 133