Command-Line Control for IMB-P2P Benchmarks

You can control all aspects of IMB-P2P benchmarks using the command line.

-iter <max | max,numerator> Option

Defines the number of iterations per sample by the following rule:

Number of iterations = (numerator * 1024 * 1024) / size
Number of iterations <= max
Number of iterations >= 1

The default value is -iter 100000,800.

-msglen <filename> Option

The option takes a file name as an argument. The file must be in the ASCII encoding and contain a set of message lengths (one per line). The allowed message length suffixes are K, M, G that stand for Kilobytes, Megabytes, and Gigabytes, respectively.

By default, the file name is not defined.

The default value is <not defined>.

-msglog <n> Option

Defines a set of message lengths from 0 to n:

{0, 1, 2, 4, ..., 2^(n-1), 2^n}

By default, the set is not defined.

-msglog <k:n> Option

Defines a set of message lengths:

{2^k, 2^(k+1), ..., 2^(n-1), 2^n}

By default, the set is not defined.

-msgsz <size> Option

The option takes a message size in bytes as an argument. The allowed message size suffixes are K, M, G that stand for Kilobytes, Megabytes, and Gigabytes, respectively.

For example:

-msgsz 4097 
-msgsz 5k
-msgsz 2m

By default, the size is not defined.

-msgwr {false|true|0|1|off|on|disable|enable|no|yes} Option

Controls writing of cache lines to the egress buffer before sending a message.

The default value is true.

-msgrd {false|true|0|1|off|on|disable|enable|no|yes} Option

Controls reading of cache lines from the ingress buffer after receiving a message.

The default value is true.

-pause <microseconds> Option

The option takes a microsecond time interval between runs as an argument.

The default value is -pause 100000.