START sys/netinet/bindconnect 2025-03-13T02:45:25Z ==== 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 2171705, close 1728348, bind 3410654, connect 1967918, delroute 0 10.01 real 4.23 user 32.67 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3683615, close 346290, bind 4606492, connect 0, delroute 0 10.01 real 8.20 user 51.79 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2493852, close 241151, bind 0, connect 2857891, delroute 0 10.01 real 5.21 user 48.24 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3428792, close 168632, bind 1647932, connect 1199613, delroute 0 10.01 real 7.46 user 50.03 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 83836, close 1925, bind 84796, connect 57146, delroute 0 10.15 real 0.20 user 19.33 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4018633, close 136139, bind 652959, connect 533755, delroute 0 10.01 real 8.44 user 50.98 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 1346872, close 695488, bind 2999660, connect 0, delroute 0 10.00 real 5.30 user 51.17 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1210502, close 529031, bind 0, connect 2743694, delroute 0 10.01 real 4.47 user 48.97 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1212563, close 551581, bind 1501449, connect 1158558, delroute 0 10.01 real 4.40 user 49.16 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98001, close 10294, bind 86097, connect 56590, delroute 0 10.29 real 0.31 user 17.38 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1249274, close 875208, bind 1696522, connect 1394649, delroute 0 10.00 real 5.76 user 50.31 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 4374392, close 37374, bind 242617, connect 0, delroute 0 10.00 real 7.97 user 52.12 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4132708, close 59353, bind 0, connect 648803, delroute 0 10.01 real 7.64 user 51.97 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4256180, close 44106, bind 154995, connect 122117, delroute 0 10.01 real 7.91 user 52.08 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4340065, close 18247, bind 67050, connect 62414, delroute 0 10.15 real 7.88 user 52.10 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4205593, close 67817, bind 200100, connect 163877, delroute 0 10.00 real 7.78 user 52.03 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 4296936, close 24309, bind 162473, connect 0, delroute 0 10.00 real 8.06 user 52.10 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1978551, close 224599, bind 0, connect 2378342, delroute 0 10.01 real 4.52 user 42.71 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4085599, close 52651, bind 345075, connect 252751, delroute 0 10.01 real 7.70 user 51.44 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 99701, close 889, bind 245696, connect 124298, delroute 0 10.15 real 0.18 user 19.94 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3922268, close 93906, bind 482305, connect 357010, delroute 0 10.00 real 7.33 user 51.61 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 1335969, close 710623, bind 3068946, connect 0, delroute 0 10.00 real 5.13 user 51.17 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1070101, close 587034, bind 0, connect 3313999, delroute 0 10.01 real 4.26 user 47.66 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1207854, close 502842, bind 1444617, connect 1073377, delroute 0 10.01 real 4.20 user 49.88 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 94175, close 6993, bind 77034, connect 35461, delroute 0 10.31 real 0.16 user 13.84 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1247955, close 772351, bind 1420140, connect 1154237, delroute 0 10.00 real 5.80 user 50.70 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 3778803, close 20199, bind 115611, connect 0, delroute 0 10.00 real 7.50 user 52.37 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3420971, close 81504, bind 0, connect 973077, delroute 0 10.01 real 7.26 user 51.80 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3667495, close 40469, bind 156547, connect 120995, delroute 0 10.01 real 7.40 user 52.51 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3672123, close 16881, bind 89835, connect 68016, delroute 0 10.17 real 8.27 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 3552587, close 90818, bind 310016, connect 247113, delroute 0 10.01 real 7.90 user 52.00 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