Using Nsight Compute with large codebases - Part 2 : Profiling large code bases
blog.ncompass.tech·12h·
Discuss: Hacker News
📊Profiling Tools
Preview
Report Post

Table of contents


tldr;

This section will go over how you can combine NVTX filtering, targeted metric selection, and kernel selection to reduce ncu profiling overhead on vLLM from 18+ hours to under 1 second — while still extracting roofline metrics for specific kernels, without isolating or reproducing them.


What causes ncu’s high profiling overheads

The overheads of using ncu on a large code base like vLLM directly comes from 3 sources:

  1. The sheer number of kernels profiled.
  2. The number of execution replay passes that are run per kernel
  3. Cost of each replay

This post will go over how we can use various flags that ncu exposes to reduce each of these costs.m

What is execution replay

When ncu is profiling a workload it creates sub-group…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help