START sys/netinet/bindconnect 2024-05-05T19:19: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 653684, close 939341, bind 2302498, connect 1853761, delroute 0 10.00 real 2.78 user 28.77 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1385368, close 973114, bind 11920252, connect 0, delroute 0 10.00 real 8.00 user 79.47 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 22677, close 26289, bind 0, connect 4381752, delroute 0 10.00 real 2.63 user 74.10 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 183544, close 174318, bind 5158233, connect 2761051, delroute 0 10.00 real 4.82 user 74.21 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 76449, close 97043, bind 1170940, connect 712050, delroute 0 10.10 real 1.35 user 48.22 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 304124, close 943008, bind 6565441, connect 3986236, delroute 0 10.00 real 7.30 user 74.34 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 1611010, close 240511, bind 2919102, connect 0, delroute 0 10.01 real 2.08 user 79.15 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 680419, close 650372, bind 0, connect 2946939, delroute 0 10.00 real 2.45 user 73.87 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 910739, close 542771, bind 1702040, connect 1245080, delroute 0 10.00 real 2.12 user 75.27 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97807, close 152063, bind 483863, connect 553009, delroute 0 10.48 real 0.59 user 23.66 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 501368, close 2356438, bind 3897626, connect 3971641, delroute 0 10.01 real 5.88 user 73.44 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 1006359, close 723186, bind 13844329, connect 0, delroute 0 10.01 real 8.44 user 77.47 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 82095, close 89812, bind 0, connect 5994358, delroute 0 10.00 real 3.59 user 78.35 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 199972, close 170271, bind 5899531, connect 2985326, delroute 0 10.00 real 5.36 user 76.68 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 269486, close 196449, bind 6351262, connect 3241655, delroute 0 10.22 real 5.69 user 76.45 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 286167, close 915367, bind 7321925, connect 4406485, delroute 0 10.01 real 7.60 user 75.21 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 1382806, close 972932, bind 12868206, connect 0, delroute 0 10.01 real 8.71 user 77.73 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3639, close 5384, bind 0, connect 3101789, delroute 0 10.00 real 1.88 user 73.96 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 52171, close 59716, bind 3802664, connect 1784495, delroute 0 10.00 real 3.23 user 70.01 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 78468, close 120459, bind 2790105, connect 1411721, delroute 0 10.11 real 2.40 user 55.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 132079, close 851939, bind 5714604, connect 3593401, delroute 0 10.00 real 5.68 user 69.56 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 1562124, close 299833, bind 2778675, connect 0, delroute 0 10.01 real 1.93 user 78.84 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 597542, close 319488, bind 0, connect 2306596, delroute 0 10.00 real 1.59 user 69.90 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 770454, close 342636, bind 1302290, connect 1077206, delroute 0 10.00 real 1.70 user 72.24 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 92207, close 153505, bind 519209, connect 652595, delroute 0 10.46 real 0.82 user 26.12 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 389479, close 2330014, bind 3413856, connect 3769154, delroute 0 10.00 real 5.43 user 70.09 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 1160402, close 854432, bind 13347440, connect 0, delroute 0 10.01 real 8.72 user 78.14 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 68241, close 89861, bind 0, connect 6029716, delroute 0 10.00 real 3.48 user 79.41 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 207078, close 190152, bind 5878164, connect 2816580, delroute 0 10.00 real 4.66 user 77.47 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 262207, close 214512, bind 6348295, connect 3113019, delroute 0 10.23 real 5.58 user 75.91 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 315242, close 1238181, bind 7512806, connect 4675346, delroute 0 10.00 real 7.48 user 75.22 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