首页> 外文会议>ACM EuroSys conference on computer systems >SRM-Buffer: An OS Buffer Management Technique to Prevent Last Level Cache from Thrashing in Multicores
【24h】

SRM-Buffer: An OS Buffer Management Technique to Prevent Last Level Cache from Thrashing in Multicores

机译:SRM缓冲区:操作系统缓冲区管理技术,以防止上次级别缓存在多设备中删除

获取原文

摘要

Buffer caches in operating systems keep active file blocks in memory to reduce disk accesses. Related studies have been focused on how to minimize buffer misses and the caused performance degradation. However, the side effects and performance implications of accessing the data in buffer caches (i.e. buffer cache hits) have not been paid attention. In this paper, we show that accessing buffer caches can cause serious performance degradation on multicores, particularly with shared last level caches (LLCs). There are two reasons for this problem. First, data in files normally have weaker localities than data objects in virtual memory spaces. Second, due to the shared structure of LLCs on multicore processors, an application accessing the data in a buffer cache may flush the to-be-reused data of its co-running applications from the shared LLC and significantly slow down these applications. The paper proposes a buffer cache design called Selected Region Mapping Buffer (SRM-buffer) for multicore systems to effectively address the cache pollution problem caused by OS buffer. SRM-buffer improves existing OS buffer management with an enhanced page allocation policy that carefully selects mapping physical pages upon buffer misses. For a sequence of blocks accessed by an application, SRM-buffer allocates physical pages that are mapped to a selected region consisting of a small portion of sets in LLC. Thus, when these blocks are accessed, cache pollution is effectively limited within the small cache region. We have implemented a prototype of SRM-buffer into Linux kernel, and tested it with extensive workloads. Performance evaluation shows SRM-buffer can improve system performance and decrease the execution times of workloads by up to 36%.
机译:操作系统中的缓冲区缓存在内存中保持活动文件块以减少磁盘访问。相关研究一直专注于如何最大限度地减少缓冲区未命中和造成的性能下降。但是,在缓冲区缓存中访问数据(即缓冲区缓存命中)的副作用和性能含义尚未得到注意。在本文中,我们显示访问缓冲区缓存可能会对多设备造成严重的性能下降,特别是与共享的最后一次缓存(LLC)。这个问题有两个原因。首先,文件中的数据通常具有比虚拟内存空间中的数据对象更弱。其次,由于在多核处理器上的LLC的共享结构,访问缓冲区缓存中数据的应用程序可以从共享的LLC刷新其共同运行的应用程序的待重复使用的数据,并显着减慢这些应用程序。本文提出了一种被称为所选区域映射缓冲区(SRM缓冲区)的缓冲缓存设计,用于多核系统,以有效地解决由OS缓冲区引起的高速缓存污染问题。 SRM-Buffer通过增强的页面分配策略改进了现有的OS缓冲区管理,该策略仔细选择缓冲区未命中时的映射物理页面。对于由应用程序访问的块序列,SRM缓冲区将被映射到由LLC中的一小部分组成的所选区域的物理页面分配。因此,当访问这些块时,高速缓存区域内的高速缓存污染有效地限制。我们已经在Linux内核中实现了SRM缓冲区的原型,并通过广泛的工作负载测试了它。性能评估显示SRM缓冲区可以提高系统性能,并将工作负载的执行时间降低至36%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号