arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.09325cs.DC
收藏

Cloudprofiler:面向云流式工作负载的基于 TSC 的节点间性能分析与高吞吐量数据摄取

Cloudprofiler: TSC-based inter-node profiling and high-throughput data ingestion for cloud streaming workloads

Shinhyung Yang, Jiun Jeong, Bernhard Scholz, Bernd Burgstaller

AI总结:

本文提出 Cloudprofiler,通过关联节点 TSC 实现微秒级跨节点性能分析,并利用并发对象工厂提升云流式工作负载的数据摄取吞吐量,在 Apache Storm 上将摄取能力从 700k 提升至 4.68M 元组/秒。

摘要:

为了进行实时分析计算,大数据流处理引擎需要以每秒数百万个事件的速度处理无界数据流。然而,当前的流式引擎表现出低吞吐量和高元组处理延迟。性能工程由于流式引擎构成由云中多个节点组成的复杂分布式系统而变得复杂。需要一种能够以高精度跨节点测量时间持续时长的性能分析技术。诸如网络时间协议(NTP)之类的标准时钟同步技术仅限于毫秒级精度,因此无法使用。我们提出一种性能分析技术,该技术关联各节点的时间戳计数器(TSC)来测量流式框架中事件的持续时长。TSC 关联的精度决定了所测持续时长的准确度。TSC 关联在网络静默期进行,以实现数十微秒级的准确度。我们提出一种吞吐量受控的数据生成器,以可靠地确定流式引擎的可持续吞吐量。为促进高吞吐量数据摄取,我们提出一种并发对象工厂,将传入数据元组的反序列化开销移出流式框架的关键路径。在 Google Compute Engine 公共云上的 Apache Storm 流式框架内对所提技术进行的评估表明,数据摄取从每秒 700 k 个元组增加到 4.68 M 个元组,并且时间持续时长可以以 92 μs 的测量准确度进行性能分析,这比 NTP 的准确度高三个数量级,并且比先前工作高一个数量级。

英文摘要:

To conduct real-time analytics computations, big data stream processing engines are required to process unbounded data streams at millions of events per second. However, current streaming engines exhibit low throughput and high tuple processing latency. Performance engineering is complicated by the fact that streaming engines constitute complex distributed systems consisting of multiple nodes in the cloud. A profiling technique is required that is capable of measuring time durations at high accuracy across nodes. Standard clock synchronization techniques such as the network time protocol (NTP) are limited to millisecond accuracy, and hence cannot be used. We propose a profiling technique that relates the time-stamp counters (TSCs) of nodes to measure the duration of events in a streaming framework. The precision of the TSC relation determines the accuracy of the measured duration. The TSC relation is conducted in quiescent periods of the network to achieve accuracy in the tens of microseconds. We propose a throughput-controlled data generator to reliably determine the sustainable throughput of a streaming engine. To facilitate high-throughput data ingestion, we propose a concurrent object factory that moves the deserialization overhead of incoming data tuples off the critical path of the streaming framework. The evaluation of the proposed techniques within the Apache Storm streaming framework on the Google Compute Engine public cloud shows that data ingestion increases from $700$ $\text{k}$ to $4.68$ $\text{M}$ tuples per second, and that time durations can be profiled at a measurement accuracy of $92$ $μ\text{s}$, which is three orders of magnitude higher than the accuracy of NTP, and one order of magnitude higher than prior work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