Skip to content

Develop an Nsight System plugin to profile network bandwidth#999

Open
kingcrimsontianyu wants to merge 17 commits into
rapidsai:mainfrom
kingcrimsontianyu:network-monitor
Open

Develop an Nsight System plugin to profile network bandwidth#999
kingcrimsontianyu wants to merge 17 commits into
rapidsai:mainfrom
kingcrimsontianyu:network-monitor

Conversation

@kingcrimsontianyu

@kingcrimsontianyu kingcrimsontianyu commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

When developing and optimizing remote I/O, a commonly asked question is: how do I know the achieved bandwidth of my application? While nsys does offer network-related features, limitations exist:

  • --nic-metrics: Requires OFED/InfiniBand dependency that cannot be fulfilled on many systems, including g7e.16xlarge.
  • --enable=network_interface: Shows raw counter instead of bandwidth value. Does not register signals and therefore always returns non-zero exit code.

This PR develops an nsys plugin to allow flexible, generic NIC bandwidth profiling without the above limitations.

@copy-pr-bot

copy-pr-bot Bot commented Jul 6, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@kingcrimsontianyu kingcrimsontianyu added improvement Improves an existing functionality non-breaking Introduces a non-breaking change python Affects the Python API of KvikIO c++ Affects the C++ API of KvikIO Needs build-infra Requires input from the build infrastructure team labels Jul 6, 2026
@kingcrimsontianyu

kingcrimsontianyu commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

Sample UI

Below is an example of the NIC bandwidth profile in nsys UI.

image

@kingcrimsontianyu

Copy link
Copy Markdown
Contributor Author

Sample documentation

Screenshot 2026-07-07 at 01-43-09 Profiling — kvikio 26 08 00 documentation

@kingcrimsontianyu
kingcrimsontianyu marked this pull request as ready for review July 7, 2026 05:44
@kingcrimsontianyu
kingcrimsontianyu requested review from a team as code owners July 7, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Affects the C++ API of KvikIO improvement Improves an existing functionality Needs build-infra Requires input from the build infrastructure team non-breaking Introduces a non-breaking change python Affects the Python API of KvikIO

Projects

Status: Burndown

Development

Successfully merging this pull request may close these issues.

2 participants