START sys/netinet/bindconnect 2025-04-01T01:47:38Z ==== 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 2160154, close 1700482, bind 3435421, connect 1968259, delroute 0 10.00 real 3.89 user 33.44 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4289559, close 185534, bind 1332176, connect 0, delroute 0 10.01 real 8.23 user 51.74 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2485568, close 230823, bind 0, connect 2627333, delroute 0 10.01 real 5.51 user 45.90 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4146779, close 62892, bind 438416, connect 365522, delroute 0 10.01 real 7.41 user 51.78 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103672, close 3542, bind 100531, connect 124959, delroute 0 10.17 real 0.26 user 15.37 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3990074, close 149303, bind 724622, connect 620273, delroute 0 10.00 real 7.88 user 51.27 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 1308134, close 856588, bind 3523496, connect 0, delroute 0 10.00 real 5.06 user 50.17 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1176545, close 532721, bind 0, connect 2785864, delroute 0 10.01 real 4.24 user 48.54 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1232431, close 615025, bind 1620524, connect 1255938, delroute 0 10.01 real 4.04 user 48.92 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108924, close 22975, bind 102039, connect 63251, delroute 0 10.37 real 0.28 user 14.76 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1249804, close 1017340, bind 1836962, connect 1516977, delroute 0 10.00 real 5.54 user 50.36 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 4446923, close 89010, bind 500814, connect 0, delroute 0 10.00 real 7.37 user 52.67 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4050284, close 70125, bind 0, connect 804558, delroute 0 10.01 real 7.39 user 51.73 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4337650, close 64919, bind 227158, connect 183781, delroute 0 10.01 real 8.42 user 51.45 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4461341, close 31514, bind 141137, connect 143410, delroute 0 10.17 real 8.12 user 51.84 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4213600, close 114120, bind 334839, connect 271564, delroute 0 10.00 real 7.82 user 51.84 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 4362312, close 49559, bind 326783, connect 0, delroute 0 10.00 real 7.83 user 52.21 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1647893, close 255118, bind 0, connect 2721772, delroute 0 10.01 real 4.00 user 40.51 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3904699, close 85828, bind 554366, connect 427808, delroute 0 10.01 real 7.34 user 50.69 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 75190, close 1620, bind 161936, connect 205621, delroute 0 10.14 real 0.23 user 22.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 3787490, close 147280, bind 707526, connect 533092, delroute 0 10.00 real 7.26 user 51.08 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 1306468, close 858134, bind 3609507, connect 0, delroute 0 10.00 real 5.08 user 49.85 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1079201, close 602340, bind 0, connect 3285200, delroute 0 10.01 real 3.92 user 47.04 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1169062, close 603544, bind 1664217, connect 1214380, delroute 0 10.01 real 3.96 user 48.51 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 107504, close 16717, bind 99279, connect 66811, delroute 0 10.38 real 0.30 user 15.76 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1255107, close 932711, bind 1642262, connect 1352187, delroute 0 10.01 real 5.83 user 50.53 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 3784110, close 40403, bind 240900, connect 0, delroute 0 10.00 real 7.63 user 52.20 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3436501, close 87928, bind 0, connect 1042712, delroute 0 10.01 real 6.78 user 52.45 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3711483, close 59653, bind 228534, connect 178302, delroute 0 10.01 real 7.60 user 52.17 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3718784, close 47777, bind 279028, connect 274204, delroute 0 10.20 real 7.79 user 52.30 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3604623, close 125959, bind 428690, connect 339500, delroute 0 10.01 real 7.83 user 51.93 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