Optimizing the DFCPP Dataflow Runtime Library for Resource Utilization in NUMA Systems

In parallel computing, Data Flow Graphs play a critical role by explicitly representing the dependencies between tasks, which is essential for task scheduling and resource utilization. In the process of scheduling optimization, it is crucial to address the dual challenges of balancing computational load and distributing data access pressure. The Dataflow for C++ (DFCPP) possesses the advantage of accurately sensing task data sizes, and based on this capability, this paper proposes a Primary-Secondary Core Selecting (PSCS) strategy specifically designed for Hyper-Threading-enabled Non-Uniform Memory Access systems (HT-NUMA). This strategy aims to mitigate interference between threads on the same physical core in a hyper-threading environment, thereby enhancing task execution stability and overall performance. Additionally, DFCPP integrates a task-stealing mechanism with a proactive allocation strategy for large-cache tasks, enabling the distribution of large tasks to low-load NUMA nodes, which reduces cache contention and improves cache hit rates. Experimental results demonstrate that, compared to common dataflow programming libraries such as Taskflow and TBB, DFCPP achieves over a 20% performance improvement when the system core count meets computational demands, and nearly a 25% improvement when handling large-dataset tasks. Furthermore, DFCPP exhibits high efficiency and adaptability in processing tasks with various directed acyclic graph topologies, fully leveraging the parallel computing advantages of NUMA systems, and demonstrates exceptional performance and broad applicability in dataflow task scheduling, resource optimization, and complex dependency management.

Authors

Institutions

Publication Details

Published
2024-12-13
DOI
https://doi.org/10.1109/hpcc64274.2024.00046
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing the DFCPP Dataflow Runtime Library for Resource Utilization in NUMA Systems

Luping Tang, Du Zheng
Parallel Computing and Optimization Techniques
article

Optimizing the DFCPP Dataflow Runtime Library for Resource Utilization in NUMA Systems

Luping Tang, Du Zheng
article en

Abstract

In parallel computing, Data Flow Graphs play a critical role by explicitly representing the dependencies between tasks, which is essential for task scheduling and resource utilization. In the process of scheduling optimization, it is crucial to address the dual challenges of balancing computational load and distributing data access pressure. The Dataflow for C++ (DFCPP) possesses the advantage of accurately sensing task data sizes, and based on this capability, this paper proposes a Primary-Secondary Core Selecting (PSCS) strategy specifically designed for Hyper-Threading-enabled Non-Uniform Memory Access systems (HT-NUMA). This strategy aims to mitigate interference between threads on the same physical core in a hyper-threading environment, thereby enhancing task execution stability and overall performance. Additionally, DFCPP integrates a task-stealing mechanism with a proactive allocation strategy for large-cache tasks, enabling the distribution of large tasks to low-load NUMA nodes, which reduces cache contention and improves cache hit rates. Experimental results demonstrate that, compared to common dataflow programming libraries such as Taskflow and TBB, DFCPP achieves over a 20% performance improvement when the system core count meets computational demands, and nearly a 25% improvement when handling large-dataset tasks. Furthermore, DFCPP exhibits high efficiency and adaptability in processing tasks with various directed acyclic graph topologies, fully leveraging the parallel computing advantages of NUMA systems, and demonstrates exceptional performance and broad applicability in dataflow task scheduling, resource optimization, and complex dependency management.

Shenzhen University (CN), Tsinghua University (CN)
Research and Development
Openalex Percentile: Top 66%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.