diff options
author | Andras HORVATH <andras.horvath@gmail.com> | 2012-03-06 23:14:24 +0100 |
---|---|---|
committer | Andras HORVATH <andras.horvath@gmail.com> | 2012-03-06 23:14:24 +0100 |
commit | e614955e981ea9f64deff7b44046b578c6b20e9b (patch) | |
tree | c794f72fb292461aad0188e127708398705acd44 /mbw.1 |
git import
Diffstat (limited to 'mbw.1')
-rw-r--r-- | mbw.1 | 55 |
1 files changed, 55 insertions, 0 deletions
@@ -0,0 +1,55 @@ +.TH mbw 1 "Apr 26, 2006" "memory bandwidth benchmark" + +.SH NAME +mbw \- Memory BandWidth benchmark + +.SH SYNOPSIS +.B mbw +.RI [options]\ arraysize_in_MiB +.br + +.SH DESCRIPTION +.B mbw +determines available memory bandwidth by copying large arrays of data in memory. + +.SH OPTIONS +.B +.IP -q +Quiet; suppress informational messages. +.B +.IP -a +Suppress printing the average of each test. +.B +.IP "\-n <number>" +Select number of loops per test +.B +.IP "\-t <number>" +Select tests to be run. If no -t parameters are given the default is to run all tests. -t0: memcpy() test, -t1: dumb (b[i]=a[i] style) test, -t2: memcpy() with arbitrary block size +.B +.IP "\-b <bytes>" +Block size in bytes for -t2. +.B +.IP -h +Show quick help. + +.SH USAGE +.B mbw +will allocate two +.B arraysize +arrays in memory and copy one to the other. +Reported 'bandwidth' is the amount of data copied over the time this operation took. + +Obviously +.B mbw +needs twice +.B arraysize +MiBytes (1024*1024 bytes) of physical memory \- you'd better switch off swap or +otherwise make sure no paging occurs. Needless to say that it should not be run +on a busy system. + +.SH TODO +Multiple thread support. +Better configurability, including using getopt() for parsing arguments. + +.SH AUTHOR +Andras.Horvath@cern.ch |