START sys/netinet/bindconnect 2025-01-13T03:00:10Z ==== 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 1885697, close 3486584, bind 4235495, connect 2612773, delroute 0 10.00 real 5.22 user 30.52 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2175014, close 1766520, bind 9156911, connect 0, delroute 0 10.00 real 6.72 user 53.34 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1848818, close 448173, bind 0, connect 3870479, delroute 0 10.00 real 5.25 user 49.49 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1812357, close 791952, bind 3492241, connect 2760987, delroute 0 10.00 real 5.51 user 51.91 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 99780, close 67527, bind 156593, connect 138759, delroute 0 10.14 real 0.24 user 14.82 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2260942, close 1521615, bind 3129949, connect 2808916, delroute 0 10.00 real 7.55 user 51.99 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 1547034, close 1136157, bind 1727881, connect 0, delroute 0 10.00 real 2.18 user 53.43 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1559599, close 1050709, bind 0, connect 1776761, delroute 0 10.00 real 2.01 user 41.47 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1470075, close 1031376, bind 1083106, connect 827439, delroute 0 10.01 real 1.89 user 45.42 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2183111, close 1454765, bind 296324, connect 231490, delroute 0 10.37 real 1.42 user 28.79 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1026376, close 2816528, bind 3739176, connect 3180391, delroute 0 10.00 real 5.51 user 47.84 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 2926899, close 2224600, bind 4594489, connect 0, delroute 0 10.00 real 4.27 user 55.80 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2008582, close 1071082, bind 0, connect 4070758, delroute 0 10.00 real 4.63 user 54.31 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2297665, close 1639522, bind 2078171, connect 1792126, delroute 0 10.00 real 3.79 user 54.71 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2133375, close 1261040, bind 2109778, connect 1777859, delroute 0 10.23 real 3.33 user 54.80 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1782238, close 2119389, bind 3110762, connect 2685608, delroute 0 10.00 real 5.10 user 53.99 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 2737705, close 2055604, bind 4599451, connect 0, delroute 0 10.00 real 4.07 user 55.90 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1803079, close 488496, bind 0, connect 2989754, delroute 0 10.00 real 4.61 user 47.81 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2038464, close 678049, bind 2164850, connect 1746969, delroute 0 10.00 real 4.94 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 114717, close 72597, bind 174453, connect 143639, delroute 0 10.21 real 0.49 user 13.98 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2436061, close 1374106, bind 2890346, connect 2321729, delroute 0 10.01 real 7.05 user 51.95 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 1529942, close 1090923, bind 1442307, connect 0, delroute 0 10.00 real 1.85 user 52.48 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1803388, close 1166403, bind 0, connect 1487168, delroute 0 10.00 real 1.96 user 37.27 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1644635, close 1064397, bind 995547, connect 696063, delroute 0 10.01 real 1.90 user 41.00 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2130691, close 1407889, bind 283365, connect 210157, delroute 0 10.35 real 1.34 user 28.80 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 987209, close 2987044, bind 3914233, connect 3264803, delroute 0 10.00 real 5.89 user 47.43 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 2676575, close 2044349, bind 3094220, connect 0, delroute 0 10.00 real 3.36 user 56.08 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1633914, close 906084, bind 0, connect 3975329, delroute 0 10.00 real 3.86 user 53.46 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2013417, close 1510911, bind 1789251, connect 1539991, delroute 0 10.00 real 3.18 user 55.35 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1873547, close 1143647, bind 1923048, connect 1605069, delroute 0 10.25 real 3.12 user 54.22 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1531902, close 2302595, bind 3200512, connect 2758183, delroute 0 10.01 real 5.12 user 53.89 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