BW_MEM_RD(8) | LMBENCH | BW_MEM_RD(8) |
bw_mem_rd - time memory read rate (with overhead)
bw_mem_rd size
bw_mem_rd allocates the specified amount of memory, zeros it, and then times the reading of that memory as a series of integer loads and adds. Each four byte integer is loaded and added to accumulator.
The size specification may end with ``k'' or ``m'' to mean kilobytes (* 1024) or megabytes (* 1024 * 1024).
Output format is "%0.2f %.2f\n", megabytes, megabytes_per_second, i.e.,
8.00 25.33
This benchmark should move approximately the reported amount of memory.
Funding for the development of this tool was provided by Sun Microsystems Computer Corporation.
lmbench(8).
$Date$ | (c)1994 Larry McVoy |