START sys/netinet/bindconnect 2025-03-24T02:56:16Z ==== 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 2183578, close 1706210, bind 3467660, connect 1988588, delroute 0 10.00 real 4.22 user 33.24 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3812814, close 349548, bind 3611115, connect 0, delroute 0 10.01 real 7.77 user 52.14 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2601498, close 231113, bind 0, connect 2672013, delroute 0 10.01 real 6.00 user 47.87 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3499237, close 143425, bind 1493941, connect 1124206, delroute 0 10.01 real 7.29 user 49.82 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 83518, close 1241, bind 84059, connect 53001, delroute 0 10.15 real 0.16 user 19.15 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4051267, close 125762, bind 596348, connect 527181, delroute 0 10.01 real 7.76 user 51.61 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 1344746, close 813276, bind 3390619, connect 0, delroute 0 10.00 real 5.07 user 50.72 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1169054, close 531600, bind 0, connect 2737789, delroute 0 10.01 real 4.48 user 48.61 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1256387, close 518013, bind 1371306, connect 1077289, delroute 0 10.01 real 4.51 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 110442, close 10944, bind 60441, connect 38392, delroute 0 10.40 real 0.30 user 14.73 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1276321, close 853123, bind 1637062, connect 1416187, delroute 0 10.00 real 5.19 user 50.87 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 4500610, close 17993, bind 101112, connect 0, delroute 0 10.00 real 8.14 user 51.76 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4163212, close 51610, bind 0, connect 547218, delroute 0 10.01 real 7.35 user 52.19 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4354469, close 42795, bind 168262, connect 130822, delroute 0 10.01 real 8.08 user 51.96 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4467841, close 16855, bind 62569, connect 51308, delroute 0 10.15 real 8.04 user 52.00 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4279021, close 82249, bind 242793, connect 196730, delroute 0 10.01 real 7.83 user 52.24 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 4410128, close 22773, bind 147052, connect 0, delroute 0 10.00 real 7.96 user 52.04 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2068684, close 196622, bind 0, connect 2283623, delroute 0 10.01 real 4.25 user 41.35 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4037800, close 58317, bind 372014, connect 290609, delroute 0 10.01 real 7.67 user 51.07 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 83355, close 3601, bind 128046, connect 69514, delroute 0 10.16 real 0.19 user 17.21 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3957759, close 118299, bind 561551, connect 437859, delroute 0 10.00 real 7.73 user 50.96 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 1335979, close 704180, bind 2963442, connect 0, delroute 0 10.00 real 4.87 user 50.82 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1148391, close 517374, bind 0, connect 2852516, delroute 0 10.01 real 4.07 user 47.94 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1133980, close 660474, bind 1847650, connect 1346934, delroute 0 10.01 real 3.87 user 48.12 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 90158, close 9062, bind 97327, connect 64418, delroute 0 10.35 real 0.24 user 16.25 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1243756, close 885668, bind 1710607, connect 1350702, delroute 0 10.01 real 5.66 user 50.65 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 3849608, close 17712, bind 124274, connect 0, delroute 0 10.00 real 7.92 user 52.00 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3651668, close 47450, bind 0, connect 556981, delroute 0 10.01 real 7.81 user 51.71 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3794308, close 41152, bind 153150, connect 121619, delroute 0 10.01 real 7.33 user 52.47 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3681453, close 19016, bind 170138, connect 149768, delroute 0 10.17 real 8.00 user 51.81 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3673811, close 74394, bind 253046, connect 202130, delroute 0 10.00 real 7.61 user 52.19 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