Skip to main content

bw_mem

Memory bandwidth

Memory bandwidth (bw_mem)​

bw_membw_memThe memory bandwidth tool of LMbench. It moves data through a buffer of a given size in one of several modes, such as rd (read and sum an array), wr (write a constant to each element), rdwr (read, then write the same location), and the copy modes cp, fcp, and bcopy. It reports the buffer size in MB and the bandwidth in MB/s; with -P, it runs several processes, each with its own buffer, and reports their total bandwidth.`bw_mem` manualGlossary allocates twice the specified amount of memory, zeros it, and then times the copying of the first half to the second half. Results are reported in megabytes moved per second (MB/sec). bw_mem is provided by lmbench. For more details, see the man pages.

Benchmark details

Benchmark ID
bw_mem
Unit of measurement
Megabytes per second (MB/sec)
Server types evaluated
3,654
Total measurements
120,494
Range of measurements
100.4 – 39.6M MB/sec
Better
↑ Higher is better

Configuration options

FieldDescriptionExample values
sizeAmount of memory to be used in MB0.016384 0.262144 1 2 4 8 16 32 64 256 512
operationThe type of measurement: 'rd' measures the time to read data into the processor, 'wr' measures the time to write data to memory, and 'rdwr' measures the time to read data into memory and then write data to the same memory location.rd rdwr wr

Score distribution (120,494 measurements)

Score distribution of Memory bandwidth (bw_mem)