Inferensys

Glossary

Compute Throughput

Compute throughput is the rate at which a processor, such as an NPU or GPU, completes computational operations, measured in operations per second (e.g., FLOPS, TOPS).
Enterprise console with connected nodes and monitoring panels for orchestrated systems.
PERFORMANCE METRIC

What is Compute Throughput?

Compute throughput is the primary measure of a processor's raw computational power, quantifying how many operations it can complete per unit of time.

Compute throughput is the rate at which a processor, such as a Neural Processing Unit (NPU) or GPU, completes computational operations, typically measured in operations per second (e.g., FLOPS, TOPS). It represents the peak theoretical capacity of the hardware's arithmetic logic units (ALUs) when fully utilized, distinct from real-world application performance which is often constrained by other factors like memory bandwidth. In performance profiling, achieving high compute throughput indicates a workload is compute-bound, meaning its execution time is limited by the speed of the ALUs rather than data movement.

Maximizing compute throughput on an NPU requires hardware-aware optimizations such as kernel fusion to reduce overhead, efficient parallelism and scheduling to keep all cores busy, and mixed-precision computation (e.g., FP16, INT8) to leverage specialized high-throughput units. Performance engineers use auto-tuning to search configuration spaces for parameters like workgroup size and vectorization factor that saturate the hardware. The goal is to approach the chip's peak theoretical throughput, a key objective within the broader pillar of Neural Processing Unit Acceleration.

COMPUTE THROUGHPUT

Key Measurements and Units

Compute throughput quantifies the raw processing power of a Neural Processing Unit (NPU). It is the primary metric for evaluating the peak and sustained performance of hardware accelerators on artificial intelligence workloads.

01

FLOPS & TOPS

Floating-Point Operations Per Second (FLOPS) and Trillions of Operations Per Second (TOPS) are the standard units for measuring compute throughput. FLOPS is precise, counting the number of 32-bit (FP32) or 16-bit (FP16) floating-point calculations completed each second. TOPS is a more generalized unit, often used for integer operations (e.g., INT8) common in inference. A key distinction is between peak theoretical throughput (hardware limit under ideal conditions) and achieved throughput (actual performance on a real workload, often lower due to memory bottlenecks).

02

Memory Bandwidth

Throughput is often limited not by compute but by the speed of data movement. Memory Bandwidth, measured in GB/s (Gigabytes per second), is the maximum rate data can be transferred between the NPU's compute cores and its memory hierarchy (e.g., HBM, SRAM). A workload is memory-bound if the compute units are idle waiting for data. The Arithmetic Intensity (FLOPs per byte) of a kernel determines if it is compute-bound or memory-bound. High-bandwidth memory (HBM) is critical for achieving high sustained TOPS.

03

Utilization Metrics

These metrics measure how effectively the hardware's theoretical throughput is being used.

  • SM/TPU Utilization: Percentage of time the NPU's streaming multiprocessors or tensor cores are actively executing instructions.
  • Occupancy: The ratio of active warps/wavefronts to the maximum supported on a compute unit. High occupancy helps hide memory latency.
  • Cache Hit Rate: The percentage of memory requests served from fast cache (L1, L2) versus slow global memory. High rates reduce effective memory latency and improve throughput.
04

Throughput vs. Latency

Throughput (operations/second) and Latency (seconds/operation) are inversely related but distinct. High throughput processes many operations in parallel (e.g., batch inference), while low latency minimizes the time for a single operation (e.g., real-time response). Optimizations differ:

  • Throughput: Maximize batch size, use kernel fusion, enable concurrent kernel execution.
  • Latency: Minimize data dependencies, optimize critical path, use smaller efficient models. System design must balance these based on the application's Service Level Objective (SLO).
05

Real-World Benchmarks

Vendor peak TOPS are rarely achieved. Industry benchmarks measure sustained throughput on representative workloads:

  • MLPerf Inference: Standardized suite measuring latency and throughput for models like ResNet-50 and BERT across different scenarios (Offline, Server, Single-Stream, Multi-Stream).
  • Throughput is reported as samples/second or queries/second.
  • Performance/Watt (samples/Joule) is a critical derived metric for edge deployment, combining throughput with power efficiency.
