START sys/netinet/bindconnect 2025-01-15T17:09: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 1899039, close 3417345, bind 4067028, connect 2600104, delroute 0 10.01 real 4.89 user 31.87 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2199565, close 2059009, bind 9739550, connect 0, delroute 0 10.00 real 6.86 user 53.03 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1486813, close 552029, bind 0, connect 4586072, delroute 0 10.00 real 4.66 user 49.16 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1890956, close 921443, bind 3826193, connect 2871912, delroute 0 10.00 real 6.19 user 51.80 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 111327, close 67150, bind 167334, connect 149432, delroute 0 10.18 real 0.30 user 14.34 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2122608, close 1634065, bind 3435277, connect 3062352, delroute 0 10.00 real 7.46 user 51.91 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 1555216, close 1133568, bind 1567955, connect 0, delroute 0 10.00 real 1.81 user 53.66 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1535650, close 1042242, bind 0, connect 1649892, delroute 0 10.00 real 1.93 user 43.50 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1513561, close 1040618, bind 840065, connect 643252, delroute 0 10.00 real 1.82 user 46.68 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2190680, close 1436639, bind 241474, connect 180731, delroute 0 10.35 real 1.63 user 29.45 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1084857, close 1936064, bind 2252348, connect 1869467, delroute 0 10.00 real 3.75 user 49.63 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 2943184, close 2284452, bind 4697728, connect 0, delroute 0 10.00 real 4.57 user 55.23 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1869055, close 1013548, bind 0, connect 4350056, delroute 0 10.00 real 3.93 user 54.63 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2284522, close 1600941, bind 2078986, connect 1761714, delroute 0 10.00 real 3.78 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 2108672, close 1194642, bind 2076889, connect 1743601, delroute 0 10.23 real 3.39 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 1701610, close 2191890, bind 3293481, connect 2836215, delroute 0 10.00 real 5.54 user 53.94 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 2699578, close 2061999, bind 4894683, connect 0, delroute 0 10.00 real 4.07 user 55.91 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1696839, close 539312, bind 0, connect 3210137, delroute 0 10.00 real 4.21 user 48.35 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2054151, close 714949, bind 2209214, connect 1751027, delroute 0 10.00 real 4.97 user 51.47 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 119610, close 51755, bind 163353, connect 118269, delroute 0 10.17 real 0.21 user 14.26 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2280003, close 1502092, bind 3211305, connect 2575530, delroute 0 10.00 real 6.87 user 52.36 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 1581880, close 1160122, bind 1423905, connect 0, delroute 0 10.00 real 1.69 user 53.64 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1851590, close 1207005, bind 0, connect 1148123, delroute 0 10.00 real 1.95 user 37.40 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1731159, close 1170359, bind 732001, connect 506346, delroute 0 10.00 real 1.33 user 41.32 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2126959, close 1395234, bind 453102, connect 323839, delroute 0 10.35 real 1.67 user 28.57 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1022017, close 2134057, bind 2452147, connect 1978232, delroute 0 10.00 real 3.90 user 49.12 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 2684688, close 2075679, bind 3152905, connect 0, delroute 0 10.00 real 3.41 user 56.45 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1661604, close 887978, bind 0, connect 3896900, delroute 0 10.00 real 3.90 user 53.32 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1984575, close 1486112, bind 1809740, connect 1546001, delroute 0 10.00 real 3.46 user 55.43 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1854274, close 1117096, bind 1897614, connect 1554769, delroute 0 10.25 real 3.18 user 54.42 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1508395, close 2469625, bind 3425719, connect 2937648, delroute 0 10.00 real 5.41 user 53.77 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