public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH] test: Update the threshold value for some perf tests
@ 2025-10-11  3:37 Yumei Huang
  2025-10-12 23:26 ` David Gibson
  0 siblings, 1 reply; 3+ messages in thread
From: Yumei Huang @ 2025-10-11  3:37 UTC (permalink / raw)
  To: passt-dev, sbrivio; +Cc: david, yuhuang

Link: https://bugs.passt.top/show_bug.cgi?id=156
Signed-off-by: Yumei Huang <yuhuang@redhat.com>
---
 test/perf/passt_tcp | 6 +++---
 test/perf/pasta_udp | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp
index 5978c49..1a97a63 100644
--- a/test/perf/passt_tcp
+++ b/test/perf/passt_tcp
@@ -87,7 +87,7 @@ lat	-
 lat	-
 nsb	tcp_crr --nolog -6
 gout	LAT tcp_crr --nolog -l1 -6 -c -H __MAP_NS6__ | sed -n 's/^throughput=\(.*\)/\1/p'
-lat	__LAT__ 500 400
+lat	__LAT__ 550 450
 
 tr	TCP throughput over IPv4: guest to host
 iperf3s	ns 10002
@@ -137,7 +137,7 @@ lat	-
 lat	-
 nsb	tcp_crr --nolog -4
 gout	LAT tcp_crr --nolog -l1 -4 -c -H __MAP_NS4__ | sed -n 's/^throughput=\(.*\)/\1/p'
-lat	__LAT__ 500 400
+lat	__LAT__ 550 450
 
 tr	TCP throughput over IPv6: host to guest
 iperf3s	guest 10001
@@ -208,6 +208,6 @@ lat	-
 guestb	tcp_crr --nolog -P 10001 -C 10011 -4
 sleep	1
 nsout	LAT tcp_crr --nolog -l1 -P 10001 -C 10011 -4 -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
-lat	__LAT__ 500 300
+lat	__LAT__ 500 350
 
 te
diff --git a/test/perf/pasta_udp b/test/perf/pasta_udp
index 3a7054c..c51bb6c 100644
--- a/test/perf/pasta_udp
+++ b/test/perf/pasta_udp
@@ -39,7 +39,7 @@ iperf3s	host 10003
 # (datagram size) = (packet size) - 48: 40 bytes of IPv6 header, 8 of UDP header
 
 iperf3	BW ns ::1 10003 __TIME__ __OPTS__ -b 5G -l 1452
-bw	__BW__ 1.0 1.5
+bw	__BW__ 0.8 1.2
 iperf3	BW ns ::1 10003 __TIME__ __OPTS__ -b 10G -l 3972
 bw	__BW__ 1.2 1.8
 iperf3	BW ns ::1 10003 __TIME__ __OPTS__ -b 30G -l 16336
@@ -64,7 +64,7 @@ iperf3s	host 10003
 # (datagram size) = (packet size) - 28: 20 bytes of IPv4 header, 8 of UDP header
 
 iperf3	BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 5G -l 1372
-bw	__BW__ 1.0 1.5
+bw	__BW__ 0.8 1.2
 iperf3	BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 10G -l 3972
 bw	__BW__ 1.2 1.8
 iperf3	BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 30G -l 16356
@@ -88,7 +88,7 @@ tr	UDP throughput over IPv6: host to ns
 iperf3s	ns 10002
 
 iperf3	BW host ::1 10002 __TIME__ __OPTS__ -b 5G -l 1452
-bw	__BW__ 1.0 1.5
+bw	__BW__ 0.8 1.2
 iperf3	BW host ::1 10002 __TIME__ __OPTS__ -b 10G -l 3972
 bw	__BW__ 1.2 1.8
 iperf3	BW host ::1 10002 __TIME__ __OPTS__ -b 30G -l 16336
@@ -111,7 +111,7 @@ lat	__LAT__ 200 150
 tr	UDP throughput over IPv4: host to ns
 iperf3s	ns 10002
 iperf3	BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 5G -l 1372
-bw	__BW__ 1.0 1.5
+bw	__BW__ 0.8 1.2
 iperf3	BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 10G -l 3972
 bw	__BW__ 1.2 1.8
 iperf3	BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 30G -l 16356
-- 
2.47.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] test: Update the threshold value for some perf tests
  2025-10-11  3:37 [PATCH] test: Update the threshold value for some perf tests Yumei Huang
@ 2025-10-12 23:26 ` David Gibson
  2025-10-13  2:21   ` Yumei Huang
  0 siblings, 1 reply; 3+ messages in thread
From: David Gibson @ 2025-10-12 23:26 UTC (permalink / raw)
  To: Yumei Huang; +Cc: passt-dev, sbrivio

[-- Attachment #1: Type: text/plain, Size: 3230 bytes --]

On Sat, Oct 11, 2025 at 11:37:24AM +0800, Yumei Huang wrote:
> Link: https://bugs.passt.top/show_bug.cgi?id=156
> Signed-off-by: Yumei Huang <yuhuang@redhat.com>

For context it would be useful to know the details of the hardware for
which you adjusted these numbers.

> ---
>  test/perf/passt_tcp | 6 +++---
>  test/perf/pasta_udp | 8 ++++----
>  2 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp
> index 5978c49..1a97a63 100644
> --- a/test/perf/passt_tcp
> +++ b/test/perf/passt_tcp
> @@ -87,7 +87,7 @@ lat	-
>  lat	-
>  nsb	tcp_crr --nolog -6
>  gout	LAT tcp_crr --nolog -l1 -6 -c -H __MAP_NS6__ | sed -n 's/^throughput=\(.*\)/\1/p'
> -lat	__LAT__ 500 400
> +lat	__LAT__ 550 450
>  
>  tr	TCP throughput over IPv4: guest to host
>  iperf3s	ns 10002
> @@ -137,7 +137,7 @@ lat	-
>  lat	-
>  nsb	tcp_crr --nolog -4
>  gout	LAT tcp_crr --nolog -l1 -4 -c -H __MAP_NS4__ | sed -n 's/^throughput=\(.*\)/\1/p'
> -lat	__LAT__ 500 400
> +lat	__LAT__ 550 450
>  
>  tr	TCP throughput over IPv6: host to guest
>  iperf3s	guest 10001
> @@ -208,6 +208,6 @@ lat	-
>  guestb	tcp_crr --nolog -P 10001 -C 10011 -4
>  sleep	1
>  nsout	LAT tcp_crr --nolog -l1 -P 10001 -C 10011 -4 -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
> -lat	__LAT__ 500 300
> +lat	__LAT__ 500 350
>  
>  te
> diff --git a/test/perf/pasta_udp b/test/perf/pasta_udp
> index 3a7054c..c51bb6c 100644
> --- a/test/perf/pasta_udp
> +++ b/test/perf/pasta_udp
> @@ -39,7 +39,7 @@ iperf3s	host 10003
>  # (datagram size) = (packet size) - 48: 40 bytes of IPv6 header, 8 of UDP header
>  
>  iperf3	BW ns ::1 10003 __TIME__ __OPTS__ -b 5G -l 1452
> -bw	__BW__ 1.0 1.5
> +bw	__BW__ 0.8 1.2
>  iperf3	BW ns ::1 10003 __TIME__ __OPTS__ -b 10G -l 3972
>  bw	__BW__ 1.2 1.8
>  iperf3	BW ns ::1 10003 __TIME__ __OPTS__ -b 30G -l 16336
> @@ -64,7 +64,7 @@ iperf3s	host 10003
>  # (datagram size) = (packet size) - 28: 20 bytes of IPv4 header, 8 of UDP header
>  
>  iperf3	BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 5G -l 1372
> -bw	__BW__ 1.0 1.5
> +bw	__BW__ 0.8 1.2
>  iperf3	BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 10G -l 3972
>  bw	__BW__ 1.2 1.8
>  iperf3	BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 30G -l 16356
> @@ -88,7 +88,7 @@ tr	UDP throughput over IPv6: host to ns
>  iperf3s	ns 10002
>  
>  iperf3	BW host ::1 10002 __TIME__ __OPTS__ -b 5G -l 1452
> -bw	__BW__ 1.0 1.5
> +bw	__BW__ 0.8 1.2
>  iperf3	BW host ::1 10002 __TIME__ __OPTS__ -b 10G -l 3972
>  bw	__BW__ 1.2 1.8
>  iperf3	BW host ::1 10002 __TIME__ __OPTS__ -b 30G -l 16336
> @@ -111,7 +111,7 @@ lat	__LAT__ 200 150
>  tr	UDP throughput over IPv4: host to ns
>  iperf3s	ns 10002
>  iperf3	BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 5G -l 1372
> -bw	__BW__ 1.0 1.5
> +bw	__BW__ 0.8 1.2
>  iperf3	BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 10G -l 3972
>  bw	__BW__ 1.2 1.8
>  iperf3	BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 30G -l 16356
> -- 
> 2.47.0
> 

-- 
David Gibson (he or they)	| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you, not the other way
				| around.
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] test: Update the threshold value for some perf tests
  2025-10-12 23:26 ` David Gibson
