START sys/netinet/bindconnect 2025-03-23T02:56:05Z ==== 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 2172887, close 1712361, bind 3492041, connect 2014845, delroute 0 10.01 real 3.96 user 33.49 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3617646, close 525602, bind 5637554, connect 0, delroute 0 10.01 real 8.47 user 51.56 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2582447, close 216007, bind 0, connect 2611508, delroute 0 10.01 real 5.89 user 46.11 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3439411, close 166658, bind 1592470, connect 1143427, delroute 0 10.01 real 7.62 user 49.98 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 115787, close 1837, bind 126880, connect 89039, delroute 0 10.16 real 0.35 user 22.49 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3991710, close 136161, bind 653940, connect 551320, delroute 0 10.00 real 7.62 user 51.61 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 1376186, close 687182, bind 2972903, connect 0, delroute 0 10.00 real 4.78 user 52.67 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1144942, close 627286, bind 0, connect 3154280, delroute 0 10.01 real 4.29 user 47.71 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1315141, close 564598, bind 1515666, connect 1179053, delroute 0 10.01 real 4.76 user 49.74 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108584, close 10120, bind 64449, connect 39221, delroute 0 10.34 real 0.31 user 15.50 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1260936, close 851938, bind 1517955, connect 1266068, delroute 0 10.00 real 5.82 user 50.76 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 4430179, close 54545, bind 307106, connect 0, delroute 0 10.00 real 7.47 user 52.55 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4082495, close 71921, bind 0, connect 788724, delroute 0 10.01 real 7.32 user 51.89 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4360118, close 56418, bind 201536, connect 164360, delroute 0 10.01 real 7.79 user 51.99 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4460565, close 29778, bind 106228, connect 89963, delroute 0 10.17 real 7.95 user 52.18 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4254346, close 112196, bind 323410, connect 269071, delroute 0 10.00 real 7.66 user 52.14 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 4361105, close 33196, bind 238735, connect 0, delroute 0 10.00 real 7.75 user 52.42 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1653754, close 215348, bind 0, connect 2640044, delroute 0 10.01 real 3.96 user 38.73 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3950689, close 68383, bind 470736, connect 368941, delroute 0 10.01 real 7.22 user 50.85 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 76115, close 3839, bind 128768, connect 106604, delroute 0 10.13 real 0.12 user 16.95 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3880713, close 112959, bind 580852, connect 437976, delroute 0 10.00 real 7.46 user 51.27 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 1325692, close 816267, bind 3574073, connect 0, delroute 0 10.00 real 4.87 user 51.98 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1163307, close 458754, bind 0, connect 2618565, delroute 0 10.01 real 4.62 user 48.95 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1148342, close 607246, bind 1753541, connect 1292851, delroute 0 10.01 real 3.98 user 48.62 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108514, close 12686, bind 93685, connect 62891, delroute 0 10.39 real 0.22 user 15.60 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1216951, close 979227, bind 1824685, connect 1464580, delroute 0 10.01 real 5.64 user 50.73 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 3855980, close 25210, bind 147200, connect 0, delroute 0 10.03 real 7.39 user 52.90 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3524943, close 77120, bind 0, connect 937642, delroute 0 10.01 real 7.06 user 51.93 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3695132, close 44029, bind 184331, connect 144707, delroute 0 10.01 real 7.58 user 52.22 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3731309, close 24068, bind 139807, connect 106737, delroute 0 10.18 real 7.43 user 52.55 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3660905, close 77385, bind 260922, connect 212848, delroute 0 10.01 real 7.71 user 52.19 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