udpgso_bench.sh in net from ubuntu_kernel_selftests failed on F-5.4 zVM

Bug #1897759 reported by Po-Hsu Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found on 5.4.0-49.53 s390x zVM node kernel04 (this issue does not exist on other arches, not even the s390x LPAR)

Test failed with:
 # selftests: net: udpgso_bench.sh
 # ipv4
 # tcp
 # tcp tx: 4236 MB/s 71851 calls/s 71851 msg/s
 # tcp rx: 4241 MB/s 56479 calls/s
 # tcp tx: 4980 MB/s 84466 calls/s 84466 msg/s
 # tcp rx: 4983 MB/s 40178 calls/s
 # tcp tx: 5048 MB/s 85630 calls/s 85630 msg/s
 # tcp zerocopy
 # tcp tx: 4169 MB/s 70724 calls/s 70724 msg/s
 # tcp rx: 4174 MB/s 33181 calls/s
 # tcp tx: 4215 MB/s 71502 calls/s 71502 msg/s
 # tcp rx: 4219 MB/s 33107 calls/s
 # tcp tx: 4233 MB/s 71796 calls/s 71796 msg/s
 # udp
 # udp rx: 337 MB/s 240241 calls/s
 # udp tx: 443 MB/s 315672 calls/s 7516 msg/s
 # udp rx: 510 MB/s 363643 calls/s
 # udp tx: 520 MB/s 370734 calls/s 8827 msg/s
 # udp rx: 520 MB/s 370723 calls/s
 # udp tx: 519 MB/s 370314 calls/s 8817 msg/s
 # udp gso
 # udp tx: 1205 MB/s 20448 calls/s 20448 msg/s
 # udp rx: 268 MB/s 191557 calls/s
 # udp tx: 1131 MB/s 19188 calls/s 19188 msg/s
 # udp rx: 476 MB/s 339079 calls/s
 # udp tx: 1151 MB/s 19526 calls/s 19526 msg/s
 # udp gso zerocopy
 # udp rx: 886 MB/s 631746 calls/s
 # udp tx: 918 MB/s 15577 calls/s 15577 msg/s
 # udp rx: 919 MB/s 655080 calls/s
 # udp tx: 919 MB/s 15588 calls/s 15588 msg/s
 # udp tx: 927 MB/s 15729 calls/s 15729 msg/s
 # udp rx: 928 MB/s 661271 calls/s
 # udp gso timestamp
 # udp rx: 767 MB/s 547047 calls/s
 # udp tx: 1120 MB/s 19005 calls/s 19005 msg/s
 # udp tx: 1148 MB/s 19486 calls/s 19486 msg/s
 # udp rx: 1141 MB/s 813354 calls/s
 # udp tx: 1145 MB/s 19431 calls/s 19431 msg/s
 # udp gso zerocopy audit
 # udp tx: 912 MB/s 15473 calls/s 15473 msg/s
 # udp rx: 188 MB/s 134486 calls/s
 # udp tx: 936 MB/s 15884 calls/s 15884 msg/s
 # udp rx: 795 MB/s 566798 calls/s
 # udp tx: 932 MB/s 15819 calls/s 15819 msg/s
 # Summary over 3.000 seconds...
 # sum udp tx: 949 MB/s 47176 calls (15725/s) 47176 msgs (15725/s)
 # Zerocopy acks: 47176
 # udp gso timestamp audit
 # udp rx: 520 MB/s 370445 calls/s
 # udp tx: 1191 MB/s 20204 calls/s 20204 msg/s
 # udp tx: 1237 MB/s 20981 calls/s 20981 msg/s
 # udp rx: 351 MB/s 250289 calls/s
 # udp tx: 1264 MB/s 21453 calls/s 21453 msg/s
 # Summary over 3.000 seconds...
 # sum udp tx: 1260 MB/s 62638 calls (20879/s) 62638 msgs (20879/s)
 # Tx Timestamps: 62638 received 0 errors
 # udp gso zerocopy timestamp audit
 # udp rx: 366 MB/s 261352 calls/s
 # udp tx: 916 MB/s 15545 calls/s 15545 msg/s
 # udp rx: 904 MB/s 644237 calls/s
 # udp tx: 903 MB/s 15323 calls/s 15323 msg/s
 # udp rx: 906 MB/s 645458 calls/s
 # udp tx: 905 MB/s 15360 calls/s 15360 msg/s
 # Summary over 3.000 seconds...
 # sum udp tx: 930 MB/s 46228 calls (15409/s) 46228 msgs (15409/s)
 # Tx Timestamps: 46228 received 0 errors
 # Zerocopy acks: 46228
 # ipv6
 # tcp
 # ./udpgso_bench_tx: connect: Connection refused
 # tcp zerocopy
 # tcp tx: 4162 MB/s 70607 calls/s 70607 msg/s
 # tcp rx: 5619 MB/s 40473 calls/s
 # tcp tx: 4572 MB/s 77552 calls/s 77552 msg/s
 # tcp rx: 4519 MB/s 30988 calls/s
 # tcp tx: 4253 MB/s 72138 calls/s 72138 msg/s
 # udp
 # udp rx: 255 MB/s 186402 calls/s
 # udp tx: 456 MB/s 333164 calls/s 7748 msg/s
 # udp rx: 453 MB/s 330992 calls/s
 # udp tx: 498 MB/s 363737 calls/s 8459 msg/s
 # udp tx: 490 MB/s 357889 calls/s 8323 msg/s
 # udp gso
 # udp rx: 371 MB/s 271142 calls/s
 # udp tx: 1150 MB/s 19513 calls/s 19513 msg/s
 # udp tx: 1147 MB/s 19465 calls/s 19465 msg/s
 # udp rx: 1148 MB/s 837747 calls/s
 # udp tx: 1148 MB/s 19482 calls/s 19482 msg/s
 # udp gso zerocopy
 # udp rx: 790 MB/s 576627 calls/s
 # udp tx: 901 MB/s 15282 calls/s 15282 msg/s
 # udp rx: 900 MB/s 656829 calls/s
 # udp tx: 899 MB/s 15260 calls/s 15260 msg/s
 # udp tx: 902 MB/s 15311 calls/s 15311 msg/s
 # udp gso timestamp
 # udp rx: 856 MB/s 624626 calls/s
 # udp tx: 1132 MB/s 19207 calls/s 19207 msg/s
 # udp rx: 1109 MB/s 809432 calls/s
 # udp tx: 1108 MB/s 18806 calls/s 18806 msg/s
 # udp tx: 1108 MB/s 18797 calls/s 18797 msg/s
 # udp rx: 1109 MB/s 809131 calls/s
 # udp gso zerocopy audit
 # udp rx: 717 MB/s 523247 calls/s
 # udp tx: 902 MB/s 15310 calls/s 15310 msg/s
 # udp rx: 903 MB/s 659073 calls/s
 # udp tx: 902 MB/s 15312 calls/s 15312 msg/s
 # udp rx: 902 MB/s 658063 calls/s
 # udp tx: 901 MB/s 15290 calls/s 15290 msg/s
 # Summary over 3.000 seconds...
 # sum udp tx: 923 MB/s 45912 calls (15304/s) 45912 msgs (15304/s)
 # Zerocopy acks: 45912
 # udp gso timestamp audit
 # udp tx: 1105 MB/s 18753 calls/s 18753 msg/s
 # udp rx: 1017 MB/s 741707 calls/s
 # udp tx: 1198 MB/s 20323 calls/s 20323 msg/s
 # udp rx: 301 MB/s 220002 calls/s
 # udp tx: 1113 MB/s 18879 calls/s 18879 msg/s
 # Summary over 3.000 seconds...
 # sum udp tx: 1166 MB/s 57955 calls (19318/s) 57955 msgs (19318/s)
 # Tx Timestamps: 57955 received 0 errors
 # udp gso zerocopy timestamp audit
 # udp rx: 690 MB/s 503352 calls/s
 # udp tx: 879 MB/s 14911 calls/s 14911 msg/s
 # udp rx: 876 MB/s 639074 calls/s
 # udp tx: 875 MB/s 14853 calls/s 14853 msg/s
 # udp tx: 876 MB/s 14871 calls/s 14871 msg/s
 # Summary over 3.000 seconds...
 # sum udp tx: 898 MB/s 44635 calls (14878/s) 44635 msgs (14878/s)
 # Tx Timestamps: 44635 received 0 errors
 # Zerocopy acks: 44635
 # udpgso_bench.sh: PASS=17 SKIP=0 FAIL=1
 # udpgso_bench.sh: [0;31mFAIL[0m
 not ok 19 selftests: net: udpgso_bench.sh # exit=1

This issue can be found on 5.4.0-48.52 zVM as well, not a regression.

Po-Hsu Lin (cypressyew)
description: updated
tags: added: 5.4 focal kqa-blocker s390x sru-20200921 ubuntu-kernel-selftests
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

In 5.4.0-47, this test was blocked by package installation issue.
In 5.4.0-46.50 this test has passed on zVM.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

With more manual tests, it looks like this test is not very stable on this Focal zVM, sometime the test can pass, sometime it can't.

Retest log (no reboot in between, just run the "sudo ./udpgso_bench.sh"):
1. FAIL 1 (ipv4 udp gso zerocopy timestamp audit)
2. FAIL 2 (ipv4 udp gso timestamp audit, ipv4 udp gso zerocopy timestamp audit)
3. PASS
4. PASS
5. PASS

tags: added: sru-20210621
Revision history for this message
Andrei Gherzan (agherzan) wrote :

The important part of the log is:

  # ./udpgso_bench_tx: connect: Connection refused

This is the same issue as https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1951447 and the same fix proposed there was tested on the reported machine here: focal/s390x.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.