START sys/netinet/bindconnect 2025-03-17T16:04:00Z ==== 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 2162353, close 1692569, bind 3485085, connect 1998316, delroute 0 10.00 real 3.84 user 32.58 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4229037, close 144713, bind 1040949, connect 0, delroute 0 10.00 real 8.33 user 51.69 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2310834, close 252831, bind 0, connect 2780939, delroute 0 10.00 real 5.27 user 46.12 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4060035, close 61648, bind 430967, connect 348042, delroute 0 10.00 real 7.75 user 51.41 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 75519, close 5352, bind 111830, connect 89457, delroute 0 10.10 real 0.11 user 14.73 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3879559, close 153253, bind 737302, connect 620410, delroute 0 10.00 real 7.28 user 51.89 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 1373732, close 715892, bind 3089107, connect 0, delroute 0 10.00 real 5.77 user 50.58 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1223170, close 456128, bind 0, connect 2572757, delroute 0 10.00 real 4.70 user 49.23 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1282265, close 408554, bind 1179648, connect 909778, delroute 0 10.00 real 4.90 user 50.10 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 105575, close 7512, bind 68520, connect 61251, delroute 0 10.33 real 0.24 user 16.52 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1300819, close 750183, bind 1484733, connect 1245694, delroute 0 10.00 real 6.35 user 50.19 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 4328574, close 80612, bind 480291, connect 0, delroute 0 10.00 real 8.02 user 52.01 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4046330, close 64825, bind 0, connect 780420, delroute 0 10.00 real 8.09 user 51.25 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4257112, close 46780, bind 172480, connect 140107, delroute 0 10.00 real 7.86 user 52.00 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4274426, close 31857, bind 113163, connect 107657, delroute 0 10.16 real 7.73 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 4246955, close 92361, bind 300809, connect 243476, delroute 0 10.00 real 8.01 user 51.66 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 4279270, close 77927, bind 523978, connect 0, delroute 0 10.00 real 8.62 user 51.32 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1603600, close 221762, bind 0, connect 2693473, delroute 0 10.00 real 4.04 user 38.07 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3922133, close 67105, bind 460676, connect 357028, delroute 0 10.00 real 7.73 user 50.15 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 85698, close 2621, bind 77067, connect 68919, delroute 0 10.12 real 0.19 user 18.71 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3789043, close 155944, bind 772640, connect 583496, delroute 0 10.01 real 7.67 user 50.46 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 1330905, close 695831, bind 3026751, connect 0, delroute 0 10.00 real 5.27 user 51.48 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1153463, close 477011, bind 0, connect 2839888, delroute 0 10.00 real 4.42 user 48.14 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1145353, close 579975, bind 1779278, connect 1297086, delroute 0 10.00 real 4.48 user 47.89 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 91261, close 4351, bind 76052, connect 36979, delroute 0 10.32 real 0.20 user 14.19 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1195260, close 914339, bind 1828053, connect 1467871, delroute 0 10.01 real 6.03 user 49.95 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 3805198, close 42631, bind 247253, connect 0, delroute 0 10.00 real 8.05 user 52.01 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3483914, close 67975, bind 0, connect 866148, delroute 0 10.00 real 7.75 user 51.29 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3723512, close 46589, bind 186852, connect 148390, delroute 0 10.00 real 7.67 user 52.27 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3679923, close 26000, bind 141120, connect 158811, delroute 0 10.17 real 8.30 user 51.75 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3592373, close 96273, bind 323494, connect 264285, delroute 0 10.01 real 7.60 user 52.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