START sys/netinet/bindconnect 2024-03-05T02:57:47Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 7030 -> 110000 ==== run-default ==== cc -O2 -pipe -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 870375, close 837116, bind 2605132, connect 2131697, delroute 0 10.00 real 2.86 user 31.30 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3661728, close 21302, bind 5058619, connect 0, delroute 0 10.01 real 7.47 user 52.68 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4543053, close 1666, bind 0, connect 113019, delroute 0 10.01 real 6.96 user 53.00 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4591927, close 3660, bind 51662, connect 49765, delroute 0 10.00 real 7.15 user 52.66 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1939335, close 3233, bind 42489, connect 35716, delroute 0 10.19 real 3.11 user 37.13 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4555143, close 4164, bind 35346, connect 40297, delroute 0 10.01 real 6.68 user 53.26 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 2036165, close 717728, bind 6337362, connect 0, delroute 0 10.00 real 3.85 user 55.18 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2204232, close 103581, bind 0, connect 2804372, delroute 0 10.01 real 4.92 user 53.14 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2126811, close 118562, bind 1805555, connect 1677120, delroute 0 10.01 real 4.42 user 53.93 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 143782, close 19017, bind 48284, connect 60915, delroute 0 10.48 real 0.35 user 14.42 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2151248, close 133755, bind 1525683, connect 1446537, delroute 0 10.01 real 5.07 user 53.46 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 2782529, close 159045, bind 8987853, connect 0, delroute 0 10.00 real 7.57 user 52.61 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4540795, close 2948, bind 0, connect 179134, delroute 0 10.01 real 6.73 user 53.41 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4583323, close 5157, bind 65950, connect 67085, delroute 0 10.01 real 7.17 user 52.95 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4393664, close 10688, bind 112371, connect 126507, delroute 0 10.18 real 6.73 user 53.39 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4551910, close 8135, bind 65870, connect 66050, delroute 0 10.00 real 6.89 user 53.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 2598566, close 11242, bind 10597986, connect 0, delroute 0 10.00 real 7.67 user 52.28 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4359906, close 1327, bind 0, connect 108297, delroute 0 10.01 real 7.06 user 53.07 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4506765, close 2441, bind 48748, connect 44791, delroute 0 10.01 real 6.80 user 53.19 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2180763, close 1022, bind 39921, connect 30863, delroute 0 10.20 real 3.59 user 40.69 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4417824, close 3719, bind 40540, connect 35714, delroute 0 10.00 real 6.86 user 53.03 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 2038200, close 602511, bind 5631501, connect 0, delroute 0 10.00 real 4.12 user 54.43 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2168852, close 84595, bind 0, connect 2599485, delroute 0 10.01 real 5.07 user 53.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 2081610, close 106321, bind 1727388, connect 1644090, delroute 0 10.01 real 4.80 user 53.40 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 124653, close 21951, bind 56458, connect 72185, delroute 0 10.49 real 0.31 user 13.40 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2124538, close 96846, bind 961842, connect 924595, delroute 0 10.00 real 5.20 user 53.15 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 2613927, close 95706, bind 6630280, connect 0, delroute 0 10.00 real 7.12 user 52.76 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3618026, close 3162, bind 0, connect 123441, delroute 0 10.10 real 6.45 user 54.10 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3548660, close 10538, bind 118189, connect 127645, delroute 0 10.01 real 6.64 user 53.48 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3487779, close 5331, bind 64052, connect 71714, delroute 0 10.17 real 6.62 user 53.56 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3488683, close 13247, bind 98475, connect 108323, delroute 0 10.00 real 6.82 user 53.34 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