From 7aeb1e94fe89937887df47bed6b59b5ea1c6342a Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 6 Dec 2012 20:53:57 +0100 Subject: [PATCH] Document the ioengine=net pingpong= option Signed-off-by: Jens Axboe --- HOWTO | 9 +++++++++ fio.1 | 9 +++++++++ 2 files changed, 18 insertions(+) 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 -- 2.25.1