Document the ioengine=net pingpong= option
authorJens Axboe <axboe@kernel.dk>
Thu, 6 Dec 2012 19:53:57 +0000 (20:53 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Dec 2012 19:53:57 +0000 (20:53 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
HOWTO
fio.1

diff --git a/HOWTO b/HOWTO
index 6d541afb412632fdc290b6d5d0b6453b5601be99..b349620107f2dc9935ad07b5cdfda6e0dffc2f73 100644 (file)
--- a/HOWTO
+++ b/HOWTO
@@ -1399,6 +1399,15 @@ that defines them is selected.
 [net] listen   For TCP network connections, tell fio to listen for incoming
                connections rather than initiating an outgoing connection. The
                hostname must be omitted if this option is used.
+[net] pingpong Normal a network writer will just continue writing data, and
+               a network reader will just consume packages. If pingpong=1
+               is set, a writer will send its normal payload to the reader,
+               then wait for the reader to send the same payload back. This
+               allows fio to measure network latencies. The submission
+               and completion latencies then measure local time spent
+               sending or receiving, and the completion latency measures
+               how long it took for the other end to receive and send back.
+
 [e4defrag] donorname=str
                File will be used as a block donor(swap extents between files)
 [e4defrag] inplace=int
diff --git a/fio.1 b/fio.1
index 26a4650432132345959bbaa09006015abfff6925..b7abc4b6f97f639e024b470b721598084ed2447b 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -1162,6 +1162,15 @@ For TCP network connections, tell fio to listen for incoming
 connections rather than initiating an outgoing connection. The
 hostname must be omitted if this option is used.
 .TP
+.BI (net, pingpong) \fR=\fPbool
+Normal a network writer will just continue writing data, and a network reader
+will just consume packages. If pingpong=1 is set, a writer will send its normal
+payload to the reader, then wait for the reader to send the same payload back.
+This allows fio to measure network latencies. The submission and completion
+latencies then measure local time spent sending or receiving, and the
+completion latency measures how long it took for the other end to receive and
+send back.
+.TP
 .BI (e4defrag,donorname) \fR=\fPstr
 File will be used as a block donor (swap extents between files)
 .TP