START sys/netinet/bindconnect 2025-03-19T19:30:36Z ==== 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 816390, close 734583, bind 1122938, connect 1913677, delroute 0 10.00 real 1.88 user 21.50 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1924365, close 1181577, bind 6589049, connect 0, delroute 0 10.00 real 5.03 user 68.83 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 257298, close 398493, bind 0, connect 2594247, delroute 0 10.00 real 1.53 user 24.09 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 348694, close 420959, bind 701572, connect 2045188, delroute 0 10.00 real 1.57 user 26.96 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 167920, close 215263, bind 477121, connect 451645, delroute 0 10.14 real 0.58 user 46.37 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 717668, close 2842105, bind 4169782, connect 4001419, delroute 0 10.00 real 6.38 user 55.43 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 826145, close 1194736, bind 4102762, connect 0, delroute 0 10.01 real 3.02 user 57.97 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 526515, close 1493309, bind 0, connect 3661565, delroute 0 10.00 real 3.04 user 42.86 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 561775, close 1503769, bind 1946369, connect 1800111, delroute 0 10.00 real 3.13 user 43.58 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 178545, close 284453, bind 666943, connect 677459, delroute 0 10.23 real 0.92 user 43.37 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 455258, close 3879427, bind 4520963, connect 4551394, delroute 0 10.00 real 6.96 user 51.71 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 2314839, close 1245022, bind 8759614, connect 0, delroute 0 10.01 real 5.81 user 76.29 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 764968, close 788562, bind 0, connect 2461053, delroute 0 10.00 real 2.03 user 49.55 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 983350, close 910352, bind 1819592, connect 1569135, delroute 0 10.00 real 2.64 user 54.57 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 872885, close 499652, bind 1725147, connect 1670738, delroute 0 10.27 real 2.34 user 52.03 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 879131, close 1813169, bind 3356577, connect 2871549, delroute 0 10.00 real 4.59 user 61.38 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 1888621, close 1143999, bind 6540889, connect 0, delroute 0 10.01 real 4.70 user 67.66 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 103644, close 163013, bind 0, connect 1456190, delroute 0 10.00 real 1.07 user 17.56 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 123663, close 158454, bind 248020, connect 1276920, delroute 0 10.00 real 0.79 user 16.55 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 160293, close 205941, bind 514588, connect 466940, delroute 0 10.16 real 0.84 user 45.16 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 557072, close 3641469, bind 4254553, connect 4298879, delroute 0 10.01 real 6.80 user 49.07 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 813102, close 1150045, bind 3974301, connect 0, delroute 0 10.01 real 2.87 user 56.95 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 481310, close 1458197, bind 0, connect 3347827, delroute 0 10.00 real 2.97 user 37.54 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 511408, close 1492292, bind 1879203, connect 1741477, delroute 0 10.00 real 2.87 user 39.34 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 197784, close 323482, bind 721947, connect 736730, delroute 0 10.23 real 1.08 user 40.85 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 430340, close 3980020, bind 4366041, connect 4534840, delroute 0 10.01 real 7.58 user 47.52 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 2099806, close 1242759, bind 8648630, connect 0, delroute 0 10.01 real 6.08 user 74.57 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 667900, close 794545, bind 0, connect 2502268, delroute 0 10.00 real 2.31 user 44.97 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 857537, close 900743, bind 1838211, connect 1569973, delroute 0 10.00 real 2.84 user 51.04 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 604536, close 391283, bind 1340688, connect 1785349, delroute 0 10.29 real 2.16 user 41.68 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 790711, close 2178932, bind 3783340, connect 3215882, delroute 0 10.00 real 5.74 user 58.23 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