一种基于eBPF的并行程序在线性能数据采集方法

By using eBPF technology to collect performance data of parallel programs in real time, the problem of existing tools being unable to analyze data online is solved, enabling low-cost and efficient performance data acquisition and display, and improving the monitoring efficiency of parallel programs.

CN115328731BActive Publication Date: 2026-07-17BEIHANG UNIV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIHANG UNIV
Filing Date
2022-08-12
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing parallel program monitoring tools are mainly based on post-event analysis, which cannot achieve online performance data acquisition and display without modifying the source code, making performance problem localization difficult and costly.

Method used

A performance data acquisition module was developed using eBPF technology. It intercepts parallel library functions through the eBPF compiler bcc and the user dynamic probe uprobe to collect and transmit performance data in real time. The module also uses a stream processing module to match and identify inefficient operations, and finally displays the data online through a visualization module.

Benefits of technology

It enables real-time acquisition of parallel program performance data and identification of inefficient operations without restarting the parallel program, thereby reducing the cost and complexity of performance analysis and improving analysis efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115328731B_ABST
    Figure CN115328731B_ABST
Patent Text Reader

Abstract

本发明公开了一种基于eBPF的并行程序在线性能数据采集方法,通过利用eBPF在节点机器中嵌入eBPF并行程序性能数据采集模块,对并行程序的运行时行为进行监测,采集并行程序的性能数据;流处理模块将采集到的性能数据进行流式处理并传输;可视化模块接收到性能数据后进行可视化处理并展示,以便观测程序的运行时行为。整个过程中利用eBPF的低扰动性和可编程性来作为性能数据的采集模块,可以在不影响并行程序运行时行为的情况下,实现对并行程序的运行时监控,以便观察程序的执行状态,及时发现并行程序的异常行为,在不用重新运行程序的情况下进行性能分析。
Need to check novelty before this filing date? Find Prior Art