START sys/netinet/bindconnect 2025-03-27T02:47:22Z ==== 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 2183891, close 1708601, bind 3486333, connect 1991069, delroute 0 10.00 real 3.94 user 33.16 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3964433, close 293518, bind 3497318, connect 0, delroute 0 10.01 real 8.66 user 51.61 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2615993, close 202743, bind 0, connect 2462369, delroute 0 10.01 real 6.05 user 46.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 4238990, close 48450, bind 336590, connect 274259, delroute 0 10.01 real 7.59 user 52.09 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103357, close 3360, bind 175315, connect 190808, delroute 0 10.17 real 0.23 user 15.36 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4032950, close 123030, bind 604967, connect 508499, delroute 0 10.01 real 8.28 user 51.08 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 1408854, close 879705, bind 3921833, connect 0, delroute 0 10.00 real 5.42 user 50.38 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1225212, close 598471, bind 0, connect 3210289, delroute 0 10.01 real 4.69 user 48.03 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1343405, close 517588, bind 1473633, connect 1123659, delroute 0 10.01 real 5.44 user 48.90 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108103, close 12001, bind 76882, connect 51376, delroute 0 10.36 real 0.27 user 13.43 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1309198, close 984961, bind 1912761, connect 1556280, delroute 0 10.01 real 6.01 user 49.88 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 4411307, close 25717, bind 151053, connect 0, delroute 0 10.00 real 8.52 user 51.48 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4089596, close 60348, bind 0, connect 696841, delroute 0 10.01 real 7.40 user 52.15 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4318054, close 41756, bind 154871, connect 126097, delroute 0 10.01 real 8.03 user 51.89 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4485719, close 17582, bind 59140, connect 51846, delroute 0 10.15 real 8.40 user 51.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 4320335, close 68471, bind 213110, connect 178691, delroute 0 10.01 real 8.00 user 51.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 4371653, close 20782, bind 136646, connect 0, delroute 0 10.00 real 8.05 user 52.00 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1666575, close 208255, bind 0, connect 2635400, delroute 0 10.01 real 4.18 user 38.44 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4056363, close 53012, bind 373610, connect 292091, delroute 0 10.01 real 8.24 user 50.32 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98612, close 2264, bind 177448, connect 116095, delroute 0 10.16 real 0.36 user 20.15 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3912417, close 110787, bind 559276, connect 426113, delroute 0 10.00 real 7.90 user 50.96 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 1386484, close 995908, bind 4573148, connect 0, delroute 0 10.00 real 5.36 user 50.16 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1195620, close 546752, bind 0, connect 3256143, delroute 0 10.01 real 4.46 user 47.65 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1229953, close 601418, bind 1793220, connect 1337279, delroute 0 10.01 real 4.39 user 48.25 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 109101, close 12422, bind 80970, connect 41840, delroute 0 10.37 real 0.30 user 14.90 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1286765, close 1100065, bind 2144600, connect 1713500, delroute 0 10.00 real 6.13 user 49.32 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 3788723, close 27257, bind 158889, connect 0, delroute 0 10.00 real 8.23 user 51.87 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3506662, close 69990, bind 0, connect 881142, delroute 0 10.01 real 8.08 user 51.01 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3786053, close 43789, bind 175257, connect 138793, delroute 0 10.01 real 7.88 user 52.29 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3667503, close 23758, bind 121266, connect 91543, delroute 0 10.17 real 8.33 user 51.53 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3601293, close 102106, bind 341746, connect 283955, delroute 0 10.00 real 7.75 user 52.22 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