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

有限内存环境下的流超图划分算法

Streaming Hypergraph Partitioning Algorithms on Limited Memory Environments

Fatih Taşyaran, Berkay Demireller, Kamer Kaya, Bora Uçar

摘要:

许多众所周知的现实世界的问题都涉及到描述实体之间关系的动态数据。超图是一种强大的组合结构,经常用于对此类数据进行建模。对于今天的许多以数据为中心的应用程序来说,这些数据是流式的;新的项目不断到达,数据随着时间的推移而增长。随着物联网和边缘计算等范例的出现,这些应用变得更加自然和实用。在这项工作中,我们假设一个流模型,其中数据被建模为一个超图,这是在边缘生成的。然后,这些数据被分区,并通过在内存受限的设备(如单板的计算机)上运行的算法发送到远程节点。这种划分通常通过考虑连接性度量来执行,以最小化将以分布式方式执行的后续分析的通信成本。虽然有许多离线工具可以很好地划分静态超图,但用于流设置的算法很少。我们分析了一个著名的算法从文献中,并显着提高其运行时间,通过改变其内部数据结构。例如,在一个中等规模的超图上,新算法将运行时间从17800秒减少到10秒。然后,我们提出了基于草图和散列的算法,以及那些可以利用额外的内存来存储一小部分数据,以便在可能的情况下细化分区的算法。我们实验分析这些算法的性能,并报告其运行时间,连接度量分数,和内存使用的高端服务器和四个不同的单板计算机体系结构。

英文摘要:

Many well-known, real-world problems involve dynamic data which describe the relationship among the entities. Hypergraphs are powerful combinatorial structures that are frequently used to model such data. For many of today's data-centric applications, this data is streaming; new items arrive continuously, and the data grows with time. With paradigms such as Internet of Things and Edge Computing, such applications become more natural and more practical. In this work, we assume a streaming model where the data is modeled as a hypergraph, which is generated at the edge. This data then partitioned and sent to remote nodes via an algorithm running on a memory-restricted device such as a single board computer. Such a partitioning is usually performed by taking a connectivity metric into account to minimize the communication cost of later analyses that will be performed in a distributed fashion. Although there are many offline tools that can partition static hypergraphs excellently, algorithms for the streaming settings are rare. We analyze a well-known algorithm from the literature and significantly improve its running time by altering its inner data structure. For instance, on a medium-scale hypergraph, the new algorithm reduces the runtime from 17800 seconds to 10 seconds. We then propose sketch- and hash-based algorithms, as well as ones that can leverage extra memory to store a small portion of the data to enable the refinement of partitioning when possible. We experimentally analyze the performance of these algorithms and report their run times, connectivity metric scores, and memory uses on a high-end server and four different single-board computer architectures.

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

↑