The Scalable Commutativity Rule

Author:

Clements Austin T.1,Kaashoek M. Frans1,Zeldovich Nickolai1,Morris Robert T.1,Kohler Eddie2

Affiliation:

1. MIT CSAIL, Cambridge, MA

2. Harvard University, Cambridge, MA

Abstract

What opportunities for multicore scalability are latent in software interfaces, such as system call APIs? Can scalability challenges and opportunities be identified even before any implementation exists, simply by considering interface specifications? To answer these questions, we introduce the scalable commutativity rule: whenever interface operations commute, they can be implemented in a way that scales. This rule is useful throughout the development process for scalable multicore software, from the interface design through implementation, testing, and evaluation. This article formalizes the scalable commutativity rule. This requires defining a novel form of commutativity, SIM commutativity , that lets the rule apply even to complex and highly stateful software interfaces. We also introduce a suite of software development tools based on the rule. Our Commuter tool accepts high-level interface models, generates tests of interface operations that commute and hence could scale, and uses these tests to systematically evaluate the scalability of implementations. We apply Commuter to a model of 18 POSIX file and virtual memory system operations. Using the resulting 26,238 scalability tests, Commuter highlights Linux kernel problems previously observed to limit application scalability and identifies previously unknown bottlenecks that may be triggered by future workloads or hardware. Finally, we apply the scalable commutativity rule and Commuter to the design and implementation sv6, a new POSIX-like operating system. sv6’s novel file and virtual memory system designs enable it to scale for 99% of the tests generated by Commuter . These results translate to linear scalability on an 80-core x86 machine for applications built on sv6’s commutative operations.

Funder

VMware

National Science Foundation

Quanta Computer

Microsoft Research

Alfred P. Sloan Foundation

Google

Publisher

Association for Computing Machinery (ACM)

Subject

General Computer Science

Cited by 41 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. TCSA: Efficient Localization of Busy-Wait Synchronization Bugs for Latency-Critical Applications;IEEE Transactions on Parallel and Distributed Systems;2024-02

2. Diciclo: Flexible User-level Services for Efficient Multitenant Isolation;ACM Transactions on Computer Systems;2023-12-30

3. Beyond isolation: OS verification as a foundation for correct applications;Proceedings of the 19th Workshop on Hot Topics in Operating Systems;2023-06-22

4. CFS: Scaling Metadata Service for Distributed File System via Pruned Scope of Critical Sections;Proceedings of the Eighteenth European Conference on Computer Systems;2023-05-08

5. In-Situ Concolic Testing of JavaScript;2023 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER);2023-03

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3