START sys/netinet/bindconnect 2024-02-25T03:05:59Z ==== 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 873163, close 831427, bind 2596604, connect 2163093, delroute 0 10.00 real 3.24 user 29.90 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3405803, close 22063, bind 7311813, connect 0, delroute 0 10.01 real 7.22 user 52.93 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4556582, close 1523, bind 0, connect 105739, delroute 0 10.00 real 7.35 user 52.66 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4724696, close 2659, bind 36099, connect 42964, delroute 0 10.00 real 7.15 user 52.84 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2170002, close 2473, bind 40668, connect 34259, delroute 0 10.19 real 3.57 user 38.15 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4577710, close 4258, bind 36089, connect 40106, delroute 0 10.00 real 6.73 user 53.19 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 2135815, close 694930, bind 6150909, connect 0, delroute 0 10.00 real 3.85 user 55.04 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2280140, close 95340, bind 0, connect 2874468, delroute 0 10.01 real 5.01 user 53.30 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2176404, close 125085, bind 1907306, connect 1768522, delroute 0 10.01 real 4.80 user 53.32 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 142929, close 21777, bind 65045, connect 58069, delroute 0 10.44 real 0.39 user 14.28 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2194302, close 141074, bind 1314202, connect 1222672, delroute 0 10.00 real 5.31 user 53.04 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 3365239, close 57059, bind 7005015, connect 0, delroute 0 10.09 real 6.99 user 53.69 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4585067, close 3186, bind 0, connect 163694, delroute 0 10.01 real 7.03 user 53.14 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4638767, close 4254, bind 54607, connect 54342, delroute 0 10.01 real 7.37 user 52.62 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4423903, close 7609, bind 77962, connect 87815, delroute 0 10.16 real 7.36 user 52.68 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4591704, close 8331, bind 67009, connect 67575, delroute 0 10.00 real 6.88 user 53.15 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 3786033, close 4511, bind 4961607, connect 0, delroute 0 10.00 real 7.62 user 52.51 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4393248, close 1576, bind 0, connect 139970, delroute 0 10.00 real 6.76 user 53.16 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4586669, close 1868, bind 34703, connect 32121, delroute 0 10.01 real 6.62 user 53.26 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2632201, close 1209, bind 40475, connect 32515, delroute 0 10.18 real 4.64 user 45.36 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4504601, close 3531, bind 40454, connect 38014, delroute 0 10.00 real 7.18 user 52.69 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 2127151, close 614479, bind 5457863, connect 0, delroute 0 10.00 real 3.93 user 55.03 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2219030, close 87168, bind 0, connect 2907433, delroute 0 10.01 real 4.94 user 53.44 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2131250, close 113983, bind 1453608, connect 1375801, delroute 0 10.01 real 4.77 user 53.13 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 154604, close 16314, bind 47650, connect 57925, delroute 0 10.46 real 0.39 user 14.10 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2133581, close 133341, bind 1118743, connect 1037680, delroute 0 10.00 real 5.44 user 52.96 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 3505357, close 25600, bind 1225172, connect 0, delroute 0 10.00 real 6.73 user 53.44 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3628704, close 3646, bind 0, connect 148597, delroute 0 10.00 real 6.73 user 53.21 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3649052, close 5037, bind 62854, connect 66145, delroute 0 10.00 real 6.40 user 53.46 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3560165, close 6910, bind 72829, connect 78120, delroute 0 10.17 real 6.07 user 54.07 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3558159, close 7441, bind 63249, connect 69009, delroute 0 10.00 real 6.62 user 53.40 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