* [dts][PATCH V1] tests/virtio_pvp_regression: modify pktgen traffic options parameter
@ 2023-03-29 1:48 Wei Ling
2023-04-11 8:57 ` lijuan.tu
0 siblings, 1 reply; 2+ messages in thread
From: Wei Ling @ 2023-03-29 1:48 UTC (permalink / raw)
To: dts; +Cc: Wei Ling
Modify pktgen traffice options parameter `trans_options = {"delay": 5, "duration": 30}`
to get stable throughput value.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
tests/TestSuite_virtio_pvp_regression.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_virtio_pvp_regression.py b/tests/TestSuite_virtio_pvp_regression.py
index 8151fde9..a2db5f87 100644
--- a/tests/TestSuite_virtio_pvp_regression.py
+++ b/tests/TestSuite_virtio_pvp_regression.py
@@ -391,7 +391,7 @@ class TestVirtioPVPRegression(TestCase):
tgenInput, 100, fields_config, self.tester.pktgen
)
# set traffic option
- traffic_opt = {"delay": 5, "duration": 20}
+ traffic_opt = {"delay": 5, "duration": 30}
_, pps = self.tester.pktgen.measure_throughput(
stream_ids=streams, options=traffic_opt
)
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-11 8:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-29 1:48 [dts][PATCH V1] tests/virtio_pvp_regression: modify pktgen traffic options parameter Wei Ling
2023-04-11 8:57 ` lijuan.tu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).