From: Jens Axboe Date: Thu, 6 Dec 2012 19:53:57 +0000 (+0100) Subject: Document the ioengine=net pingpong= option X-Git-Tag: fio-2.0.12~20 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7aeb1e94fe89937887df47bed6b59b5ea1c6342a;p=fio.git Document the ioengine=net pingpong= option Signed-off-by: Jens Axboe --- diff --git a/HOWTO b/HOWTO index 6d541afb..b3496201 100644 --- 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 26a46504..b7abc4b6 100644 --- 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