START sys/netinet/bindconnect 2025-03-31T18:36:41Z ==== 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 763073, close 666172, bind 968939, connect 1914764, delroute 0 10.00 real 1.85 user 20.59 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1924254, close 1157122, bind 6433718, connect 0, delroute 0 10.00 real 4.08 user 67.16 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 267406, close 371710, bind 0, connect 2567978, delroute 0 10.00 real 1.76 user 22.52 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 384057, close 429525, bind 689913, connect 2059851, delroute 0 10.00 real 1.69 user 26.78 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 158003, close 191255, bind 456752, connect 424608, delroute 0 10.14 real 0.76 user 45.12 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 729654, close 2884211, bind 4288468, connect 4100418, delroute 0 10.00 real 6.23 user 56.03 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 902212, close 1115710, bind 3826688, connect 0, delroute 0 10.01 real 2.59 user 53.50 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 546107, close 1506120, bind 0, connect 3693543, delroute 0 10.00 real 3.12 user 42.30 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 574248, close 1578227, bind 1999344, connect 1844127, delroute 0 10.00 real 2.90 user 42.27 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 156216, close 241072, bind 612599, connect 613192, delroute 0 10.22 real 0.81 user 42.74 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 461229, close 3972554, bind 4639208, connect 4675256, delroute 0 10.00 real 7.15 user 51.56 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 2322741, close 1215451, bind 8603577, connect 0, delroute 0 10.01 real 5.71 user 73.82 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 826765, close 779554, bind 0, connect 2463614, delroute 0 10.00 real 1.95 user 47.41 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1050821, close 886827, bind 1793484, connect 1553229, delroute 0 10.00 real 2.78 user 52.80 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 887225, close 506060, bind 1749850, connect 1710600, delroute 0 10.27 real 2.49 user 52.31 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 895670, close 1887562, bind 3468678, connect 2976446, delroute 0 10.00 real 5.18 user 59.10 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 1894129, close 1055940, bind 5643405, connect 0, delroute 0 10.01 real 3.93 user 61.28 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 134824, close 200765, bind 0, connect 1486092, delroute 0 10.00 real 0.84 user 17.13 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 154632, close 161475, bind 251433, connect 1273651, delroute 0 10.00 real 0.84 user 16.83 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 137417, close 166727, bind 469867, connect 419898, delroute 0 10.18 real 0.62 user 44.77 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 563859, close 3660228, bind 4323019, connect 4334738, delroute 0 10.00 real 6.83 user 48.46 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 854491, close 1144001, bind 3955799, connect 0, delroute 0 10.01 real 2.79 user 56.48 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 490713, close 1439349, bind 0, connect 3493429, delroute 0 10.00 real 2.95 user 37.51 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 516697, close 1546838, bind 1946359, connect 1799918, delroute 0 10.00 real 2.63 user 40.05 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 141278, close 229826, bind 613162, connect 612321, delroute 0 10.25 real 0.96 user 41.87 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 436215, close 4009343, bind 4376620, connect 4561989, delroute 0 10.01 real 7.24 user 47.23 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 2080259, close 1265791, bind 8601197, connect 0, delroute 0 10.01 real 5.82 user 73.75 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 690811, close 835877, bind 0, connect 2611872, delroute 0 10.00 real 2.40 user 45.24 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 884233, close 937983, bind 1903467, connect 1613600, delroute 0 10.00 real 2.66 user 51.63 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 622391, close 406376, bind 1394532, connect 1833008, delroute 0 10.29 real 2.15 user 41.90 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 816802, close 2212948, bind 3916030, connect 3311172, delroute 0 10.00 real 5.32 user 58.14 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