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 条
  • [21] A template for writing radiotherapy protocols
    Nilsson, Per
    Ceberg, Crister
    Kjellen, Elisabeth
    Gagliardi, Giovanna
    Blomgren, Klas
    Nilsson, Sten
    Johansson, Mikael
    Glimelius, Bengt
    ACTA ONCOLOGICA, 2015, 54 (02) : 275 - 279
  • [22] WRITING PROTOCOLS FOR NEW DRUGS
    GUARINO, RA
    DRUG & COSMETIC INDUSTRY, 1975, 117 (06): : 50 - &
  • [23] COHERENCE IN LANGUAGE AND IN THE LANGUAGE OF MUSIC
    DELAMOTTE, D
    MUSICA, 1991, 45 (03): : 173 - 175
  • [24] WRITING IS NOT LANGUAGE, OR IS IT
    SUZUKI, T
    JOURNAL OF PRAGMATICS, 1977, 1 (04) : 407 - 419
  • [25] Writing and language
    Lanuzza, S
    PONTE, 2000, 56 (03) : 142 - 145
  • [26] WRITING QUALITY, COHERENCE, AND COHESION
    MCCULLEY, GA
    RESEARCH IN THE TEACHING OF ENGLISH, 1985, 19 (03) : 269 - 282
  • [27] COHERENCE: IMPLICATIONS FOR TEACHING WRITING
    Sarzhoska-Georgievska, Emilija
    ENGLISH STUDIES AT NBU, 2016, 2 (01): : 17 - 30
  • [28] Think-aloud protocols in second language writing: A mixed-methods study of their reactivity and veridicality
    Li, Chili
    Ye, Zixian
    Jiang, Xuemei
    Yang, Chengsong
    Zhang, Lawrence Jun
    JOURNAL OF SECOND LANGUAGE WRITING, 2024, 63
  • [29] Using prediction to accelerate coherence protocols
    Mukherjee, SS
    Hill, MD
    25TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, PROCEEDINGS, 1998, : 179 - 190
  • [30] A Study on the Korean Language Leaners' Experience in Writing a Letter of Self-Introduction
    Sumi, Lee
    JOURNAL OF THE INTERNATIONAL NETWORK FOR KOREAN LANGUAGE AND CULTURE, 2020, 17 (01): : 209 - 231