Transparently consistent asynchronous shared memory

Hakan Akkan, Latchesar Ionkov, M. Lang
{"title":"Transparently consistent asynchronous shared memory","authors":"Hakan Akkan, Latchesar Ionkov, M. Lang","doi":"10.1145/2491661.2481431","DOIUrl":null,"url":null,"abstract":"The advent of many-core processors is imposing many changes on the operating system. The resources that are under contention have changed; previously, CPU cycles were the resource in demand and required fair and precise sharing. Now compute cycles are plentiful, but the memory per core is decreasing. In the past, scientific applications used all the CPU cores to finish as fast as possible, with visualization and analysis of the data performed after the simulation finished. With decreasing memory available per core, as well as the higher price (in power and time) for storing data on disk or sending it over the network, it now makes sense to run visualization and analytics applications in-situ, while the application is running. Visualization and analytics applications then need to sample the simulation memory with as little interference and as little changes in the simulation code as possible.\n We propose an asynchronous memory sharing facility that allows consistent states of the memory to be shared between processes without any implicit or explicit synchronization. We distinguish two types of processes; a single producer and one or more observers. The producer modifies the state of the data, making available consistent versions of the state to any observer. The observers, working at different sampling rates, can access the latest available consistent state.\n Some applications that would benefit from this type of facility include check-pointing applications, processes monitoring, unobtrusive process debugging, and the sharing of data for visualization or analytics. To evaluate our ideas we have developed two kernel-level implementations for sharing data asynchronously and we compared these implementations to a traditional user-space synchronized multi-buffer method.\n We have seen improvements of up to 3.5x in our tests over the traditional multi-buffer method with 20% of the data pages touched.","PeriodicalId":335825,"journal":{"name":"International Workshop on Runtime and Operating Systems for Supercomputers","volume":"43 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-06-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Workshop on Runtime and Operating Systems for Supercomputers","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2491661.2481431","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11

Abstract

The advent of many-core processors is imposing many changes on the operating system. The resources that are under contention have changed; previously, CPU cycles were the resource in demand and required fair and precise sharing. Now compute cycles are plentiful, but the memory per core is decreasing. In the past, scientific applications used all the CPU cores to finish as fast as possible, with visualization and analysis of the data performed after the simulation finished. With decreasing memory available per core, as well as the higher price (in power and time) for storing data on disk or sending it over the network, it now makes sense to run visualization and analytics applications in-situ, while the application is running. Visualization and analytics applications then need to sample the simulation memory with as little interference and as little changes in the simulation code as possible. We propose an asynchronous memory sharing facility that allows consistent states of the memory to be shared between processes without any implicit or explicit synchronization. We distinguish two types of processes; a single producer and one or more observers. The producer modifies the state of the data, making available consistent versions of the state to any observer. The observers, working at different sampling rates, can access the latest available consistent state. Some applications that would benefit from this type of facility include check-pointing applications, processes monitoring, unobtrusive process debugging, and the sharing of data for visualization or analytics. To evaluate our ideas we have developed two kernel-level implementations for sharing data asynchronously and we compared these implementations to a traditional user-space synchronized multi-buffer method. We have seen improvements of up to 3.5x in our tests over the traditional multi-buffer method with 20% of the data pages touched.
透明一致的异步共享内存
多核处理器的出现给操作系统带来了许多变化。争夺的资源发生了变化;以前,CPU周期是需要的资源,需要公平和精确的共享。现在计算周期很长,但是每个核心的内存在减少。在过去,科学应用程序使用所有CPU内核来尽可能快地完成模拟,并在模拟完成后对数据进行可视化和分析。随着每个核心可用内存的减少,以及在磁盘上存储数据或通过网络发送数据的成本(在功率和时间上)的提高,现在在应用程序运行时,在现场运行可视化和分析应用程序是有意义的。然后,可视化和分析应用程序需要在模拟代码中尽可能少的干扰和更改的情况下对模拟内存进行采样。我们提出了一种异步内存共享工具,它允许在进程之间共享内存的一致状态,而无需任何隐式或显式同步。我们区分了两种类型的过程;一个生产者和一个或多个观察者。生产者修改数据的状态,使任何观察者都可以获得状态的一致版本。以不同采样率工作的观察者可以访问最新可用的一致状态。一些应用程序将受益于这种类型的设施,包括检查点应用程序、过程监视、不显眼的过程调试以及用于可视化或分析的数据共享。为了评估我们的想法,我们开发了两个用于异步共享数据的内核级实现,并将这些实现与传统的用户空间同步多缓冲区方法进行了比较。在我们的测试中,与传统的多缓冲区方法相比,我们已经看到了高达3.5倍的改进,其中20%的数据页被触摸。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信