START sys/netinet/bindconnect 2024-01-25T20:27:01Z ==== 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 1022756, close 1283737, bind 3118298, connect 2686628, delroute 0 10.01 real 3.66 user 28.80 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4451611, close 16759, bind 3584615, connect 0, delroute 0 10.01 real 7.56 user 52.62 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4990339, close 1303, bind 0, connect 48532, delroute 0 10.01 real 7.13 user 52.76 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 5091457, close 2478, bind 35672, connect 32813, delroute 0 10.01 real 6.98 user 53.05 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4170869, close 1713, bind 41665, connect 33432, delroute 0 10.12 real 5.79 user 50.83 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 5036142, close 3608, bind 30501, connect 33257, delroute 0 10.00 real 7.19 user 52.98 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 2344150, close 996675, bind 6312947, connect 0, delroute 0 10.00 real 4.29 user 54.24 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2423534, close 78196, bind 0, connect 2791320, delroute 0 10.01 real 5.28 user 52.55 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2351522, close 100716, bind 1607942, connect 1514224, delroute 0 10.01 real 5.24 user 52.92 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 157004, close 17684, bind 47016, connect 53692, delroute 0 10.30 real 0.34 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 2358493, close 104796, bind 1335422, connect 1270675, delroute 0 10.00 real 5.45 user 52.49 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 4018315, close 26585, bind 5705375, connect 0, delroute 0 10.23 real 7.64 user 53.75 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5000182, close 1806, bind 0, connect 74874, delroute 0 10.01 real 6.91 user 53.08 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 5019095, close 3771, bind 44518, connect 47019, delroute 0 10.03 real 6.99 user 53.24 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4901206, close 19568, bind 128703, connect 133986, delroute 0 10.13 real 7.01 user 53.07 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 5064020, close 5494, bind 58377, connect 54896, delroute 0 10.10 real 7.12 user 53.59 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 3947744, close 2553, bind 5961635, connect 0, delroute 0 10.00 real 7.19 user 52.84 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4825014, close 1194, bind 0, connect 69100, delroute 0 10.01 real 7.24 user 53.04 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4946585, close 1899, bind 34089, connect 30773, delroute 0 10.01 real 6.93 user 53.05 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3289244, close 1275, bind 39966, connect 29964, delroute 0 10.16 real 4.63 user 47.45 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4929573, close 4284, bind 37274, connect 35045, delroute 0 10.00 real 7.21 user 52.68 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 2340793, close 800135, bind 5319993, connect 0, delroute 0 10.00 real 3.94 user 54.69 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2354451, close 73849, bind 0, connect 2991593, delroute 0 10.01 real 5.32 user 52.61 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2281747, close 100726, bind 1749065, connect 1631601, delroute 0 10.01 real 5.26 user 52.41 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 137724, close 12590, bind 38741, connect 45268, delroute 0 10.32 real 0.32 user 13.98 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2310831, close 133195, bind 1305681, connect 1227094, delroute 0 10.01 real 5.40 user 52.68 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 3696556, close 9714, bind 2588757, connect 0, delroute 0 10.00 real 7.48 user 52.50 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4131296, close 1535, bind 0, connect 68473, delroute 0 10.01 real 6.70 user 53.25 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4126222, close 3033, bind 45275, connect 43053, delroute 0 10.01 real 6.33 user 53.66 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3981743, close 5005, bind 55204, connect 59604, delroute 0 10.13 real 7.01 user 52.81 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4045793, close 6966, bind 78257, connect 77855, delroute 0 10.00 real 7.16 user 52.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