首页> 外文会议>IEEE International Scientific Conference on Informatics >High-level C++ implementation of the read-copy-update pattern
【24h】

High-level C++ implementation of the read-copy-update pattern

机译:读取复制更新模式的高级C ++实现

获取原文

摘要

Concurrent programming with classical mutex/lock techniques does not scale well when reads are way more frequent than writes. Such situation happens in operating system kernels among other performance critical multithreaded applications. Read copy update (RCU) is a well know technique for solving the problem. RCU guarantees minimal overhead for read operations and allows them to occur concurrently with write operations. RCU is a favourite concurrent pattern in low level, performance critical applications, like the Linux kernel. Currently there is no high-level abstraction for RCU for the C++ programming language. In this paper, we present our C++ RCU class library to support efficient concurrent programming for the read-copy-update pattern. The library has been carefully designed to optimise performance in a heavily multithreaded environment, in the same time providing high-level abstractions, like smart pointers and other C++11/14/17 features.
机译:当读取比写入更频繁时,使用经典互斥锁/锁定技术的并发编程无法很好地扩展。这种情况发生在操作系统内核以及其他对性能至关重要的多线程应用程序中。读取副本更新(RCU)是解决该问题的一种众所周知的技术。 RCU保证读取操作的开销最小,并允许它们与写入操作同时发生。在低级,对性能至关重要的应用程序(例如Linux内核)中,RCU是最受欢迎的并发模式。当前,RCU没有针对C ++编程语言的高级抽象。在本文中,我们介绍了C ++ RCU类库,以支持针对读取-复制-更新模式的高效并发编程。该库经过精心设计,可以在高度多线程的环境中优化性能,同时提供高级抽象,例如智能指针和其他C ++ 11/14/17功能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号