START sys/netinet/bindconnect 2025-03-08T06:37:20Z ==== 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 1184410, close 839114, bind 1587585, connect 928327, delroute 0 10.01 real 3.93 user 30.35 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3030084, close 153151, bind 2580868, connect 0, delroute 0 10.01 real 7.16 user 32.87 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2580964, close 165360, bind 0, connect 1237843, delroute 0 10.01 real 5.60 user 33.04 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3623881, close 128361, bind 362802, connect 264510, delroute 0 10.01 real 7.10 user 32.72 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 251836, close 10513, bind 43330, connect 39299, delroute 0 10.31 real 0.41 user 15.00 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3508142, close 182644, bind 284257, connect 230861, delroute 0 10.01 real 7.34 user 32.60 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 1482243, close 122949, bind 385731, connect 0, delroute 0 10.00 real 5.53 user 33.40 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1154708, close 131104, bind 0, connect 804277, delroute 0 10.01 real 4.98 user 32.78 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1347225, close 115305, bind 286030, connect 237388, delroute 0 10.00 real 5.44 user 32.63 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 119318, close 10425, bind 65794, connect 40301, delroute 0 10.66 real 0.47 user 15.64 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1254080, close 180455, bind 325637, connect 290364, delroute 0 10.01 real 5.22 user 32.49 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 3582373, close 228582, bind 721714, connect 0, delroute 0 10.01 real 8.23 user 31.76 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3677444, close 97497, bind 0, connect 397435, delroute 0 10.01 real 7.19 user 32.82 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3951507, close 90038, bind 139101, connect 119567, delroute 0 10.00 real 7.65 user 32.37 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3951339, close 29827, bind 221710, connect 145327, delroute 0 10.22 real 8.57 user 31.50 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3418327, close 209251, bind 272762, connect 234952, delroute 0 10.00 real 6.83 user 33.18 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 3589328, close 245997, bind 825920, connect 0, delroute 0 10.01 real 7.68 user 32.31 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2657803, close 207831, bind 0, connect 854661, delroute 0 10.00 real 6.31 user 30.83 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3659689, close 87218, bind 247322, connect 149641, delroute 0 10.01 real 7.16 user 32.60 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 135923, close 3976, bind 98189, connect 87831, delroute 0 10.34 real 0.30 user 14.39 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3595161, close 126765, bind 194958, connect 138083, delroute 0 10.01 real 7.95 user 31.92 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 1367220, close 160787, bind 551948, connect 0, delroute 0 10.00 real 5.90 user 33.31 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1175425, close 132971, bind 0, connect 817019, delroute 0 10.00 real 5.11 user 32.22 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1237286, close 126962, bind 362818, connect 282204, delroute 0 10.01 real 5.06 user 32.60 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108999, close 8436, bind 90908, connect 34349, delroute 0 10.64 real 0.44 user 13.30 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1169357, close 267778, bind 478199, connect 402441, delroute 0 10.01 real 5.11 user 32.08 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 3174913, close 208187, bind 554315, connect 0, delroute 0 10.01 real 6.80 user 33.11 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3226247, close 56811, bind 0, connect 304562, delroute 0 10.00 real 7.27 user 32.66 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3293199, close 65942, bind 210502, connect 173479, delroute 0 10.00 real 7.07 user 33.02 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3206959, close 51158, bind 115560, connect 130883, delroute 0 10.27 real 7.28 user 32.66 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3104153, close 142853, bind 225331, connect 170402, delroute 0 10.01 real 7.23 user 32.68 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