START sys/netinet/bindconnect 2025-03-13T23:43:13Z ==== 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 2133749, close 1676336, bind 3468266, connect 1997841, delroute 0 10.01 real 3.72 user 33.46 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3781307, close 329341, bind 4589029, connect 0, delroute 0 10.00 real 8.06 user 51.99 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2361805, close 248434, bind 0, connect 2844482, delroute 0 10.00 real 5.47 user 45.83 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3322418, close 177706, bind 1771413, connect 1285952, delroute 0 10.00 real 7.14 user 49.92 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97190, close 2295, bind 66593, connect 39189, delroute 0 10.15 real 0.22 user 19.58 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3957693, close 136974, bind 690150, connect 580525, delroute 0 10.00 real 8.34 user 50.84 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 1298636, close 841575, bind 3648058, connect 0, delroute 0 10.00 real 5.13 user 51.19 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1178663, close 537755, bind 0, connect 2769343, delroute 0 10.00 real 4.35 user 48.67 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1224098, close 608171, bind 1607143, connect 1237583, delroute 0 10.00 real 4.22 user 48.86 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 100532, close 8437, bind 64586, connect 37233, delroute 0 10.33 real 0.28 user 15.03 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1245230, close 719641, bind 1365148, connect 1128806, delroute 0 10.01 real 5.63 user 51.34 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 4465100, close 33937, bind 201384, connect 0, delroute 0 10.00 real 8.48 user 51.65 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4115150, close 71064, bind 0, connect 776488, delroute 0 10.00 real 7.23 user 52.17 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4324531, close 56538, bind 215972, connect 167107, delroute 0 10.00 real 8.07 user 51.56 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4422798, close 28230, bind 156140, connect 137312, delroute 0 10.15 real 7.78 user 52.18 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4272053, close 69999, bind 211522, connect 177866, delroute 0 10.00 real 7.98 user 51.99 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 4357212, close 36106, bind 244787, connect 0, delroute 0 10.00 real 8.99 user 51.00 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1726221, close 253729, bind 0, connect 2683779, delroute 0 10.00 real 3.99 user 40.80 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4063710, close 57439, bind 379278, connect 275063, delroute 0 10.00 real 7.59 user 51.06 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 73496, close 2053, bind 159912, connect 69530, delroute 0 10.14 real 0.13 user 25.86 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3882893, close 118501, bind 614879, connect 448944, delroute 0 10.00 real 7.27 user 51.24 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 1270215, close 696936, bind 2616703, connect 0, delroute 0 10.00 real 5.16 user 50.56 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1068765, close 558606, bind 0, connect 3172778, delroute 0 10.00 real 3.87 user 46.99 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1132518, close 588791, bind 1674222, connect 1285421, delroute 0 10.00 real 4.37 user 47.58 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108444, close 13463, bind 90322, connect 43908, delroute 0 10.34 real 0.22 user 13.99 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1216269, close 883973, bind 1568893, connect 1296588, delroute 0 10.00 real 5.83 user 50.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 3793287, close 37732, bind 243322, connect 0, delroute 0 10.00 real 7.67 user 52.46 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3503872, close 67374, bind 0, connect 822154, delroute 0 10.00 real 7.33 user 51.74 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3736246, close 53984, bind 211155, connect 166467, delroute 0 10.00 real 7.68 user 52.15 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3668694, close 26797, bind 408484, connect 249856, delroute 0 10.18 real 8.14 user 51.74 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3561848, close 118608, bind 345280, connect 277458, delroute 0 10.01 real 8.25 user 51.46 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