START sys/netinet/bindconnect 2025-03-16T02:52: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 2172475, close 1719012, bind 3454256, connect 2029841, delroute 0 10.00 real 3.77 user 33.72 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3548522, close 491356, bind 6449060, connect 0, delroute 0 10.01 real 8.71 user 51.53 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2232694, close 256431, bind 0, connect 3169258, delroute 0 10.01 real 5.24 user 46.57 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3615092, close 142691, bind 1365685, connect 1008513, delroute 0 10.01 real 7.42 user 50.15 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 86250, close 5375, bind 78857, connect 74270, delroute 0 10.16 real 0.19 user 17.44 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3988418, close 164775, bind 772326, connect 655739, delroute 0 10.01 real 7.59 user 51.63 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 1329203, close 781031, bind 3379335, connect 0, delroute 0 10.00 real 4.78 user 51.40 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1148412, close 590307, bind 0, connect 3042650, delroute 0 10.01 real 3.98 user 48.94 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1202752, close 601749, bind 1593516, connect 1247077, delroute 0 10.01 real 4.18 user 49.63 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 104131, close 9107, bind 65737, connect 34395, delroute 0 10.34 real 0.31 user 14.40 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1194206, close 923398, bind 1685237, connect 1397461, delroute 0 10.00 real 5.91 user 50.67 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 4481006, close 43710, bind 260956, connect 0, delroute 0 10.00 real 8.26 user 51.53 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4074632, close 82190, bind 0, connect 903377, delroute 0 10.01 real 7.84 user 51.39 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4337967, close 48979, bind 173395, connect 138212, delroute 0 10.01 real 8.09 user 51.90 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4430750, close 22646, bind 94278, connect 76278, delroute 0 10.16 real 8.02 user 52.06 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4287732, close 94185, bind 281166, connect 230412, delroute 0 10.00 real 8.03 user 51.94 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 4420388, close 38981, bind 297840, connect 0, delroute 0 10.00 real 7.82 user 52.08 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1621984, close 266789, bind 0, connect 2826884, delroute 0 10.01 real 3.96 user 40.09 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4055484, close 70339, bind 464020, connect 342736, delroute 0 10.01 real 7.61 user 51.19 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 81428, close 1431, bind 164798, connect 141675, delroute 0 10.15 real 0.21 user 23.20 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3861909, close 145933, bind 743025, connect 548213, delroute 0 10.01 real 6.96 user 51.61 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 1320713, close 741251, bind 3176616, connect 0, delroute 0 10.00 real 5.01 user 51.67 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1099744, close 520053, bind 0, connect 2925031, delroute 0 10.01 real 3.85 user 49.35 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1156862, close 537484, bind 1556729, connect 1141543, delroute 0 10.01 real 4.09 user 48.98 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 107823, close 11254, bind 88377, connect 42092, delroute 0 10.35 real 0.25 user 14.40 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1186024, close 1022615, bind 1868477, connect 1520481, delroute 0 10.00 real 5.89 user 49.87 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 3791041, close 34137, bind 205413, connect 0, delroute 0 10.00 real 7.90 user 52.08 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3449735, close 89164, bind 0, connect 1080367, delroute 0 10.01 real 7.21 user 51.58 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3602832, close 76584, bind 286081, connect 217791, delroute 0 10.01 real 7.32 user 52.25 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3745331, close 26127, bind 116285, connect 100467, delroute 0 10.18 real 7.84 user 52.11 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3600057, close 103227, bind 350995, connect 272406, delroute 0 10.00 real 7.50 user 52.35 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