@ 2025-10-13  2:21   ` Yumei Huang
  0 siblings, 0 replies; 3+ messages in thread
From: Yumei Huang @ 2025-10-13  2:21 UTC (permalink / raw)
  To: David Gibson; +Cc: passt-dev, sbrivio

On Mon, Oct 13, 2025 at 7:42 AM David Gibson
<david@gibson.dropbear.id.au> wrote:
>
> On Sat, Oct 11, 2025 at 11:37:24AM +0800, Yumei Huang wrote:
> > Link: https://bugs.passt.top/show_bug.cgi?id=156
> > Signed-off-by: Yumei Huang <yuhuang@redhat.com>
>
> For context it would be useful to know the details of the hardware for
> which you adjusted these numbers.

Good point. Sent V2.

>
>
> > ---
> >  test/perf/passt_tcp | 6 +++---
> >  test/perf/pasta_udp | 8 ++++----
> >  2 files changed, 7 insertions(+), 7 deletions(-)
> >
> > diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp
> > index 5978c49..1a97a63 100644
> > --- a/test/perf/passt_tcp
> > +++ b/test/perf/passt_tcp
> > @@ -87,7 +87,7 @@ lat -
> >  lat  -
> >  nsb  tcp_crr --nolog -6
> >  gout LAT tcp_crr --nolog -l1 -6 -c -H __MAP_NS6__ | sed -n 's/^throughput=\(.*\)/\1/p'
> > -lat  __LAT__ 500 400
> > +lat  __LAT__ 550 450
> >
> >  tr   TCP throughput over IPv4: guest to host
> >  iperf3s      ns 10002
> > @@ -137,7 +137,7 @@ lat       -
> >  lat  -
> >  nsb  tcp_crr --nolog -4
> >  gout LAT tcp_crr --nolog -l1 -4 -c -H __MAP_NS4__ | sed -n 's/^throughput=\(.*\)/\1/p'
> > -lat  __LAT__ 500 400
> > +lat  __LAT__ 550 450
> >
> >  tr   TCP throughput over IPv6: host to guest
> >  iperf3s      guest 10001
> > @@ -208,6 +208,6 @@ lat       -
> >  guestb       tcp_crr --nolog -P 10001 -C 10011 -4
> >  sleep        1
> >  nsout        LAT tcp_crr --nolog -l1 -P 10001 -C 10011 -4 -c -H 127.0.0.1 | sed -n 's/^throughput=\(.*\)/\1/p'
> > -lat  __LAT__ 500 300
> > +lat  __LAT__ 500 350
> >
> >  te
> > diff --git a/test/perf/pasta_udp b/test/perf/pasta_udp
> > index 3a7054c..c51bb6c 100644
> > --- a/test/perf/pasta_udp
> > +++ b/test/perf/pasta_udp
> > @@ -39,7 +39,7 @@ iperf3s     host 10003
> >  # (datagram size) = (packet size) - 48: 40 bytes of IPv6 header, 8 of UDP header
> >
> >  iperf3       BW ns ::1 10003 __TIME__ __OPTS__ -b 5G -l 1452
> > -bw   __BW__ 1.0 1.5
> > +bw   __BW__ 0.8 1.2
> >  iperf3       BW ns ::1 10003 __TIME__ __OPTS__ -b 10G -l 3972
> >  bw   __BW__ 1.2 1.8
> >  iperf3       BW ns ::1 10003 __TIME__ __OPTS__ -b 30G -l 16336
> > @@ -64,7 +64,7 @@ iperf3s     host 10003
> >  # (datagram size) = (packet size) - 28: 20 bytes of IPv4 header, 8 of UDP header
> >
> >  iperf3       BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 5G -l 1372
> > -bw   __BW__ 1.0 1.5
> > +bw   __BW__ 0.8 1.2
> >  iperf3       BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 10G -l 3972
> >  bw   __BW__ 1.2 1.8
> >  iperf3       BW ns 127.0.0.1 10003 __TIME__ __OPTS__ -b 30G -l 16356
> > @@ -88,7 +88,7 @@ tr  UDP throughput over IPv6: host to ns
> >  iperf3s      ns 10002
> >
> >  iperf3       BW host ::1 10002 __TIME__ __OPTS__ -b 5G -l 1452
> > -bw   __BW__ 1.0 1.5
> > +bw   __BW__ 0.8 1.2
> >  iperf3       BW host ::1 10002 __TIME__ __OPTS__ -b 10G -l 3972
> >  bw   __BW__ 1.2 1.8
> >  iperf3       BW host ::1 10002 __TIME__ __OPTS__ -b 30G -l 16336
> > @@ -111,7 +111,7 @@ lat       __LAT__ 200 150
> >  tr   UDP throughput over IPv4: host to ns
> >  iperf3s      ns 10002
> >  iperf3       BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 5G -l 1372
> > -bw   __BW__ 1.0 1.5
> > +bw   __BW__ 0.8 1.2
> >  iperf3       BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 10G -l 3972
> >  bw   __BW__ 1.2 1.8
> >  iperf3       BW host 127.0.0.1 10002 __TIME__ __OPTS__ -b 30G -l 16356
> > --
> > 2.47.0
> >
>
> --
> David Gibson (he or they)       | I'll have my music baroque, and my code
> david AT gibson.dropbear.id.au  | minimalist, thank you, not the other way
>                                 | around.
> http://www.ozlabs.org/~dgibson



-- 
Thanks,

Yumei Huang


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-13  2:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-11  3:37 [PATCH] test: Update the threshold value for some perf tests Yumei Huang
2025-10-12 23:26 ` David Gibson
2025-10-13  2:21   ` Yumei Huang

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

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 IMAP folder(s).