Please tell the estimated bandwidth and latency of the shared memory and global memory…
- User
Please tell the estimated bandwidth and latency of the shared memory and global memory in the A100 GPU card.
- Assistant
Please tell the estimated bandwidth and latency of the shared memory and global memory in the A100 GPU card.
The NVIDIA A100 GPU is part of the Ampere architecture and offers significant advancements in memory performance compared to its predecessors. Below are the estimated bandwidths and latencies for both the shared memory and global memory in the A100 GPU:
Bandwidth:
Explanation: The A100 GPUs utilize High Bandwidth Memory (HBM2 for the 40GB variant and HBM2e for the 80GB variant). The increased bandwidth in the 80GB model is due to both the larger memory capacity and enhancements in the HBM2e technology.
Latency:
Explanation: Global memory latency is the time it takes for data to travel from the HBM to the Streaming Multiprocessors (SMs). It typically ranges between 400 to 800 clock cycles. Given that the GPU clock speeds are around 1 GHz, each clock cycle is about 1 nanosecond, resulting in a latency estimate in the aforementioned range.
Bandwidth:
Explanation: Shared memory is a fast, on-chip memory that is shared among threads within a thread block on an SM. While exact bandwidth numbers are not publicly specified by NVIDIA, shared memory bandwidth is significantly higher than that of global memory due to its on-chip nature and proximity to the compute units. Estimates suggest that it can reach up to tens of terabytes per second per SM.
Latency:
Explanation: Shared memory has much lower latency compared to global memory because it is located on-chip within each SM. Access latency is typically around 20 to 30 clock cycles. With clock cycles at about 1 nanosecond, this results in a latency of 20 to 30 nanoseconds.
| Memory Type | Bandwidth | Latency |
|---|---|---|
| Global Memory (HBM2/HBM2e) | - 40GB Model: ~1.6 TB/s- 80GB Model: ~2.0 TB/s | ~500 to 800 nanoseconds |
| Shared Memory (Per SM) | Up to ~20 TB/s | ~20 to 30 nanoseconds |
Note: The exact values can vary based on specific workloads, memory access patterns, and other architectural factors. The provided estimates are based on available information up to October 2023 and are intended for general guidance.
Not yet included in a published release.