START sys/netinet/bindconnect 2025-03-29T06:43:42Z ==== 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 1196950, close 813914, bind 1581828, connect 922495, delroute 0 10.01 real 3.47 user 30.74 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3061855, close 145254, bind 2271186, connect 0, delroute 0 10.01 real 7.15 user 32.84 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1964253, close 218156, bind 0, connect 1699436, delroute 0 10.01 real 4.92 user 33.10 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3015265, close 142657, bind 683920, connect 486881, delroute 0 10.01 real 6.58 user 33.11 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 120179, close 5450, bind 85515, connect 111631, delroute 0 10.31 real 0.39 user 14.08 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3376044, close 208813, bind 356885, connect 284852, delroute 0 10.00 real 6.78 user 33.17 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 1334600, close 186056, bind 646241, connect 0, delroute 0 10.00 real 5.35 user 33.83 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1106911, close 125758, bind 0, connect 800660, delroute 0 10.01 real 4.36 user 33.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 1119488, close 156270, bind 464546, connect 391924, delroute 0 10.01 real 4.24 user 33.39 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 119111, close 7635, bind 75265, connect 34369, delroute 0 10.69 real 0.34 user 14.42 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1054988, close 288763, bind 605244, connect 513884, delroute 0 10.01 real 4.71 user 32.70 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 3123222, close 336586, bind 947527, connect 0, delroute 0 10.01 real 6.45 user 33.53 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3603387, close 80240, bind 0, connect 330366, delroute 0 10.01 real 7.52 user 32.62 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3387475, close 108131, bind 259743, connect 224314, delroute 0 10.01 real 6.88 user 33.15 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3623485, close 68596, bind 220642, connect 202754, delroute 0 10.30 real 8.20 user 31.73 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3313523, close 242540, bind 372966, connect 306928, delroute 0 10.00 real 7.58 user 32.43 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 2669947, close 365857, bind 1325799, connect 0, delroute 0 10.00 real 5.26 user 34.65 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2349456, close 209962, bind 0, connect 935825, delroute 0 10.01 real 5.86 user 31.29 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3197143, close 140383, bind 375111, connect 223850, delroute 0 10.01 real 6.85 user 32.86 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 100787, close 2034, bind 62108, connect 144577, delroute 0 10.28 real 0.17 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 3076676, close 211054, bind 296333, connect 226400, delroute 0 10.01 real 6.43 user 33.53 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 1347965, close 201142, bind 626890, connect 0, delroute 0 10.01 real 5.49 user 33.53 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 960695, close 175253, bind 0, connect 1067785, delroute 0 10.01 real 4.20 user 32.01 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1095915, close 187011, bind 509199, connect 386597, delroute 0 10.01 real 4.62 user 32.43 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 121245, close 11984, bind 63726, connect 32733, delroute 0 10.60 real 0.51 user 14.92 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1223302, close 278669, bind 451959, connect 348298, delroute 0 10.01 real 5.18 user 32.09 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 3180410, close 172082, bind 497880, connect 0, delroute 0 10.01 real 7.66 user 32.30 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3070648, close 77711, bind 0, connect 392878, delroute 0 10.01 real 6.97 user 32.98 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3083549, close 94592, bind 271919, connect 218174, delroute 0 10.01 real 7.00 user 33.03 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3016553, close 67030, bind 272322, connect 193948, delroute 0 10.33 real 7.44 user 32.56 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2888555, close 185054, bind 273134, connect 219919, delroute 0 10.00 real 6.63 user 33.23 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