Memory bandwidth is the rate at which data crosses a specified computer memory interface, commonly measured in bytes per second. If bytes are transferred in time , the measured average is . The interface and counting convention matter: an application-level count can differ from physical traffic caused by memory caches.
A streaming array operation reading two eight-byte values and writing one per element transfers at least 24 useful bytes per element. At a sustained bytes per second, that traffic alone limits throughput to elements per second. Memory access latency instead measures how long one access takes. Overlapping many accesses can achieve high memory bandwidth despite substantial memory access latency. STREAM measures sustained memory bandwidth with simple array kernels and working sets larger than the available memory cache.[ref]
STREAM Benchmark Reference Information by John D. McCalpin. What is STREAM?, Run Rules and byte-count table
STREAM is a benchmark for sustained memory bandwidth using simple operations on large arrays. Its Copy, Scale, Add and Triad kernels exercise different combinations of reads, writes and arithmetic. Working sets must exceed the available memory cache sufficiently to characterize transfers beyond it, rather than merely repeated access to cached values.[ref]
STREAM Benchmark Reference Information by John D. McCalpin. What is STREAM?, Run Rules and Counting Bytes and FLOPS
For eight-byte elements, Triad computes
a[i]=b[i]+s*c[i]: two loads and one store give 24 requested bytes and two floating-point operations per element. Ten million elements therefore account for 240 million requested bytes. An elapsed time of 0.01 seconds would give bytes per second under that counting convention. This is a stipulated calculation, not a measured machine result. Physical bus traffic can differ because of cache behavior, so a bandwidth report must state its convention and test configuration. Articles by others on the same topic
There are currently no matching articles.