START sys/netinet/bindconnect 2025-03-19T03:53:35Z ==== 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 2177819, close 1722471, bind 3461088, connect 1987053, delroute 0 10.01 real 3.88 user 32.95 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3722074, close 429939, bind 4162637, connect 0, delroute 0 10.01 real 8.19 user 51.84 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2965757, close 134243, bind 0, connect 1936422, delroute 0 10.01 real 6.07 user 47.28 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3516907, close 149294, bind 1313282, connect 1056980, delroute 0 10.01 real 7.10 user 50.72 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 73230, close 2181, bind 191941, connect 190427, delroute 0 10.12 real 0.24 user 18.81 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3994808, close 141471, bind 680222, connect 588130, delroute 0 10.01 real 7.51 user 51.51 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 1354910, close 807802, bind 3395696, connect 0, delroute 0 10.00 real 4.99 user 50.95 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1258381, close 510835, bind 0, connect 2658738, delroute 0 10.01 real 4.30 user 49.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 1270756, close 554836, bind 1495643, connect 1116632, delroute 0 10.01 real 4.81 user 49.26 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 105883, close 14232, bind 90895, connect 52126, delroute 0 10.33 real 0.21 user 14.69 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1301664, close 965038, bind 1737774, connect 1413212, delroute 0 10.00 real 5.39 user 50.45 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 4439823, close 23113, bind 132782, connect 0, delroute 0 10.00 real 8.07 user 51.90 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4188797, close 53628, bind 0, connect 566553, delroute 0 10.01 real 7.74 user 51.98 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4365931, close 43983, bind 153535, connect 118835, delroute 0 10.01 real 8.08 user 52.06 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4511221, close 17277, bind 67050, connect 58179, delroute 0 10.15 real 7.55 user 52.42 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4306710, close 92680, bind 272859, connect 223576, delroute 0 10.00 real 7.69 user 52.11 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 4436032, close 22293, bind 147589, connect 0, delroute 0 10.00 real 7.91 user 51.80 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1749856, close 242970, bind 0, connect 2614008, delroute 0 10.01 real 4.06 user 40.39 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4181874, close 54803, bind 351964, connect 256425, delroute 0 10.01 real 7.99 user 51.01 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108558, close 2497, bind 81339, connect 56585, delroute 0 10.16 real 0.28 user 14.53 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3865369, close 140262, bind 670133, connect 502775, delroute 0 10.01 real 7.26 user 51.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 1341048, close 717982, bind 3048227, connect 0, delroute 0 10.00 real 4.86 user 51.61 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1204638, close 463552, bind 0, connect 2605674, delroute 0 10.01 real 4.27 user 49.15 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1230372, close 504650, bind 1420809, connect 1103411, delroute 0 10.01 real 4.33 user 49.91 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 101841, close 9935, bind 73746, connect 40294, delroute 0 10.34 real 0.30 user 16.88 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1298417, close 892607, bind 1595441, connect 1295146, delroute 0 10.00 real 5.59 user 50.80 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 3816862, close 17536, bind 102100, connect 0, delroute 0 10.00 real 8.23 user 51.50 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3492615, close 66327, bind 0, connect 768577, delroute 0 10.01 real 7.34 user 51.85 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3711636, close 43354, bind 178256, connect 137093, delroute 0 10.01 real 7.63 user 52.34 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3696852, close 21220, bind 263554, connect 137886, delroute 0 10.17 real 8.15 user 51.88 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3609193, close 90282, bind 302990, connect 242867, delroute 0 10.00 real 7.56 user 52.11 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