首页> 外文会议>IEEE International Symposium on Computer Architecture and High Performance Computing >Towards Profile-Guided Optimization for Safe and Efficient Parallel Stream Processing in Rust
【24h】

Towards Profile-Guided Optimization for Safe and Efficient Parallel Stream Processing in Rust

机译:面向Profile-Guide优化的Rust高效并行流处理

获取原文

摘要

The efficient mapping of stream processing applications to parallel hardware architectures is a difficult problem. While parallelization is often highly desirable as it reduces the overall execution time, its advantages must be carefully weighed against the parallelization overhead of complexity and communication costs. This paper presents a novel profile-guided optimization for parallel stream processing based on the multi-paradigm system programming language Rust. Our approach's key idea is to systematically balance the performance gain that can be achieved from parallelization with the communication overhead. To achieve this, we 1) use profiling to gain tight estimates of task execution times, 2) evaluate the cost of the fundamental concurrency constructs in Rust with synthetic benchmarks, and exploit this information to estimate the communication overhead introduced by various degrees of parallelism, and 3) present a novel optimization algorithm that exploits both estimates to fine-tune the degree of parallelism and train processing in a given application. Overall, our approach enables us to map parallel stream processing applications to parallel hardware efficiently. The safety concepts anchored in Rust ensure the reliability of the resulting implementation. We demonstrate our approach's practical applicability with two case studies: the word count problem and aircraft telemetry decoding.
机译:流处理应用程序到并行硬件体系结构的有效映射是一个难题。虽然并行化通常会非常需要,因为它会减少总体执行时间,但必须仔细权衡并行化的复杂性和通信成本,以确保其优势。本文介绍了一种基于多范式系统编程语言Rust的新颖的,针对配置文件的并行流处理优化。我们方法的关键思想是系统地平衡并行化与通信开销之间可以实现的性能增益。为了实现这一目标,我们1)使用性能分析来获得对任务执行时间的严格估计,2)使用综合基准评估Rust中基本并发构造的成本,并利用此信息来估计不同程度的并行性所带来的通信开销,和3)提出了一种新颖的优化算法,该算法利用两个估计值来微调并行度,并在给定应用中训练处理能力。总体而言,我们的方法使我们能够有效地将并行流处理应用程序映射到并行硬件。固定在Rust中的安全概念确保了最终实现的可靠性。我们通过两个案例研究来证明我们的方法的实际适用性:字数问题和飞机遥测解码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号