06

Bottleneck Analysis

Identifying the limiting factor is essential for optimization. Profiling tools measure:

  • Compute-Bound: High ALU utilization but low memory traffic. Solution: Increase arithmetic intensity, use lower precision (FP16/INT8).
  • Memory-Bound: High memory traffic, low ALU utilization. Solution: Improve data locality (tiling), increase cache hit rate, fuse kernels to reduce intermediate data writes.
  • Latency-Bound: Stalls due to pipeline dependencies or branch divergence. Solution: Restructure algorithms, increase occupancy to hide latency. Tools like kernel profilers and performance counters provide the data for this analysis.
COMPUTE THROUGHPUT

What Determines Actual Throughput?

Actual throughput is the realized rate of computation, which is often lower than the theoretical peak due to hardware and software inefficiencies.

Actual compute throughput is the realized rate of computational operations, measured in operations per second (e.g., FLOPS, TOPS), and is determined by the interplay of hardware capabilities and software optimization. It is constrained by the most limiting factor, or bottleneck, in the execution pipeline, which can be compute-bound (limited by ALU speed), memory-bound (limited by bandwidth or latency), or limited by parallelism and scheduling inefficiencies.

Key determinants include memory bandwidth for data movement, cache hit rates, efficient kernel fusion, and optimal workgroup size to maximize occupancy. Auto-tuning of parameters like tile size and vectorization factor is critical to approach peak hardware performance. Resource contention and pipeline stalls from poor memory coalescing or thread divergence further reduce actual throughput below theoretical maximums.

PERFORMANCE METRICS

Compute Throughput vs. Latency

A comparison of two fundamental performance metrics for NPUs and other accelerators, highlighting their definitions, measurement units, optimization goals, and typical bottlenecks.

Feature / AspectCompute ThroughputLatency

Primary Definition

The rate of computational work completed per unit time.

The time delay between the start and completion of a single task.

Common Unit of Measure

Operations per second (e.g., FLOPS, TOPS).

Time (e.g., milliseconds, microseconds).

Optimization Goal

Maximize operations/sec. Focus on aggregate workload completion.

Minimize time-to-result. Focus on individual task responsiveness.

Typical Bottleneck

Memory bandwidth, ALU utilization, kernel launch overhead.

Memory access latency, pipeline stalls, serial dependencies.

Measurement Context

Measured over sustained periods with large, batched workloads.

Measured for a single, often small, operation or inference request.

Primary Impact

Overall system capacity and cost-per-inference at scale.

End-user perceived responsiveness and real-time system capability.

Optimization Trade-off

Increasing batch size often improves throughput but can increase latency.

Reducing batch size to minimize latency often reduces peak throughput.

Profiling Tool Focus

Kernel profilers, performance counters for ALU and memory throughput.

Execution traces, fine-grained timers, cache hit/miss analysis.

COMPUTE THROUGHPUT

Frequently Asked Questions

Compute throughput is the fundamental metric for evaluating the raw processing power of hardware accelerators like Neural Processing Units (NPUs). These questions address its measurement, optimization, and relationship to other performance concepts.

Compute throughput is the rate at which a processor completes computational operations, typically measured in operations per second. For NPUs and AI accelerators, the standard units are:

  • FLOPS (Floating-Point Operations Per Second): Measures performance on floating-point calculations (e.g., FP32, FP16, BF16).
  • TOPS (Tera Operations Per Second): Often used for integer operations, common in quantized inference (e.g., INT8).

Peak theoretical throughput is calculated as: (Number of Cores) × (Operations per Cycle per Core) × (Clock Frequency). However, real-world effective throughput is lower due to factors like memory bottlenecks, pipeline stalls, and inefficient kernel scheduling. Profiling tools measure actual throughput using hardware performance counters that track executed instructions.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.