【24h】

Lock-Free Parallel Access Collections

机译:无锁并行访问集合

获取原文
           

摘要

All new computers have multicore processors. To exploit this hardware parallelism for improvedperformance, the predominant approach today is multithreading using shared variables and locks. Thisapproach has potential data races that can create a nondeterministic program. This paper presents apromising new approach to parallel programming that is both lock-free and deterministic. The standardforall primitive for parallel execution of for-loop iterations is extended into a more highly structuredprimitive called a Parallel Operation (POP). Each parallel process created by a POP may read sharedvariables (or shared collections) freely. Shared collections modified by a POP must be selected from aspecial set of predefined Parallel Access Collections (PAC). Each PAC has several Write Modes thatgovern parallel updates in a deterministic way. This paper presents an overview of a Prototype Librarythat implements this POP-PAC approach for the C++ language, including performance results for twobenchmark parallel programs.
机译:所有新计算机都具有多核处理器。为了利用这种硬件并行性来提高性能,当今的主要方法是使用共享变量和锁的多线程。这种方法具有潜在的数据竞争,可以创建不确定的程序。本文提出了一种有前途的无锁和确定性的并行编程新方法。用于并行执行for循环迭代的standardforall原语扩展为结构更高级的原语,称为Parallel Operation(POP)。 POP创建的每个并行进程都可以自由读取共享变量(或共享集合)。必须从一组特定的预定义并行访问集合(PAC)中选择由POP修改的共享集合。每个PAC都有几种写入模式,它们以确定性的方式管理并行更新。本文概述了一个原型库,该库为C ++语言实现了这种POP-PAC方法,包括两个基准并行程序的性能结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号