START sys/netinet/bindconnect 2024-04-15T19:01:56Z ==== 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 653992, close 964624, bind 2329100, connect 1866265, delroute 0 10.00 real 2.80 user 29.87 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1263886, close 904955, bind 11910587, connect 0, delroute 0 10.00 real 8.34 user 78.30 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 19733, close 22659, bind 0, connect 4330686, delroute 0 10.00 real 2.84 user 74.56 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 175152, close 161778, bind 5095861, connect 2648173, delroute 0 10.00 real 5.26 user 74.35 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 74906, close 89790, bind 1048821, connect 641715, delroute 0 10.11 real 1.02 user 47.93 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 294818, close 936786, bind 6576164, connect 3966127, delroute 0 10.00 real 7.47 user 73.89 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 1460756, close 336321, bind 2284834, connect 0, delroute 0 10.00 real 1.48 user 79.23 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 797598, close 553383, bind 0, connect 2634123, delroute 0 10.00 real 1.93 user 75.48 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 863498, close 571273, bind 1243371, connect 1327849, delroute 0 10.00 real 2.14 user 75.82 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98644, close 147132, bind 448947, connect 517942, delroute 0 10.45 real 0.64 user 23.38 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 503605, close 2124181, bind 3475091, connect 3684142, delroute 0 10.00 real 6.01 user 73.02 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 962221, close 690180, bind 12776250, connect 0, delroute 0 10.00 real 9.10 user 77.84 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 62940, close 68592, bind 0, connect 5599731, delroute 0 10.00 real 3.68 user 79.62 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 167426, close 139791, bind 5656337, connect 2697979, delroute 0 10.00 real 5.11 user 75.65 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 239170, close 174681, bind 6058883, connect 2949870, delroute 0 10.23 real 5.67 user 76.13 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 246632, close 753680, bind 6763348, connect 3900111, delroute 0 10.01 real 6.77 user 76.80 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 1233628, close 897624, bind 11908280, connect 0, delroute 0 10.01 real 8.56 user 77.17 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3473, close 5779, bind 0, connect 3140905, delroute 0 10.00 real 1.90 user 75.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 53473, close 59397, bind 3927030, connect 1764869, delroute 0 10.00 real 3.46 user 71.97 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 76731, close 112307, bind 2530328, connect 1288603, delroute 0 10.12 real 2.34 user 54.75 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 135379, close 797980, bind 5601741, connect 3385492, delroute 0 10.00 real 5.96 user 71.31 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 1404887, close 406246, bind 2347496, connect 0, delroute 0 10.01 real 1.56 user 79.03 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 548794, close 420068, bind 0, connect 2275899, delroute 0 10.00 real 1.90 user 70.48 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 661545, close 439450, bind 1016419, connect 1165507, delroute 0 10.00 real 1.70 user 71.49 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 94788, close 159473, bind 521262, connect 662284, delroute 0 10.49 real 0.79 user 26.33 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 360835, close 2348127, bind 3334455, connect 3747760, delroute 0 10.00 real 5.89 user 69.79 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 1071054, close 770436, bind 12349181, connect 0, delroute 0 10.01 real 8.01 user 79.50 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 278661, close 235547, bind 0, connect 6879782, delroute 0 10.00 real 5.24 user 79.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 394110, close 317952, bind 6465799, connect 3525075, delroute 0 10.00 real 5.98 user 78.14 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 387125, close 277429, bind 6411345, connect 3548452, delroute 0 10.29 real 6.72 user 77.25 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 416641, close 889341, bind 7281462, connect 4370897, delroute 0 10.01 real 8.49 user 77.77 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