[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250905153243.6c03e257@kernel.org>
Date: Fri, 5 Sep 2025 15:32:43 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Carolina Jubran <cjubran@...dia.com>
Cc: Shuah Khan <shuah@...nel.org>, Andrew Lunn <andrew+netdev@...n.ch>,
"David S . Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Gal Pressman
<gal@...dia.com>, Tariq Toukan <tariqt@...dia.com>, "Cosmin Ratiu"
<cratiu@...dia.com>, Nimrod Oren <noren@...dia.com>, Mark Bloch
<mbloch@...dia.com>, <linux-kernel@...r.kernel.org>,
<linux-kselftest@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: Re: [PATCH 3/3] selftests: drv-net: Relax total BW check in
devlink_rate_tc_bw.py
On Tue, 2 Sep 2025 16:21:01 -0700 Jakub Kicinski wrote:
> On Sun, 31 Aug 2025 11:06:41 +0300 Carolina Jubran wrote:
> > Because the measured total is the sum of two iperf3 streams that do not
> > always start or stop at the same time
>
> That's solvable, tho? iperf3 has --json support, it will give you
> the b/w readings in the configured intervals (1sec by default).
> With the interval based samples at hand you should be able to select
> only the period in which b/w is stable ("middle" of the test).
>
> While at it it may make sense to switch to lib/py/load.py wrappers
> rather than threading the python locally in the test.
Hi Carolina! I think you replied to me but the reply never reached
the list, I purged it from my inbox before realizing.
I think you said that the direction of the flows is wrong for load.py.
Perhaps adding a reverse= attr which will translate the --reverse in
the client process would do?
Powered by blists - more mailing lists