首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >Analyzing the Performance Trade-Off in Implementing User-Level Threads
【24h】

Analyzing the Performance Trade-Off in Implementing User-Level Threads

机译:分析实施用户级线程的性能权衡

获取原文
获取原文并翻译 | 示例
           

摘要

User-level threads have been widely adopted as a means of achieving lightweight concurrent execution without the costs of OS-level threads. Nevertheless, the costs of managing user-level threads represent a performance barrier that dictates how fine grained the concurrency exposed by an application can be without incurring significant overheads; this in turn may translate into insufficient parallelism to exploit highly parallel systems. This article is a deep dive into the fundamental costs in implementing user-level threads. We first identify that one of the highest sources of fork-join overheads stems from deviations, events that incur context switching during the execution of a thread and disrupt a run-to-completion execution. We then conduct an in-depth investigation of a wide spectrum of methods with respect to how they handle deviations while covering both parent- and child-first scheduling policies. Our methodology involves a comprehensive instruction- and cache-level analysis of all methods on several modern CPU architectures. The primary finding of our evaluation is that dynamic promotion methods that assume the absence of deviation and dynamically provide context-switching support offer the best trade-off between performance and capability when the likelihood of deviation is low.
机译:用户级线程已被广泛采用,作为实现轻量级并发执行的手段,而无需操作系统级线程的成本。尽管如此,管理用户级线程的成本代表了一种性能障碍,指​​示应用程序暴露的并发的细粒度如何,可以在不产生大量的开销;这又可以转化为不充分的并行性,以利用高度平行的系统。本文深入潜入实施用户级线程的基本成本。首先,首先识别出最高码头源的一个源头源于偏差,在执行线程期间产生上下文切换的事件并扰乱运行到完成执行。然后,我们对关于他们如何处理偏差的广泛方法进行深入研究,同时涵盖父母和儿童第一调度策略。我们的方法涉及对几种现代CPU架构上所有方法的全面指导和缓存级别分析。我们的评价的主要发现是,假设缺乏偏差和动态提供上下文切换支持的动态促销方法提供了在偏差的可能性低时性能和能力之间的最佳权衡。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号