summaryrefslogtreecommitdiffstats
path: root/perform/pio_perf.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-12-18 20:12:21 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-12-18 20:12:21 (GMT)
commitd1d532069bd98ad37afb130fc9fba76be92d098b (patch)
treee14f5ea53679b8e36c6c0a992fbfe819c6cc0772 /perform/pio_perf.h
parent2b629eaceb37a14a9e33dafa6a2a50765fd7d629 (diff)
downloadhdf5-d1d532069bd98ad37afb130fc9fba76be92d098b.zip
hdf5-d1d532069bd98ad37afb130fc9fba76be92d098b.tar.gz
hdf5-d1d532069bd98ad37afb130fc9fba76be92d098b.tar.bz2
[svn-r4733]
Purpose: Feature Changes Description: Okay, I needed to add in more parameters so that the user can modify how things are supposed to work with the PIO programs. Also needed to change the algorithm a bit to make these work. And needed to add in timing for the READ option. Solution: Added the above things. The parameters took a major rewrite of the command-line parsing stuff. Here's the usage statement: usage: pio_perf [OPTIONS] OPTIONS -h, --help Print a usage message and exit -d N, --num-dsets=N Number of datasets per file [default:1] -f S, --file-size=S Size of a single file [default: 64M] -F N, --num-files=N Number of files [default: 1] -H, --hdf5 Run HDF5 performance test -i, --num-iterations Number of iterations to perform [default: 1] -m, --mpiio Run MPI/IO performance test -o F, --output=F Output raw data into file F [default: none] -P N, --max-num-processes=N Maximum number of processes to use [default: 1] -p N, --min-num-processes=N Minimum number of processes to use [default: 1] -r, --raw Run raw (UNIX) performance test -X S, --max-xfer-size=S Maximum transfer buffer size [default: 1M] -x S, --min-xfer-size=S Minimum transfer buffer size [default: 1K] F - is a filename. N - is an integer >=0. S - is a size specifier, an integer >=0 followed by a size indicator: K - Kilobyte M - Megabyte G - Gigabyte Example: 37M = 37 Megabytes Platforms tested: Linux, but not fully finished...
Diffstat (limited to 'perform/pio_perf.h')
-rw-r--r--perform/pio_perf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/perform/pio_perf.h b/perform/pio_perf.h
index fb25f62..d954591 100644
--- a/perform/pio_perf.h
+++ b/perform/pio_perf.h
@@ -17,12 +17,12 @@ typedef enum iotype_ {
} iotype;
typedef struct parameters_ {
- int max_num_procs; /* Maximum number of processes to use */
- iotype io_type; /* The type of IO test to perform */
- int num_files; /* Number of files to create */
- long num_dsets; /* Number of datasets to create */
- long num_elmts; /* Number of native ints in each dset */
- int num_iters; /* Number of times to loop doing the IO */
+ iotype io_type; /* The type of IO test to perform */
+ int num_procs; /* Maximum number of processes to use */
+ int num_files; /* Number of files to create */
+ long num_dsets; /* Number of datasets to create */
+ long num_elmts; /* Number of native ints in each dset */
+ int num_iters; /* Number of times to loop doing the IO */
long buf_size; /* Buffer size */
} parameters;