START sys/netinet/bindconnect 2025-01-16T02:44:57Z ==== 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 1867324, close 3525405, bind 4316846, connect 2721196, delroute 0 10.00 real 5.14 user 31.21 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2003380, close 1930725, bind 10542193, connect 0, delroute 0 10.01 real 6.34 user 53.75 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1732835, close 475266, bind 0, connect 4198519, delroute 0 10.01 real 4.77 user 50.20 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2073011, close 677896, bind 3275215, connect 2500753, delroute 0 10.01 real 5.92 user 51.50 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108111, close 77146, bind 181583, connect 159401, delroute 0 10.18 real 0.32 user 15.18 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2273272, close 1392888, bind 3094165, connect 2778859, delroute 0 10.01 real 6.70 user 52.45 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 1595925, close 1223705, bind 1687822, connect 0, delroute 0 10.00 real 1.70 user 54.57 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1520710, close 1035434, bind 0, connect 1726785, delroute 0 10.01 real 1.91 user 43.74 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1479889, close 1015266, bind 948830, connect 719115, delroute 0 10.01 real 2.08 user 46.34 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2202245, close 1400655, bind 196839, connect 139710, delroute 0 10.37 real 1.25 user 29.40 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1088524, close 1868576, bind 2194780, connect 1781028, delroute 0 10.00 real 3.98 user 49.44 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 3034412, close 2303996, bind 4382238, connect 0, delroute 0 10.00 real 4.24 user 55.84 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1906201, close 1017180, bind 0, connect 4335561, delroute 0 10.01 real 4.33 user 54.09 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2275996, close 1608672, bind 2147713, connect 1824466, delroute 0 10.01 real 3.68 user 55.20 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2141853, close 1256768, bind 2115348, connect 1787043, delroute 0 10.24 real 3.97 user 54.34 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1685401, close 2041716, bind 3219272, connect 2722983, delroute 0 10.01 real 4.95 user 54.46 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 2773932, close 2041833, bind 4766661, connect 0, delroute 0 10.00 real 3.94 user 55.97 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1571704, close 562153, bind 0, connect 3403423, delroute 0 10.01 real 4.45 user 48.03 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2081688, close 662204, bind 2241786, connect 1772515, delroute 0 10.01 real 5.02 user 51.16 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103436, close 35784, bind 157463, connect 155740, delroute 0 10.18 real 0.28 user 14.41 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2244711, close 1473076, bind 3283161, connect 2607919, delroute 0 10.01 real 6.98 user 52.03 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 1573649, close 1159098, bind 1517430, connect 0, delroute 0 10.00 real 1.76 user 53.39 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1835804, close 1227534, bind 0, connect 1273270, delroute 0 10.01 real 1.89 user 37.14 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1733122, close 1142900, bind 710075, connect 504369, delroute 0 10.01 real 1.75 user 40.44 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2133279, close 1402970, bind 396284, connect 249029, delroute 0 10.36 real 1.45 user 28.99 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1032055, close 1916861, bind 2279587, connect 1845229, delroute 0 10.01 real 3.73 user 49.75 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 2607593, close 2094879, bind 3186753, connect 0, delroute 0 10.00 real 3.26 user 56.27 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1659763, close 850870, bind 0, connect 3833576, delroute 0 10.01 real 3.89 user 53.49 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1980718, close 1502931, bind 1764005, connect 1495994, delroute 0 10.01 real 3.15 user 55.36 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1866225, close 1157259, bind 2014436, connect 1649685, delroute 0 10.26 real 3.26 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 1522849, close 2363946, bind 3335277, connect 2871371, delroute 0 10.01 real 5.30 user 54.05 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