START sys/netinet/bindconnect 2025-01-06T03:01:30Z ==== 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 1866324, close 3527493, bind 4296374, connect 2656890, delroute 0 10.00 real 5.06 user 31.57 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2437233, close 1891033, bind 6890419, connect 0, delroute 0 10.01 real 5.27 user 54.68 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2076334, close 476551, bind 0, connect 3473230, delroute 0 10.01 real 5.10 user 49.65 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2302356, close 782819, bind 2240434, connect 2116246, delroute 0 10.01 real 5.70 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 136806, close 121042, bind 297439, connect 255521, delroute 0 10.21 real 0.32 user 14.61 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2010670, close 1732591, bind 3627926, connect 3254591, delroute 0 10.01 real 6.91 user 52.23 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 1553341, close 1146941, bind 1506302, connect 0, delroute 0 10.00 real 1.88 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 1545457, close 1035776, bind 0, connect 1570538, delroute 0 10.01 real 1.91 user 43.03 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1503430, close 1055612, bind 882403, connect 673187, delroute 0 10.01 real 2.04 user 46.73 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2190021, close 1383757, bind 219321, connect 156318, delroute 0 10.37 real 1.22 user 28.92 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1066607, close 1462363, bind 1944047, connect 1574610, delroute 0 10.01 real 3.26 user 49.62 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 3123059, close 2235791, bind 4186218, connect 0, delroute 0 10.00 real 4.40 user 55.45 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1845799, close 1075268, bind 0, connect 4505232, delroute 0 10.01 real 4.28 user 54.42 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2295757, close 1644083, bind 2160898, connect 1839581, delroute 0 10.01 real 3.71 user 55.31 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2161317, close 1203736, bind 2050917, connect 1714498, delroute 0 10.24 real 3.60 user 54.78 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1706035, close 2209490, bind 3319796, connect 2859107, delroute 0 10.00 real 5.28 user 53.92 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 2758551, close 2088948, bind 4700564, connect 0, delroute 0 10.00 real 4.18 user 55.73 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1705107, close 554498, bind 0, connect 3242540, delroute 0 10.01 real 4.24 user 47.58 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1972542, close 750487, bind 2315519, connect 1865618, delroute 0 10.01 real 4.66 user 50.96 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97923, close 78763, bind 215952, connect 186258, delroute 0 10.16 real 0.34 user 16.74 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2240189, close 1588583, bind 3353533, connect 2712801, delroute 0 10.00 real 7.25 user 51.73 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 1591046, close 1152448, bind 1362794, connect 0, delroute 0 10.00 real 1.82 user 53.62 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1800960, close 1176595, bind 0, connect 1342461, delroute 0 10.01 real 1.93 user 38.15 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1660945, close 1117150, bind 877870, connect 620474, delroute 0 10.01 real 1.74 user 42.41 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2074754, close 1372564, bind 353838, connect 256555, delroute 0 10.36 real 1.54 user 28.93 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1017965, close 2018432, bind 2352496, connect 1879065, delroute 0 10.00 real 3.74 user 49.38 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 2689466, close 2016074, bind 3015135, connect 0, delroute 0 10.00 real 3.11 user 56.49 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1594216, close 960012, bind 0, connect 4040323, delroute 0 10.01 real 3.57 user 53.83 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1986042, close 1524311, bind 1831602, connect 1569911, delroute 0 10.01 real 3.44 user 55.01 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1868068, close 1140666, bind 1854542, connect 1527669, delroute 0 10.26 real 3.27 user 54.13 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1515355, close 2559538, bind 3418826, connect 2971970, delroute 0 10.00 real 5.43 user 53.85 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