START sys/netinet/bindconnect 2025-01-04T02:55:46Z ==== 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 889096, close 1559347, bind 3690206, connect 3100862, delroute 0 10.00 real 4.26 user 27.93 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4151897, close 14415, bind 282960, connect 0, delroute 0 10.01 real 7.34 user 52.71 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4077920, close 4595, bind 0, connect 158447, delroute 0 10.01 real 7.23 user 52.73 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4169466, close 5830, bind 82219, connect 56741, delroute 0 10.01 real 6.90 user 53.01 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1269730, close 1628, bind 39863, connect 31288, delroute 0 10.17 real 2.46 user 34.51 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4202068, close 8329, bind 56876, connect 45297, delroute 0 10.01 real 7.23 user 52.75 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 1988099, close 22447, bind 505148, connect 0, delroute 0 10.00 real 6.52 user 52.64 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1959655, close 33764, bind 0, connect 372691, delroute 0 10.01 real 6.15 user 52.38 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1902180, close 26892, bind 172797, connect 189026, delroute 0 10.01 real 6.56 user 52.38 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 149225, close 5325, bind 47640, connect 41090, delroute 0 10.40 real 0.40 user 21.10 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1943322, close 40744, bind 167764, connect 186387, delroute 0 10.00 real 7.30 user 51.54 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 4269087, close 7777, bind 226852, connect 0, delroute 0 10.00 real 7.82 user 52.08 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4008549, close 6174, bind 0, connect 275177, delroute 0 10.01 real 7.31 user 52.44 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4207702, close 4708, bind 69936, connect 50791, delroute 0 10.01 real 7.21 user 52.63 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4245418, close 5365, bind 85870, connect 71684, delroute 0 10.13 real 7.53 user 52.25 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4156204, close 10193, bind 67554, connect 54025, delroute 0 10.00 real 6.87 user 53.12 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 4200419, close 7630, bind 179864, connect 0, delroute 0 10.00 real 7.66 user 52.27 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3965462, close 3712, bind 0, connect 186767, delroute 0 10.01 real 6.91 user 52.99 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4114738, close 5680, bind 85726, connect 62795, delroute 0 10.01 real 7.48 user 52.38 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1180858, close 1541, bind 40894, connect 30809, delroute 0 10.15 real 1.97 user 34.40 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4049661, close 11568, bind 63528, connect 49505, delroute 0 10.00 real 7.58 user 52.39 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 1959180, close 26071, bind 539936, connect 0, delroute 0 10.00 real 6.21 user 52.81 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1859193, close 52019, bind 0, connect 524303, delroute 0 10.01 real 6.39 user 51.93 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1886895, close 27408, bind 161376, connect 177050, delroute 0 10.01 real 6.51 user 51.98 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 184231, close 4962, bind 44324, connect 38902, delroute 0 10.42 real 0.60 user 21.74 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1843547, close 46648, bind 154319, connect 174377, delroute 0 10.01 real 6.18 user 52.19 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 3583073, close 9484, bind 239394, connect 0, delroute 0 10.13 real 7.00 user 53.84 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3322913, close 5814, bind 0, connect 262984, delroute 0 10.01 real 6.63 user 52.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 3434831, close 7724, bind 120116, connect 87231, delroute 0 10.01 real 7.03 user 52.71 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3396541, close 4873, bind 83482, connect 65268, delroute 0 10.14 real 7.31 user 52.45 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3443352, close 15538, bind 79643, connect 67993, delroute 0 10.00 real 7.24 user 52.59 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