START sys/netinet/bindconnect 2025-03-28T02:52:13Z ==== 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 2150383, close 1690020, bind 3435742, connect 1999715, delroute 0 10.00 real 4.17 user 33.43 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3668904, close 356096, bind 5621063, connect 0, delroute 0 10.01 real 8.79 user 51.13 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2455621, close 227377, bind 0, connect 2758292, delroute 0 10.01 real 5.48 user 47.26 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3707357, close 121167, bind 1091411, connect 862783, delroute 0 10.01 real 7.63 user 50.40 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 75603, close 2006, bind 132528, connect 69565, delroute 0 10.12 real 0.15 user 17.53 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4020727, close 136123, bind 647581, connect 549539, delroute 0 10.00 real 8.35 user 51.12 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 1322524, close 761729, bind 3158306, connect 0, delroute 0 10.00 real 5.14 user 50.53 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1275374, close 401476, bind 0, connect 2108612, delroute 0 10.01 real 4.76 user 49.66 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1247994, close 522133, bind 1403090, connect 1081127, delroute 0 10.01 real 4.94 user 48.76 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 113656, close 12899, bind 91720, connect 52342, delroute 0 10.35 real 0.33 user 14.52 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1306571, close 689556, bind 1330935, connect 1162941, delroute 0 10.01 real 5.82 user 50.88 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 4453086, close 32006, bind 183190, connect 0, delroute 0 10.00 real 8.27 user 51.74 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4132201, close 70167, bind 0, connect 740496, delroute 0 10.01 real 8.08 user 51.19 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4250913, close 56311, bind 196203, connect 157023, delroute 0 10.01 real 8.05 user 51.77 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4374041, close 22559, bind 162943, connect 91599, delroute 0 10.16 real 8.31 user 51.75 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4304561, close 76285, bind 221018, connect 180195, delroute 0 10.01 real 7.95 user 51.96 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 4397724, close 32267, bind 213449, connect 0, delroute 0 10.00 real 8.31 user 51.87 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1751505, close 246148, bind 0, connect 2669558, delroute 0 10.01 real 4.13 user 41.13 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4055820, close 60377, bind 396395, connect 299709, delroute 0 10.01 real 7.75 user 51.23 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 75090, close 5645, bind 147350, connect 102493, delroute 0 10.11 real 0.20 user 23.97 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3885407, close 113124, bind 564973, connect 415879, delroute 0 10.00 real 8.26 user 50.81 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 1305155, close 738062, bind 3094860, connect 0, delroute 0 10.00 real 5.57 user 50.51 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1088782, close 536666, bind 0, connect 2968569, delroute 0 10.01 real 4.31 user 47.40 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1070686, close 594128, bind 1717994, connect 1248081, delroute 0 10.01 real 3.70 user 48.50 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97647, close 11869, bind 82376, connect 42449, delroute 0 10.36 real 0.25 user 13.80 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1264125, close 862482, bind 1556658, connect 1269796, delroute 0 10.01 real 6.01 user 50.20 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 3795161, close 19530, bind 110955, connect 0, delroute 0 10.00 real 8.27 user 51.82 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3587372, close 61611, bind 0, connect 702812, delroute 0 10.01 real 7.73 user 51.68 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3699713, close 44690, bind 182039, connect 140244, delroute 0 10.01 real 7.90 user 52.19 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3681510, close 20048, bind 163645, connect 144287, delroute 0 10.17 real 8.08 user 51.78 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3620312, close 87214, bind 282198, connect 231406, delroute 0 10.00 real 7.96 user 51.69 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