bw_mmap_rd.8 959 B

123456789101112131415161718192021222324252627282930313233
  1. .\" $Id$
  2. .TH BW_MMAP_RD 8 "$Date$" "(c)1994 Larry McVoy" "LMBENCH"
  3. .SH NAME
  4. bw_mmap_rd \- time the reading and summing of a file
  5. .SH SYNOPSIS
  6. .B bw_mmap_rd
  7. .I size
  8. .I file
  9. .SH DESCRIPTION
  10. .B bw_mmap_rd
  11. creates a memory mapping to the file and then reads the mapping in an unrolled
  12. loop similar to that used in bw_mem_rd(8).
  13. The benchmark is intended to be used on a file
  14. that is in memory, i.e., the benchmark is a reread benchmark. Other
  15. file benchmarking can be done with
  16. .BR lmdd (8).
  17. .PP
  18. The size
  19. specification may end with ``k'' or ``m'' to mean
  20. kilobytes (* 1024) or megabytes (* 1024 * 1024).
  21. .SH OUTPUT
  22. Output format is \f(CB"%0.2f %.2f\\n", megabytes, megabytes_per_second\fP, i.e.,
  23. .sp
  24. .ft CB
  25. 8.00 25.33
  26. .ft
  27. .SH MEMORY UTILIZATION
  28. This benchmark should move approximately the reported amount of memory.
  29. .SH ACKNOWLEDGEMENT
  30. Funding for the development of
  31. this tool was provided by Sun Microsystems Computer Corporation.
  32. .SH "SEE ALSO"
  33. lmbench(8).