START sys/netinet/bindconnect 2025-01-09T02:51:02Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=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 1895971, close 3429509, bind 4171438, connect 2643740, delroute 0 10.01 real 5.18 user 30.81 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2133082, close 1836157, bind 10470789, connect 0, delroute 0 10.01 real 6.65 user 53.32 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2326850, close 403589, bind 0, connect 3036605, delroute 0 10.01 real 6.09 user 49.01 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2492553, close 678309, bind 2096445, connect 1926502, delroute 0 10.01 real 6.22 user 51.76 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 138982, close 33258, bind 136610, connect 140898, delroute 0 10.20 real 0.24 user 13.75 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2316392, close 1381911, bind 3063466, connect 2766618, delroute 0 10.00 real 7.45 user 51.82 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 1576866, close 1165263, bind 1717699, connect 0, delroute 0 10.00 real 1.95 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 1257418, close 779121, bind 0, connect 2766836, delroute 0 10.01 real 3.00 user 50.31 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1363919, close 878879, bind 1296825, connect 943434, delroute 0 10.01 real 2.31 user 51.03 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 355611, close 217300, bind 179812, connect 148832, delroute 0 10.40 real 0.40 user 22.75 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1074656, close 1516022, bind 2750402, connect 2159806, delroute 0 10.01 real 4.44 user 50.64 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 3130134, close 2286800, bind 4459932, connect 0, delroute 0 10.00 real 4.41 user 55.54 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1958047, close 1020492, bind 0, connect 4417539, delroute 0 10.01 real 4.41 user 53.95 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2297439, close 1648076, bind 2169177, connect 1867367, delroute 0 10.00 real 3.57 user 55.50 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2191604, close 1232340, bind 2188410, connect 1834484, delroute 0 10.23 real 3.78 user 54.63 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1803513, close 2151125, bind 3171810, connect 2788191, delroute 0 10.00 real 5.79 user 53.77 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 2807027, close 2082387, bind 4908266, connect 0, delroute 0 10.00 real 4.66 user 55.27 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1627382, close 549795, bind 0, connect 3356321, delroute 0 10.01 real 4.40 user 47.45 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2408363, close 564031, bind 1809870, connect 1489549, delroute 0 10.01 real 5.65 user 50.65 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97312, close 21793, bind 87041, connect 59592, delroute 0 10.15 real 0.18 user 14.07 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2505297, close 1300458, bind 2863927, connect 2316997, delroute 0 10.00 real 6.75 user 52.32 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 1608758, close 1161500, bind 1520340, connect 0, delroute 0 10.00 real 1.66 user 53.94 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1243311, close 773189, bind 0, connect 2563188, delroute 0 10.01 real 2.64 user 48.45 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1329239, close 832859, bind 1341463, connect 913149, delroute 0 10.01 real 2.50 user 49.76 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 138125, close 77079, bind 256596, connect 182400, delroute 0 10.33 real 0.38 user 19.11 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1071891, close 1317509, bind 2525649, connect 1851769, delroute 0 10.01 real 3.86 user 51.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 2700225, close 2148655, bind 3030470, connect 0, delroute 0 10.00 real 3.35 user 56.09 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1669478, close 932530, bind 0, connect 3854186, delroute 0 10.01 real 4.10 user 53.56 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2100775, close 1583161, bind 1745184, connect 1426495, delroute 0 10.01 real 3.20 user 55.66 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1945883, close 1161408, bind 1853960, connect 1562352, delroute 0 10.26 real 3.24 user 54.87 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1548524, close 2342177, bind 3257788, connect 2823448, delroute 0 10.01 real 5.32 user 53.95 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