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 条
  • [41] Second language writing
    Erdosy, U
    CANADIAN MODERN LANGUAGE REVIEW-REVUE CANADIENNE DES LANGUES VIVANTES, 2004, 60 (05): : 674 - 676
  • [42] LANGUAGE EXPERIENCE APPROACH TO READING (AND WRITING) - LEA FOR ESL - DIXON,CN, NESSEL,D
    SPANGLER, K
    JOURNAL OF READING, 1986, 29 (08): : 788 - 789
  • [43] Do Medical Students Experience Writing Anxiety While Learning English as a Foreign Language?
    Rabadi, Reem, I
    Rabadi, Alexander D.
    PSYCHOLOGY RESEARCH AND BEHAVIOR MANAGEMENT, 2020, 13 : 883 - 893
  • [44] Second language writing
    Leki, I
    ENGLISH FOR SPECIFIC PURPOSES, 2005, 24 (03) : 359 - 362
  • [45] The language of speech and writing
    Mukherjee, J
    ANGLIA-ZEITSCHRIFT FUR ENGLISCHE PHILOLOGIE, 2002, 120 (02): : 266 - 268
  • [46] Second language writing
    Bennett, Gena
    TESOL QUARTERLY, 2007, 41 (01) : 203 - 206
  • [47] Writing an Endangered Language
    Guerin, Valerie
    LANGUAGE DOCUMENTATION & CONSERVATION, 2008, 2 (01): : 47 - 67
  • [48] OTHELLO: LANGUAGE AND WRITING
    Dwivedi, Amitabh Vikram
    AUSTRALASIAN DRAMA STUDIES, 2016, (68) : 195 - 199
  • [49] An introduction to language writing
    Perelman, B
    REVUE FRANCAISE D ETUDES AMERICAINES, 1996, (67): : 70 - 89
  • [50] WRITING: A LANGUAGE SYSTEM
    Sobral, Paula Oliveira
    REVISTA VIRTUAL DE ESTUDOS DA LINGUAGEM-REVEL, 2008, 6 (02):