START sys/netinet/bindconnect 2025-03-30T18:32:30Z ==== 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 773975, close 631685, bind 881372, connect 1817821, delroute 0 10.00 real 1.74 user 20.23 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1915798, close 1141059, bind 6476794, connect 0, delroute 0 10.00 real 4.96 user 67.71 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 283177, close 379041, bind 0, connect 2534236, delroute 0 10.00 real 1.48 user 23.70 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 375591, close 429707, bind 696419, connect 2021198, delroute 0 10.00 real 1.82 user 26.86 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 137360, close 153007, bind 413205, connect 386291, delroute 0 10.16 real 0.56 user 45.09 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 712905, close 2880639, bind 4247472, connect 4074593, delroute 0 10.00 real 6.87 user 55.18 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 827126, close 1192975, bind 4119139, connect 0, delroute 0 10.01 real 2.61 user 59.94 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 529622, close 1529216, bind 0, connect 3719242, delroute 0 10.00 real 3.45 user 43.17 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 555322, close 1594164, bind 2028673, connect 1868217, delroute 0 10.00 real 3.05 user 44.60 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 132862, close 205742, bind 562729, connect 557242, delroute 0 10.22 real 0.83 user 42.01 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 454588, close 3922635, bind 4609550, connect 4622162, delroute 0 10.01 real 7.65 user 52.23 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 2285630, close 1204272, bind 8557671, connect 0, delroute 0 10.01 real 6.06 user 74.53 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 790481, close 772286, bind 0, connect 2382808, delroute 0 10.00 real 2.14 user 47.01 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 971403, close 883108, bind 1782166, connect 1524180, delroute 0 10.00 real 2.57 user 53.61 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 876957, close 508276, bind 1710191, connect 1619997, delroute 0 10.27 real 2.47 user 53.24 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 856647, close 1950865, bind 3474875, connect 2990148, delroute 0 10.00 real 4.97 user 59.19 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 1910710, close 1053596, bind 5838835, connect 0, delroute 0 10.01 real 3.85 user 64.41 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 170552, close 194569, bind 0, connect 1464070, delroute 0 10.00 real 0.98 user 16.11 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 176238, close 162338, bind 254829, connect 1266421, delroute 0 10.00 real 0.93 user 17.41 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 130730, close 153629, bind 447458, connect 402514, delroute 0 10.15 real 0.69 user 44.89 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 557129, close 3689543, bind 4346870, connect 4377886, delroute 0 10.00 real 6.74 user 49.64 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 825277, close 1163590, bind 3974907, connect 0, delroute 0 10.01 real 2.66 user 57.04 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 485056, close 1424240, bind 0, connect 3450594, delroute 0 10.00 real 3.16 user 38.81 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 509219, close 1486193, bind 1871066, connect 1736237, delroute 0 10.00 real 2.93 user 39.62 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 140567, close 228065, bind 612180, connect 609462, delroute 0 10.22 real 0.62 user 42.03 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 427110, close 4037060, bind 4428553, connect 4645911, delroute 0 10.01 real 7.37 user 47.90 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 2102742, close 1252865, bind 8690709, connect 0, delroute 0 10.01 real 6.52 user 75.13 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 681979, close 835765, bind 0, connect 2512238, delroute 0 10.00 real 2.09 user 46.40 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 859148, close 911923, bind 1856125, connect 1553765, delroute 0 10.00 real 2.67 user 51.80 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 663943, close 441773, bind 1398750, connect 1715145, delroute 0 10.28 real 1.86 user 43.73 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 782433, close 2227649, bind 3858087, connect 3291528, delroute 0 10.00 real 5.44 user 59.57 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