START sys/netinet/bindconnect 2025-03-25T02:49:57Z ==== 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 2176801, close 1732408, bind 3516345, connect 2026529, delroute 0 10.01 real 4.09 user 33.17 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4282085, close 178259, bind 1636800, connect 0, delroute 0 10.01 real 8.32 user 51.88 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2735252, close 201264, bind 0, connect 2353483, delroute 0 10.01 real 5.98 user 46.80 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4196777, close 63620, bind 427071, connect 348504, delroute 0 10.01 real 7.95 user 51.09 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 83247, close 3930, bind 95218, connect 53229, delroute 0 10.16 real 0.14 user 18.35 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4028902, close 144179, bind 677299, connect 581789, delroute 0 10.00 real 7.83 user 51.07 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 1319876, close 906014, bind 3834274, connect 0, delroute 0 10.00 real 5.33 user 50.05 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1163798, close 601939, bind 0, connect 3160213, delroute 0 10.01 real 4.54 user 47.62 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1236836, close 571529, bind 1544302, connect 1191670, delroute 0 10.01 real 4.30 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 109470, close 13203, bind 88578, connect 57323, delroute 0 10.30 real 0.23 user 15.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 1345800, close 792680, bind 1463054, connect 1214782, delroute 0 10.01 real 6.03 user 50.35 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 4503492, close 48252, bind 285711, connect 0, delroute 0 10.00 real 8.12 user 51.85 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4188256, close 65651, bind 0, connect 718370, delroute 0 10.01 real 7.64 user 51.96 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4381293, close 57160, bind 196694, connect 157487, delroute 0 10.01 real 8.34 user 51.54 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4479160, close 33265, bind 182179, connect 180609, delroute 0 10.17 real 7.95 user 52.15 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4338045, close 86603, bind 255928, connect 206077, delroute 0 10.00 real 8.42 user 51.37 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 4441120, close 44728, bind 282153, connect 0, delroute 0 10.00 real 7.88 user 52.04 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1645964, close 202773, bind 0, connect 2659694, delroute 0 10.01 real 3.98 user 39.03 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4016017, close 71677, bind 491276, connect 378131, delroute 0 10.01 real 8.06 user 50.35 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 78903, close 2662, bind 106233, connect 128861, delroute 0 10.18 real 0.20 user 24.07 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3939188, close 133432, bind 643935, connect 486838, delroute 0 10.01 real 7.78 user 50.85 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 1339218, close 851910, bind 3625688, connect 0, delroute 0 10.00 real 5.06 user 50.78 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1079048, close 607272, bind 0, connect 3360798, delroute 0 10.01 real 3.88 user 47.49 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1139675, close 659125, bind 1857300, connect 1385573, delroute 0 10.01 real 4.16 user 47.53 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 93490, close 10986, bind 83081, connect 41520, delroute 0 10.36 real 0.24 user 14.04 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1258516, close 1018530, bind 1897052, connect 1515120, delroute 0 10.00 real 5.65 user 50.31 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 3822457, close 33081, bind 190479, connect 0, delroute 0 10.00 real 8.26 user 51.78 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3528835, close 70701, bind 0, connect 852056, delroute 0 10.01 real 7.30 user 51.82 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3726764, close 47381, bind 179494, connect 140709, delroute 0 10.01 real 7.82 user 52.00 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3689503, close 21464, bind 192185, connect 197944, delroute 0 10.18 real 8.17 user 51.90 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3661159, close 75385, bind 247354, connect 200553, delroute 0 10.01 real 7.66 user 52.14 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