START sys/netinet/bindconnect 2024-10-25T22:16:58Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 2950 -> 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 56214, close 42649, bind 135345, connect 103671, delroute 0 10.01 real 0.31 user 20.53 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 179230, close 105412, bind 3403447, connect 0, delroute 0 10.02 real 2.19 user 78.07 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3652, close 5713, bind 0, connect 119011, delroute 0 10.02 real 0.12 user 30.21 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 10207, close 6962, bind 170594, connect 76169, delroute 0 10.01 real 0.17 user 34.21 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 50462, close 52491, bind 649804, connect 333970, delroute 0 10.40 real 0.74 user 43.92 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 9716, close 37942, bind 235726, connect 116418, delroute 0 10.02 real 0.44 user 36.70 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 46453, close 39488, bind 520243, connect 0, delroute 0 10.02 real 0.39 user 42.40 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 28096, close 28252, bind 0, connect 277863, delroute 0 10.02 real 0.32 user 32.80 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 28261, close 36480, bind 170089, connect 110916, delroute 0 10.02 real 0.24 user 32.42 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 59650, close 81862, bind 518123, connect 321817, delroute 0 10.73 real 0.79 user 36.80 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 27450, close 141347, bind 260865, connect 209511, delroute 0 10.01 real 0.42 user 33.81 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 166221, close 105562, bind 3226387, connect 0, delroute 0 10.01 real 2.24 user 77.37 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2664, close 2610, bind 0, connect 93061, delroute 0 10.02 real 0.17 user 30.38 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 8213, close 7467, bind 118223, connect 56028, delroute 0 10.01 real 0.17 user 29.44 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 40117, close 42390, bind 569503, connect 293301, delroute 0 10.33 real 0.74 user 37.33 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 7654, close 66291, bind 217153, connect 131824, delroute 0 10.02 real 0.25 user 31.54 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 180172, close 105041, bind 3387888, connect 0, delroute 0 10.01 real 2.44 user 76.92 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4026, close 3599, bind 0, connect 109005, delroute 0 10.02 real 0.12 user 29.62 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 11486, close 7567, bind 167523, connect 73041, delroute 0 10.01 real 0.25 user 33.36 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 51304, close 53951, bind 674695, connect 316544, delroute 0 10.41 real 1.02 user 42.27 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 11480, close 29194, bind 203544, connect 98443, delroute 0 10.01 real 0.22 user 35.22 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 46649, close 36149, bind 538872, connect 0, delroute 0 10.01 real 0.48 user 43.11 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 27318, close 29153, bind 0, connect 258975, delroute 0 10.01 real 0.31 user 31.29 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 27481, close 45952, bind 161280, connect 111538, delroute 0 10.01 real 0.37 user 30.38 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 53817, close 91421, bind 511032, connect 334652, delroute 0 10.64 real 0.68 user 34.88 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 26991, close 115449, bind 255927, connect 200403, delroute 0 10.02 real 0.52 user 33.75 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 169540, close 109462, bind 3138657, connect 0, delroute 0 10.01 real 2.04 user 78.75 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2952, close 6631, bind 0, connect 97909, delroute 0 10.03 real 0.13 user 29.09 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 6710, close 5261, bind 115798, connect 55773, delroute 0 10.01 real 0.16 user 29.87 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 37173, close 45491, bind 610499, connect 317808, delroute 0 10.33 real 0.72 user 35.96 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 7048, close 42690, bind 173075, connect 102500, delroute 0 10.01 real 0.26 user 31.21 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