首页> 外文会议>International workshop on openMP >An OpenMP Extension Library for Memory Affinity
【24h】

An OpenMP Extension Library for Memory Affinity

机译:用于内存关联的OpenMP扩展库

获取原文

摘要

OpenMP 4.0 extended affinity support to allow pinning of threads to places. Places are an abstraction of machine locations which in many cases do not require extensive hardware knowledge by the user. For memory affinity, i.e. data initialization and migration on NUMA systems, support is still missing in OpenMP. In this work we present an extension library for OpenMP which implements round-robin memory initialization over places and memory migration, either explicitly or implicitly. The latter is presented with an implementation based on a next-touch algorithm for Linux. We study the overhead of our methods with a simple model that allows to predict if migration is beneficial or not for a certain use case and we demonstrate the correctness of the migration methods and the correctness of our model prediction with the STREAM benchmark and an implementation of a CG method. Finally, we discuss how memory affinity could be integrated in future OpenMP versions.
机译:OpenMP 4.0扩展的相似性支持允许将线程固定到位置。位置是机器位置的抽象,在许多情况下,这些位置不需要用户广泛的硬件知识。对于内存关联性(即NUMA系统上的数据初始化和迁移),OpenMP中仍然缺少支持。在这项工作中,我们提供了一个OpenMP扩展库,该库在显式或隐式的位置上实现循环内存初始化和内存迁移。为后者提供了基于Linux下触摸算法的实现。我们使用一个简单的模型来研究方法的开销,该模型可以预测迁移对某些用例是否有益,并且我们使用STREAM基准测试的迁移方法的正确性和模型预测的正确性以及对SVG的实现进行了演示。 CG方法。最后,我们讨论了如何在未来的OpenMP版本中集成内存相似性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号