START sys/netinet/bindconnect 2025-03-21T02:41:56Z ==== 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 3249626, close 2332697, bind 4314138, connect 2505816, delroute 0 10.01 real 5.32 user 31.95 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 6614612, close 434771, bind 3981820, connect 0, delroute 0 10.09 real 11.58 user 49.19 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4976316, close 193150, bind 0, connect 2148665, delroute 0 10.00 real 8.45 user 48.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 7130165, close 30786, bind 186568, connect 165056, delroute 0 10.00 real 11.57 user 48.34 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 121387, close 4677, bind 56983, connect 51095, delroute 0 10.12 real 0.30 user 12.84 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 6843253, close 85548, bind 402168, connect 372414, delroute 0 10.00 real 11.09 user 48.38 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 2294509, close 711007, bind 2823708, connect 0, delroute 0 10.01 real 7.49 user 50.27 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2087753, close 486199, bind 0, connect 2448876, delroute 0 10.00 real 6.57 user 49.07 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2185378, close 516492, bind 1226078, connect 972007, delroute 0 10.00 real 6.89 user 49.30 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 111968, close 9751, bind 51978, connect 35062, delroute 0 10.17 real 0.31 user 14.69 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2055703, close 898620, bind 1789050, connect 1453201, delroute 0 10.00 real 7.65 user 49.16 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 7412265, close 17471, bind 83491, connect 0, delroute 0 10.07 real 11.83 user 48.70 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 7204914, close 18944, bind 0, connect 106028, delroute 0 10.00 real 11.34 user 48.71 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 7266770, close 22660, bind 61773, connect 51336, delroute 0 10.00 real 11.55 user 48.56 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 7347678, close 10817, bind 62532, connect 52917, delroute 0 10.08 real 10.82 user 49.37 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 7091833, close 40508, bind 98736, connect 81512, delroute 0 10.00 real 11.25 user 48.65 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 7007246, close 22805, bind 121751, connect 0, delroute 0 10.04 real 11.11 user 49.03 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4150711, close 229367, bind 0, connect 2180541, delroute 0 10.00 real 7.33 user 44.69 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 6791853, close 35772, bind 221728, connect 169073, delroute 0 10.00 real 10.99 user 48.56 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 100528, close 4531, bind 116021, connect 115406, delroute 0 10.11 real 0.19 user 17.79 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 6519317, close 82059, bind 410953, connect 325581, delroute 0 10.01 real 10.58 user 48.83 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 2277531, close 734691, bind 2991161, connect 0, delroute 0 10.01 real 6.94 user 50.19 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1971179, close 444178, bind 0, connect 2337986, delroute 0 10.00 real 6.85 user 48.70 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1965061, close 613197, bind 1616237, connect 1214717, delroute 0 10.00 real 6.05 user 49.01 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 110059, close 9401, bind 100979, connect 66461, delroute 0 10.21 real 0.27 user 15.54 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2167950, close 771979, bind 1495813, connect 1160965, delroute 0 10.00 real 7.84 user 48.84 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 6027028, close 14035, bind 72157, connect 0, delroute 0 10.01 real 11.02 user 49.01 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5963972, close 25334, bind 0, connect 154011, delroute 0 10.00 real 10.76 user 49.19 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 5963035, close 19621, bind 59241, connect 46416, delroute 0 10.00 real 10.72 user 49.32 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 6165721, close 15645, bind 167160, connect 188550, delroute 0 10.10 real 10.79 user 49.08 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 5851166, close 57662, bind 158878, connect 130678, delroute 0 10.01 real 10.30 user 49.78 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