START sys/netinet/bindconnect 2025-03-11T19:33:14Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 7030 -> 110000 ==== run-default ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/sys/netinet/bindconnect/bindconnect.c cc -o bindconnect bindconnect.o -lpthread time ./bindconnect count: socket 815276, close 672510, bind 988863, connect 1824192, delroute 0 10.00 real 1.85 user 21.02 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1916788, close 1148040, bind 6328622, connect 0, delroute 0 10.00 real 4.86 user 66.08 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 269925, close 403098, bind 0, connect 2569762, delroute 0 10.00 real 1.72 user 23.19 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 375017, close 451750, bind 707159, connect 2025196, delroute 0 10.00 real 1.88 user 26.70 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97696, close 89025, bind 320262, connect 293639, delroute 0 10.17 real 0.39 user 44.71 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 724180, close 2800428, bind 4209882, connect 4010200, delroute 0 10.01 real 6.74 user 55.24 sys ==== run-inet-udp-localnet-connect ==== SKIPPED ==== run-inet-udp-localnet-bind-connect ==== SKIPPED ==== run-inet-udp-localnet-connect-delete ==== SKIPPED ==== run-inet-tcp-bind ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 846903, close 1221957, bind 4194642, connect 0, delroute 0 10.01 real 2.96 user 58.80 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 536769, close 1503271, bind 0, connect 3686809, delroute 0 10.00 real 2.92 user 42.08 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 564552, close 1521478, bind 1956019, connect 1789464, delroute 0 10.00 real 2.91 user 42.63 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 164553, close 255442, bind 626067, connect 632143, delroute 0 10.25 real 0.93 user 42.81 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 458168, close 4012606, bind 4553215, connect 4588750, delroute 0 10.01 real 6.95 user 50.41 sys ==== run-inet-tcp-localnet-connect ==== SKIPPED ==== run-inet-tcp-localnet-bind-connect ==== SKIPPED ==== run-inet-tcp-localnet-connect-delete ==== SKIPPED ==== run-inet-any-bind ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2310212, close 1232010, bind 8669403, connect 0, delroute 0 10.01 real 5.75 user 74.25 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 798870, close 850505, bind 0, connect 2477536, delroute 0 10.00 real 2.03 user 46.68 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1007262, close 925213, bind 1850967, connect 1593624, delroute 0 10.00 real 2.50 user 53.41 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 904348, close 545759, bind 1757929, connect 1697019, delroute 0 10.27 real 2.39 user 52.83 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 887262, close 1904986, bind 3457446, connect 2942187, delroute 0 10.00 real 5.04 user 59.25 sys ==== run-inet-any-localnet-connect ==== SKIPPED ==== run-inet-any-localnet-bind-connect ==== SKIPPED ==== run-inet-any-localnet-connect-delete ==== SKIPPED ==== run-inet6-udp-bind ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1923470, close 1086278, bind 5808049, connect 0, delroute 0 10.01 real 4.21 user 63.37 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 127013, close 180523, bind 0, connect 1439339, delroute 0 10.00 real 1.00 user 15.94 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 169514, close 154664, bind 240206, connect 1242159, delroute 0 10.00 real 0.98 user 16.30 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103788, close 106904, bind 382687, connect 332003, delroute 0 10.16 real 0.44 user 44.68 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 557910, close 3592050, bind 4284829, connect 4299764, delroute 0 10.01 real 7.09 user 47.83 sys ==== run-inet6-udp-localnet-connect ==== SKIPPED ==== run-inet6-udp-localnet-bind-connect ==== SKIPPED ==== run-inet6-udp-localnet-connect-delete ==== SKIPPED ==== run-inet6-tcp-bind ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 847660, close 1148099, bind 3960448, connect 0, delroute 0 10.01 real 3.02 user 56.65 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 489767, close 1433384, bind 0, connect 3453945, delroute 0 10.00 real 2.94 user 38.80 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 516034, close 1536897, bind 1921715, connect 1777054, delroute 0 10.00 real 3.19 user 39.47 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 149755, close 240021, bind 616945, connect 614627, delroute 0 10.26 real 0.93 user 42.60 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 430453, close 3985734, bind 4373459, connect 4610523, delroute 0 10.00 real 7.33 user 46.62 sys ==== run-inet6-tcp-localnet-connect ==== SKIPPED ==== run-inet6-tcp-localnet-bind-connect ==== SKIPPED ==== run-inet6-tcp-localnet-connect-delete ==== SKIPPED ==== run-inet6-any-bind ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2098811, close 1284065, bind 8587864, connect 0, delroute 0 10.01 real 6.03 user 74.98 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 723209, close 881066, bind 0, connect 2584114, delroute 0 10.00 real 2.09 user 45.78 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 902251, close 958940, bind 1907018, connect 1582804, delroute 0 10.00 real 2.66 user 50.95 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 678612, close 449883, bind 1474223, connect 1741538, delroute 0 10.28 real 2.33 user 44.08 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 803999, close 2249560, bind 3939262, connect 3332760, delroute 0 10.01 real 5.67 user 58.15 sys ==== run-inet6-any-localnet-connect ==== SKIPPED ==== run-inet6-any-localnet-bind-connect ==== SKIPPED ==== run-inet6-any-localnet-connect-delete ==== SKIPPED SKIP sys/netinet/bindconnect Test skipped itself