首页> 外文会议>Proceedings of the ACM computing frontiers conference >SuperCoP: A General, Correct, and Performance-efficient Supervised Memory System
【24h】

SuperCoP: A General, Correct, and Performance-efficient Supervised Memory System

机译:SuperCoP:通用,正确且性能高效的受监管存储系统

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Supervised memory systems maintain additional metadata for each memory address accessed by the program, to control and monitor accesses to the program data. Supervised systems find use in several applications including memory checking, synchronization, race detection, and transactional memory. Conventional memory instructions are replaced by supervised memory instructions (SMIs) which operate on both data and metadata alomically. Existing proposals for supervised memory systems assume sequential consistency. Recently, Bobba et al. [4] demonstrated the correctness issues {imprecise exceptions and metadata read reordering) in naively applying supervision to Total-Store-Order, and proposed two solutions - TSOall and TSOdata for overcoming the correctness issues. TSOall solves correctness issues by forcing SMIs to perform in order, but performs similar to SC, since supervised writes cannot retire into the write-bufler. TSOdata, while allowing supervised writes to retire into the write-buffer. works correctly lor only a subset of supervision schemes. In this paper we observe that correctness is ensured as long as SMIs read and process their metadata in order. We propose SuperCoP, a supervised memory system for relaxed memory models in which SMIs read and process metadata before retirement, while allowing data and metadata writes to retire into the write-buffer. Since SuperCoP separates metadata reads and their processing from the writes, we propose a simple mechanism - in the form of cache block level locking at the directory to ensure atomicity. Our experimental results show that SuperCoP performs better than TSOall by 16.8%. SuperCoP also performs better than TSOdata by 6%, even though TSOdata is not general.
机译:受监督的内存系统为程序访问的每个内存地址维护其他元数据,以控制和监视对程序数据的访问。受监管的系统可用于多种应用程序,包括内存检查,同步,竞争检测和事务性内存。常规的存储指令已被监督性存储指令(SMI)取代,后者对数据和元数据都进行了操作。监督存储系统的现有建议假定顺序一致。最近,Bobba等。 [4]在天真地应用监管到Total-Store-Order时展示了正确性问题(不精确的异常和元数据读取重新排序),并提出了两种解决方案-TSOall和TSOdata来克服正确性问题。 TSOall通过强制SMI按顺序执行来解决正确性问题,但其执行方式与SC类似,因为受监管的写入无法退回到写入缓冲程序中。 TSOdata,同时允许监督性写入退回到写入缓冲区。正常工作,或仅监督计划的一部分。在本文中,我们观察到只要SMI按顺序读取和处理其元数据,就可以确保正确性。我们提出了SuperCoP,一种用于宽松内存模型的受监管内存系统,其中SMI在退出之前读取和处理元数据,同时允许将数据和元数据的写操作退回到写缓冲区中。由于SuperCoP将元数据读取及其处理与写入分开,因此我们提出了一种简单的机制-以缓存块级别锁定在目录中的形式,以确保原子性。我们的实验结果表明,SuperCoP的性能比TSOall好16.8%。即使TSOdata不通用,SuperCoP的性能也比TSOdata好6%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号