【24h】

Fence Scoping

机译:围栏范围

获取原文

摘要

We observe that fence instructions used by programmers are usually only intended to order memory accesses within a limited scope. Based on this observation, we propose the concept fence scope which defines the scope within which a fence enforces the order of memory accesses, called scoped fence (S-Fence). S-Fence is a customizable fence, which enables programmers to express ordering demands by specifying the scope of fences when they only want to order part of memory accesses. At runtime, hardware uses the scope information conveyed by programmers to execute fence instructions in a manner that imposes fewer memory ordering constraints than a traditional fence, and hence improves program performance. Our experimental results show that the benefit of S-Fence hinges on the characteristics of applications and hardware parameters. A group of lock-free algorithms achieve peak speedups ranging from 1.13x to 1.34x, while full applications achieve speedups ranging from 1.04x to 1.23x.
机译:我们注意到,程序员使用的篱笆指令通常仅用于在有限范围内对内存访问进行排序。基于此观察,我们提出了围栏范围概念,该围栏范围定义了围栏强制执行内存访问顺序的范围,称为范围围栏(S-Fence)。 S-Fence是可自定义的围栅,它使程序员在只想对部分内存访问进行排序时,可以通过指定围栅的范围来表达排序要求。在运行时,硬件使用程序员传递的作用域信息来执行篱笆指令,该方式所施加的内存排序约束比传统篱笆少,从而提高了程序性能。我们的实验结果表明,S-Fence的优势取决于应用程序的特性和硬件参数。一组无锁算法可实现1.13倍至1.34倍的峰值加速,而完整的应用程序可实现1.04倍至1.23倍的加速。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号