首页> 外文会议>IEEE/ACM International Symposium on Microarchitecture >Kernel Partitioning of Streaming Applications: A Statistical Approach to an NP-complete Problem
【24h】

Kernel Partitioning of Streaming Applications: A Statistical Approach to an NP-complete Problem

机译:流应用程序的内核分区:NP完全问题的一种统计方法

获取原文

摘要

One of the greatest challenges in computer architecture is how to write efficient, portable, and correct software for multi-core processors. A promising approach is to expose more parallelism to the compiler, through the use of domain-specific languages. The compiler can then perform complex transformations that the programmer would otherwise have had to do. Many important applications related to audio and video encoding, software radio and signal processing have regular behavior that can be represented using a stream programming language. When written in such a language, a portable stream program can be automatically mapped by the stream compiler onto multicore hardware. One of the most difficult tasks of the stream compiler is partitioning the stream program into software threads. The choice of partition significantly affects performance, but finding the optimal partition is an NP-complete problem. This paper presents a method, based on Extreme Value theory (EVT), that statistically estimates the performance of the optimal partition. Knowing the optimal performance improves the evaluation of any partitioning algorithm, and it is the most important piece of information when deciding whether an existing algorithm should be enhanced. We use the method to evaluate a recently-published partitioning algorithm based on a heuristic. We further analyze how the statistical method is affected by the choice of sampling method, and we recommend how sampling should be done. Finally, since a heuristic-based algorithm may not always be available, the user may try to find a good partition by picking the best from a random sample. We analyze whether this approach is likely to find a good partition. To the best of our knowledge, this study is the first application of EVT to a graph partitioning problem.
机译:计算机体系结构中的最大挑战之一是如何为多核处理器编写高效,可移植且正确的软件。一种有前途的方法是通过使用特定于域的语言来向编译器公开更多的并行性。然后,编译器可以执行程序员原本必须要做的复杂转换。与音频和视频编码,软件无线电和信号处理相关的许多重要应用程序都有常规行为,可以使用流编程语言来表示。当用这种语言编写时,可移植的流程序可以被流编译器自动映射到多核硬件上。流编译器最困难的任务之一是将流程序划分为软件线程。分区的选择会显着影响性能,但是找到最佳分区是一个NP完全问题。本文提出了一种基于极值理论(EVT)的方法,该方法可以统计地估计最佳分区的性能。知道最佳性能可以改善任何分区算法的评估,并且在确定是否应增强现有算法时,这是最重要的信息。我们使用该方法评估基于启发式算法的最新发布的分区算法。我们将进一步分析抽样方法的选择对统计方法的影响,并建议应如何进行抽样。最后,由于基于启发式的算法可能并不总是可用,因此用户可能会尝试通过从随机样本中挑选出最好的分区来找到良好的分区。我们分析这种方法是否可能找到一个很好的分区。据我们所知,这项研究是EVT在图分区问题中的首次应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号