START sys/netinet/bindconnect 2025-01-17T01:30:58Z ==== 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 1882636, close 3770487, bind 4549034, connect 2874160, delroute 0 10.01 real 5.57 user 31.09 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2575584, close 1906019, bind 5833534, connect 0, delroute 0 10.00 real 4.76 user 55.16 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2158821, close 422828, bind 0, connect 3103196, delroute 0 10.00 real 4.77 user 49.89 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2598433, close 663295, bind 1801478, connect 1669711, delroute 0 10.00 real 5.62 user 52.73 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 124522, close 77621, bind 216017, connect 170603, delroute 0 10.19 real 0.25 user 13.73 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2290268, close 1463986, bind 3010627, connect 2691526, delroute 0 10.01 real 6.68 user 52.77 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 1598477, close 1174195, bind 1439326, connect 0, delroute 0 10.00 real 1.90 user 53.14 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1592222, close 1066163, bind 0, connect 1600280, delroute 0 10.00 real 2.16 user 42.10 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1542768, close 1072114, bind 862848, connect 673651, delroute 0 10.01 real 1.71 user 45.00 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2175399, close 1400255, bind 298382, connect 232898, delroute 0 10.36 real 1.34 user 29.00 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1062024, close 2392299, bind 3023207, connect 2540749, delroute 0 10.01 real 4.34 user 49.42 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 3089712, close 2349490, bind 4014037, connect 0, delroute 0 10.00 real 4.30 user 55.70 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1877645, close 1106110, bind 0, connect 4201345, delroute 0 10.00 real 4.15 user 54.61 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2309337, close 1625897, bind 2013298, connect 1724896, delroute 0 10.00 real 3.55 user 55.52 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2170921, close 1284800, bind 2205606, connect 1833617, delroute 0 10.22 real 3.67 user 54.75 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1755287, close 2183709, bind 3149969, connect 2728347, delroute 0 10.00 real 4.93 user 54.17 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 2781098, close 2046795, bind 4458476, connect 0, delroute 0 10.00 real 4.41 user 55.56 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1830584, close 496367, bind 0, connect 2942513, delroute 0 10.00 real 4.63 user 48.10 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2111864, close 688556, bind 2087619, connect 1685992, delroute 0 10.00 real 5.18 user 51.20 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 99626, close 69998, bind 221711, connect 168097, delroute 0 10.14 real 0.45 user 15.56 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2216786, close 1488969, bind 3160849, connect 2555709, delroute 0 10.00 real 7.05 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 1568571, close 1155670, bind 1424730, connect 0, delroute 0 10.00 real 1.48 user 53.73 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1771636, close 1131657, bind 0, connect 1479129, delroute 0 10.00 real 1.84 user 37.55 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1653839, close 1089293, bind 811516, connect 582958, delroute 0 10.01 real 2.12 user 41.06 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2173389, close 1382075, bind 243444, connect 184972, delroute 0 10.35 real 1.23 user 29.03 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 993603, close 2560444, bind 3309964, connect 2638979, delroute 0 10.00 real 4.97 user 47.80 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 2634257, close 1965343, bind 2936893, connect 0, delroute 0 10.00 real 3.60 user 55.97 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1614412, close 982950, bind 0, connect 3788844, delroute 0 10.00 real 3.95 user 53.27 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1978690, close 1513565, bind 1790129, connect 1546167, delroute 0 10.00 real 3.29 user 55.39 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1909599, close 1151734, bind 1758489, connect 1444608, delroute 0 10.25 real 3.21 user 54.61 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1509294, close 2618279, bind 3519506, connect 3060026, delroute 0 10.00 real 5.60 user 53.86 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