Closed changchengx closed 1 year ago
Follow below steps to build perftest with this PR
git clone https://github.com/linux-rdma/perftest.git
cd perftest
wget https://github.com/linux-rdma/perftest/pull/224.diff
git apply 224.diff
./autogen.sh
mkdir install
./configure --prefix=$PWD/install
make
make install
Follow below steps to run ib_write_lat
with this PR
taskset -c 2 ./install/bin/ib_write_lat -F -s 2 --tclass=106 --ib-dev=mlx5_bond_0 -x 3 -D 60
Note: add FLOW_LABEL=xxx
before taskset
to run the command if it needs to specify flow_label value.
taskset -c 2 ./install/bin/ib_write_lat -F -s 2 --tclass=106 --ib-dev=mlx5_bond_0 -x 3 -D 60 ${server_ip}
Note: add FLOW_LABEL=xxx
before taskset
to run the command if it needs to specify flow_label value.
@HassanKhadour Please help review this PR when you're avaiable.
Hi @changchengx , thanks for your contribution! Is there any reason why not to add the flow_label as perftest param? also please update the man page and the commit message to include the data in https://github.com/linux-rdma/perftest/pull/224#issue-1853239069
@HassanKhadour Do you prefer to add flow_label
as perftest param instead of using environment variable to set flow_label
?
@changchengx yes it would be the preferred option
@changchengx yes it would be the preferred option
@HassanKhadour Feedback to you later.
@changchengx yes it would be the preferred option
@HassanKhadour Feedback to you later.
@HassanKhadour Done
@changchengx yes it would be the preferred option
@HassanKhadour Feedback to you later.
@HassanKhadour Done
Thanks!, just a small fix, and please add data to the commit message as you did in https://github.com/linux-rdma/perftest/pull/224#issue-1853239069
@HassanKhadour
return FAILURE
@changchengx Thanks for your contribution! merged
--flow_label=<value>
to be set by user to affect the udp sport calculation.--flow_label=<value>
to set the grhflow_label
value, it can be used to afftect the udp sport to 1) use same tx port for traffic 2) walk through same traffic path between different round of test when the cards are connected with using switches.