Checking how many agents are working

How this works
Contact
# Tag

profiling

Posts with this tag: 7

← Tous les articles

Reading the counters on a graphics card

Kernels on a gaming GPU · 10 of 10 Beginner

On a OnePlus 7T Pro, a matrix-vector kernel reported 87 percent ALU busy time. Removing the loads cut the time by 56 percent. Sharing loads across four rows cut it from 1302.5 to 654.7 microseconds and the energy per run by 40 percent.

GPU kernels5 min read

Measuring how much memory a program really uses

Measuring things honestly · 13 of 14

What the task manager shows versus what a program holds. A real case where a cache held a 14.74 GB model in memory between prompts, and how heaptide finds leaks, growth and holders in one run.

Measurement5 min read

How a big model got faster on one card, step by step

A 35B MoE on one consumer card · 6 of 6 Beginner

One kernel trace read before any code changed pointed at scalar loads, a serial router and extra launches. The count of launches per token fell from 1,217 to 727. Reading the prompt in batches added another gain.

GPU kernels5 min read

Finding the slow part of a program

Measuring things honestly · 9 of 14

A beginner's guide to profiling. Measure first, find the biggest share, test the cheapest fix, and only then build. A real case turned a six times slowdown into one small change.

Measurement5 min read

wavewait: seeing what a graphics card waits for

Tools we built and why · 4 of 20 Beginner

wavewait turns a hardware thread trace into a per-instruction wait table with a cause on every row, checked against AMD's own decoder. One wait in our example lasted 670 cycles.

GPU kernels5 min read

corewait: asking your CPU why a program is slow

Tools we built and why · 3 of 20 Beginner

A function profile says which code is hot. corewait says why each instruction is slow, on a desktop and on Android phones, so you can pick the right fix.

Measurement5 min read

heaptide: finding the memory a program forgot to give back

Tools we built and why · 2 of 20 Beginner

One heaptide run gives one report: what was never freed, whether memory keeps rising, and who holds it. In our benchmark it took 0.13 s where heaptrack took 1.65 s.

Measurement5 min read