START sys/netinet/bindconnect 2025-03-15T06:40:34Z ==== 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 1138878, close 808835, bind 1597505, connect 929162, delroute 0 10.00 real 3.50 user 30.30 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3168495, close 134512, bind 2041507, connect 0, delroute 0 10.01 real 7.03 user 32.96 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2538120, close 174574, bind 0, connect 1141162, delroute 0 10.01 real 6.53 user 32.34 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3542593, close 111370, bind 255970, connect 194113, delroute 0 10.01 real 7.07 user 32.86 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 141893, close 5954, bind 139660, connect 104154, delroute 0 10.27 real 0.61 user 15.02 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3207095, close 237419, bind 339147, connect 251161, delroute 0 10.00 real 6.71 user 33.35 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 1349264, close 185639, bind 590659, connect 0, delroute 0 10.00 real 5.45 user 33.53 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1178583, close 134508, bind 0, connect 716732, delroute 0 10.01 real 4.51 user 32.91 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1239770, close 144243, bind 371240, connect 304624, delroute 0 10.01 real 4.91 user 32.83 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 186491, close 12552, bind 67011, connect 41808, delroute 0 10.70 real 0.72 user 15.78 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1212455, close 226191, bind 420046, connect 354333, delroute 0 10.00 real 5.06 user 32.32 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 3536788, close 198271, bind 604728, connect 0, delroute 0 10.01 real 6.82 user 33.15 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3496998, close 69978, bind 0, connect 212881, delroute 0 10.01 real 6.76 user 33.24 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3672345, close 90686, bind 207657, connect 164491, delroute 0 10.01 real 7.05 user 32.96 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3698590, close 77987, bind 127955, connect 127206, delroute 0 10.31 real 7.43 user 32.58 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3360588, close 224943, bind 260481, connect 242295, delroute 0 10.00 real 7.08 user 32.78 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 4011382, close 50224, bind 254138, connect 0, delroute 0 10.00 real 7.98 user 31.91 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2378636, close 208551, bind 0, connect 873927, delroute 0 10.01 real 5.67 user 31.57 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3251032, close 144286, bind 338999, connect 205335, delroute 0 10.01 real 6.57 user 33.09 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 84499, close 879, bind 174079, connect 156763, delroute 0 10.26 real 0.40 user 16.31 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3133329, close 171643, bind 299159, connect 203077, delroute 0 10.00 real 6.67 user 33.17 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 1386313, close 203580, bind 647322, connect 0, delroute 0 10.01 real 5.58 user 33.40 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1083256, close 126467, bind 0, connect 811567, delroute 0 10.01 real 4.53 user 32.10 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1171991, close 134424, bind 382279, connect 294731, delroute 0 10.01 real 4.59 user 32.89 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 107461, close 8657, bind 101493, connect 34662, delroute 0 10.61 real 0.41 user 14.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 1168236, close 243557, bind 442325, connect 342534, delroute 0 10.00 real 4.92 user 32.51 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 2701403, close 268395, bind 838138, connect 0, delroute 0 10.01 real 6.03 user 34.14 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3025444, close 77384, bind 0, connect 426531, delroute 0 10.01 real 6.90 user 32.99 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3091263, close 91695, bind 190736, connect 151166, delroute 0 10.04 real 7.29 user 32.94 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2882614, close 90591, bind 278145, connect 252433, delroute 0 10.35 real 7.04 user 33.08 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2911790, close 138228, bind 217252, connect 199335, delroute 0 10.00 real 7.12 user 32.91 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