START sys/netinet/bindconnect 2025-01-12T02:59:56Z ==== 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 1898746, close 3582379, bind 4296111, connect 2717461, delroute 0 10.00 real 4.92 user 30.95 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2147210, close 1676682, bind 8806258, connect 0, delroute 0 10.01 real 5.53 user 54.63 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1581136, close 510912, bind 0, connect 4560080, delroute 0 10.01 real 4.85 user 50.37 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1927489, close 656369, bind 3488193, connect 2755726, delroute 0 10.01 real 5.76 user 52.01 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 109512, close 100528, bind 238628, connect 214657, delroute 0 10.19 real 0.37 user 14.32 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2091437, close 1668282, bind 3513218, connect 3147980, delroute 0 10.00 real 6.66 user 52.49 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 1485142, close 1079165, bind 1795803, connect 0, delroute 0 10.00 real 1.92 user 53.39 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1465935, close 1010572, bind 0, connect 1969640, delroute 0 10.01 real 1.93 user 43.45 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1563441, close 1083138, bind 786587, connect 594872, delroute 0 10.01 real 1.60 user 45.02 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2114533, close 1320892, bind 249133, connect 177211, delroute 0 10.38 real 1.19 user 29.09 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1057917, close 1865170, bind 2195849, connect 1808441, delroute 0 10.00 real 3.61 user 49.71 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 3042533, close 1964906, bind 4300410, connect 0, delroute 0 10.00 real 4.37 user 55.58 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1856268, close 1092053, bind 0, connect 4168473, delroute 0 10.01 real 4.02 user 54.58 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2308668, close 1631780, bind 2041307, connect 1754475, delroute 0 10.01 real 3.42 user 55.71 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2204067, close 1227015, bind 2020533, connect 1669799, delroute 0 10.24 real 3.43 user 54.70 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1732054, close 2136557, bind 3222570, connect 2774345, delroute 0 10.00 real 5.23 user 54.06 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 2741383, close 2144805, bind 4784539, connect 0, delroute 0 10.00 real 4.66 user 55.19 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1908665, close 480258, bind 0, connect 2897824, delroute 0 10.01 real 4.35 user 48.77 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2283542, close 613335, bind 1883393, connect 1531264, delroute 0 10.01 real 5.21 user 51.72 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 112271, close 25906, bind 95496, connect 74503, delroute 0 10.20 real 0.29 user 13.96 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2321234, close 1449437, bind 3023514, connect 2480467, delroute 0 10.00 real 6.86 user 52.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 1403717, close 996664, bind 1126559, connect 0, delroute 0 10.00 real 1.24 user 51.64 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1844163, close 1122446, bind 0, connect 1058521, delroute 0 10.01 real 1.91 user 36.78 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1664018, close 1083257, bind 754258, connect 529737, delroute 0 10.01 real 1.49 user 40.95 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2104890, close 1297478, bind 269277, connect 185439, delroute 0 10.36 real 1.40 user 28.27 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1017614, close 1892999, bind 2237300, connect 1794083, delroute 0 10.01 real 3.73 user 49.19 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 2565462, close 2053476, bind 3535907, connect 0, delroute 0 10.00 real 3.44 user 56.26 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1702555, close 884630, bind 0, connect 3350197, delroute 0 10.01 real 3.58 user 53.29 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1989102, close 1465149, bind 1768388, connect 1509358, delroute 0 10.01 real 3.19 user 55.34 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1896823, close 1091577, bind 1783564, connect 1417061, delroute 0 10.26 real 3.29 user 54.63 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1533318, close 2410513, bind 3271906, connect 2824430, delroute 0 10.00 real 5.37 user 53.82 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