START sys/netinet/bindconnect 2025-01-13T19:32:25Z ==== 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 1770431, close 1631898, bind 1242856, connect 1208342, delroute 0 10.01 real 2.15 user 29.15 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2003227, close 1697455, bind 3513997, connect 0, delroute 0 10.00 real 3.73 user 60.47 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1596117, close 1721989, bind 0, connect 1047928, delroute 0 10.00 real 1.62 user 26.29 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1680226, close 1774791, bind 379413, connect 794508, delroute 0 10.00 real 1.83 user 30.44 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 152744, close 138971, bind 224749, connect 238409, delroute 0 10.25 real 0.35 user 32.18 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 805014, close 2531796, bind 3183348, connect 3293875, delroute 0 10.01 real 5.16 user 52.49 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 1897435, close 789123, bind 372223, connect 0, delroute 0 10.00 real 0.96 user 35.35 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1711217, close 549523, bind 0, connect 348954, delroute 0 10.00 real 1.05 user 29.95 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1633631, close 815727, bind 172807, connect 223938, delroute 0 10.00 real 1.03 user 32.35 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 913240, close 249996, bind 203909, connect 231881, delroute 0 10.35 real 0.67 user 27.47 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 844507, close 2435901, bind 1949428, connect 2123139, delroute 0 10.00 real 4.01 user 40.87 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 2168892, close 1599265, bind 4865668, connect 0, delroute 0 10.01 real 3.81 user 73.68 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1958534, close 2116448, bind 0, connect 796909, delroute 0 10.00 real 2.05 user 34.96 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2026568, close 2170176, bind 549161, connect 510185, delroute 0 10.00 real 2.14 user 37.59 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1357411, close 921986, bind 1219113, connect 1115421, delroute 0 10.26 real 1.91 user 52.58 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 940752, close 2482826, bind 3210460, connect 3006742, delroute 0 10.01 real 5.14 user 59.51 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 2035335, close 1803068, bind 3025605, connect 0, delroute 0 10.01 real 2.81 user 58.52 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1086406, close 1168100, bind 0, connect 801618, delroute 0 10.00 real 1.08 user 19.32 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 906455, close 938799, bind 157821, connect 846983, delroute 0 10.00 real 1.22 user 20.61 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 228585, close 171168, bind 189496, connect 243209, delroute 0 10.24 real 0.46 user 29.63 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 543020, close 2258732, bind 2381562, connect 2812419, delroute 0 10.00 real 4.36 user 36.70 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 1945468, close 743000, bind 329204, connect 0, delroute 0 10.01 real 1.04 user 33.70 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1620829, close 581000, bind 0, connect 305265, delroute 0 10.00 real 0.74 user 28.12 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1661445, close 750264, bind 135583, connect 184587, delroute 0 10.00 real 0.80 user 29.81 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1113756, close 262267, bind 195812, connect 230231, delroute 0 10.36 real 0.84 user 27.22 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 827492, close 2139323, bind 1599889, connect 1821970, delroute 0 10.00 real 3.22 user 36.88 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 2577558, close 1763701, bind 2066836, connect 0, delroute 0 10.01 real 3.01 user 58.74 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2293270, close 1470811, bind 0, connect 602323, delroute 0 10.00 real 1.66 user 31.95 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2433263, close 1829095, bind 313744, connect 301096, delroute 0 10.00 real 1.60 user 34.00 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1258646, close 727982, bind 862220, connect 999401, delroute 0 10.28 real 1.56 user 44.90 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1082069, close 2569197, bind 3043681, connect 2870116, delroute 0 10.00 real 5.14 user 53.54 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