START sys/netinet/bindconnect 2025-03-22T06:41:49Z ==== 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 1296916, close 784182, bind 1462929, connect 859653, delroute 0 10.01 real 3.48 user 30.01 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3110020, close 116442, bind 2446042, connect 0, delroute 0 10.01 real 7.92 user 32.17 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2200714, close 171033, bind 0, connect 1463315, delroute 0 10.01 real 5.23 user 33.42 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3490684, close 127136, bind 325611, connect 241992, delroute 0 10.01 real 7.18 user 32.68 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 72107, close 2169, bind 225857, connect 152212, delroute 0 10.19 real 0.27 user 19.63 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3405746, close 189304, bind 302912, connect 252900, delroute 0 10.00 real 6.75 user 33.21 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 1422136, close 153025, bind 561396, connect 0, delroute 0 10.00 real 5.42 user 33.60 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1139103, close 144813, bind 0, connect 908079, delroute 0 10.01 real 4.63 user 32.79 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1198511, close 147060, bind 432371, connect 355123, delroute 0 10.01 real 4.63 user 33.14 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 117637, close 15974, bind 52350, connect 39086, delroute 0 10.65 real 0.45 user 15.53 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1218791, close 224332, bind 427967, connect 373925, delroute 0 10.00 real 5.16 user 32.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 3494160, close 192263, bind 715546, connect 0, delroute 0 10.01 real 7.01 user 32.92 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3830979, close 52392, bind 0, connect 224327, delroute 0 10.01 real 7.26 user 32.76 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3841243, close 69334, bind 194226, connect 152589, delroute 0 10.01 real 7.65 user 32.35 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3805072, close 42414, bind 209076, connect 162554, delroute 0 10.26 real 7.65 user 32.29 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3524023, close 228587, bind 288836, connect 236767, delroute 0 10.01 real 7.22 user 32.67 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 2832955, close 404373, bind 1158600, connect 0, delroute 0 10.01 real 5.47 user 34.48 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2522381, close 214412, bind 0, connect 935509, delroute 0 10.00 real 5.72 user 31.74 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3426896, close 128827, bind 363755, connect 199306, delroute 0 10.00 real 6.56 user 33.08 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 92672, close 4417, bind 110036, connect 87018, delroute 0 10.26 real 0.22 user 13.17 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3257753, close 184442, bind 308289, connect 193483, delroute 0 10.00 real 6.88 user 33.02 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 1406176, close 171017, bind 567620, connect 0, delroute 0 10.00 real 5.54 user 33.66 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1095353, close 142904, bind 0, connect 868769, delroute 0 10.01 real 4.28 user 32.96 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1176600, close 149468, bind 412561, connect 325182, delroute 0 10.01 real 4.79 user 32.71 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 133937, close 12985, bind 50526, connect 34562, delroute 0 10.75 real 0.60 user 15.42 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1223315, close 255031, bind 433623, connect 351470, delroute 0 10.01 real 5.27 user 31.96 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 2329621, close 544865, bind 1492504, connect 0, delroute 0 10.00 real 5.35 user 34.68 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3064656, close 53168, bind 0, connect 319994, delroute 0 10.01 real 6.89 user 33.11 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3207032, close 82583, bind 157021, connect 128692, delroute 0 10.01 real 7.61 user 32.32 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3019474, close 61864, bind 188242, connect 148159, delroute 0 10.31 real 6.76 user 33.16 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3087414, close 106459, bind 165814, connect 154450, delroute 0 10.01 real 6.97 user 33.11 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