首页> 外文会议>International conference on computer design >SpecLock: Speculative Lock Forwarding
【24h】

SpecLock: Speculative Lock Forwarding

机译:尺寸:推测锁转发

获取原文
获取外文期刊封面目录资料

摘要

As core counts increase, lock acquisition and release become even more critical because they lie on the critical path of shared memory applications. In this paper, we show that many applications exhibit regular and repeating lock sharing patterns. Based on this observation, we introduce SpecLock, an efficient hardware mechanism which speculates on the lock acquisition pattern between cores. Upon the release of a lock, the cache line containing the lock is speculatively forwarded to the next consumer of the lock. This forwarding action is performed via a specialized prefetch request and does not require coherence protocol modification. Further, the lock is not speculatively acquired, only the cache line containing the lock variable is placed in the private cache of the predicted consumer. Speculative forwarding serves to hide the remote core's lock acquisition latency. SpecLock is distributed and all predictions are made locally at each core. We show that SpecLock captures 87% of predictable lock patterns correctly and improves performance by an average of 10% with 64 cores. SpecLock incurs a negligible overhead, with a 75% area reduction compared to past work. Compared to two state of the art methods, SpecLock provides a speedup of 8% and 4% respectively.
机译:随着核心计数的增加,锁定采集和释放变得更加重要,因为它们位于共享内存应用程序的关键路径上。在本文中,我们表明许多应用程序展示了常规和重复锁定共享模式。基于该观察,我们介绍了一种高效的硬件机制,它符合核心之间的锁定采集模式。在锁定锁定时,包含锁的高速缓存行被引用地转发到下一个锁的消费者。此转发操作是通过专用预取请求执行的,并且不需要一致性协议修改。此外,锁是不引用地获取的,只有包含锁定变量的高速缓存行被放置在预测消费者的私有高速缓存中。投机转发服务用于隐藏远程核心的锁定采集延迟。分布式尺寸,所有预测都是在每个核心本地制作的。我们表明,SpecoLlock正确地捕获了87%的可预测锁定模式,并通过64个核心平均提高了10%的性能。 Speclock与过去的工作相比,占据了可忽略的开销,减少了75%的面积。与本领域的两个状态相比,Speclock分别提供8%和4%的加速。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号