From 2fc978389df94658738718294f36ae0a9e4e8bb8 Mon Sep 17 00:00:00 2001 From: wanghailiangx Date: Wed, 22 Dec 2021 09:56:54 -0500 Subject: [PATCH] doc/nvmf_tracing: replace ./perf -s with ./perf -o This -o parameter is required. I think -s 4096 is a very old version. Now the definition is different. Change-Id: I0e12fae51a2f092d0896c95e0c128754b430354e Signed-off-by: wanghailiangx Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10820 Reviewed-by: Changpeng Liu Reviewed-by: Tomasz Zawadzki Tested-by: SPDK CI Jenkins Community-CI: Broadcom CI --- doc/nvmf_tracing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/nvmf_tracing.md b/doc/nvmf_tracing.md index a7994fea9..796f560c1 100644 --- a/doc/nvmf_tracing.md +++ b/doc/nvmf_tracing.md @@ -50,7 +50,7 @@ an example usage of perf to send I/Os to the NVMe-oF target over an RDMA network interface for 10 minutes. ~~~bash -./perf -q 128 -s 4096 -w randread -t 600 -r 'trtype:RDMA adrfam:IPv4 traddr:192.168.100.2 trsvcid:4420' +./perf -q 128 -o 4096 -w randread -t 600 -r 'trtype:RDMA adrfam:IPv4 traddr:192.168.100.2 trsvcid:4420' ~~~ The spdk_trace program can be found in the app/trace directory. To analyze the tracepoints on the same @@ -142,7 +142,7 @@ build/bin/spdk_trace_record -q -s nvmf -p 24147 -f /tmp/spdk_nvmf_record.trace Also send I/Os to the SPDK target application to generate events by previous perf example for 10 minutes. ~~~bash -./perf -q 128 -s 4096 -w randread -t 600 -r 'trtype:RDMA adrfam:IPv4 traddr:192.168.100.2 trsvcid:4420' +./perf -q 128 -o 4096 -w randread -t 600 -r 'trtype:RDMA adrfam:IPv4 traddr:192.168.100.2 trsvcid:4420' ~~~ After the completion of perf example, shut down spdk_trace_record by signal SIGINT (Ctrl + C).