START sys/netinet/bindconnect 2025-01-05T03:00:35Z ==== 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 876085, close 1589450, bind 3837351, connect 3144725, delroute 0 10.00 real 3.71 user 27.54 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3852226, close 14569, bind 285758, connect 0, delroute 0 10.01 real 7.52 user 52.65 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3752117, close 3981, bind 0, connect 142890, delroute 0 10.01 real 7.65 user 52.27 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3885076, close 6710, bind 82262, connect 53527, delroute 0 10.01 real 7.18 user 52.68 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 974296, close 2547, bind 40165, connect 39071, delroute 0 10.18 real 2.08 user 33.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 3869341, close 8529, bind 60795, connect 47812, delroute 0 10.00 real 7.62 user 52.33 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 1857924, close 15100, bind 283022, connect 0, delroute 0 10.00 real 6.52 user 52.58 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1846961, close 36519, bind 0, connect 406771, delroute 0 10.01 real 6.77 user 51.50 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1868334, close 22837, bind 141051, connect 147471, delroute 0 10.01 real 6.20 user 52.29 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 272877, close 4770, bind 41815, connect 35897, delroute 0 10.41 real 0.93 user 23.13 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1878542, close 33019, bind 127434, connect 141344, delroute 0 10.00 real 6.58 user 52.11 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 3951780, close 10205, bind 209942, connect 0, delroute 0 10.00 real 7.59 user 52.24 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3718346, close 6113, bind 0, connect 243036, delroute 0 10.01 real 7.39 user 52.12 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3890373, close 8039, bind 108399, connect 77534, delroute 0 10.01 real 7.66 user 52.03 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3883683, close 6962, bind 81603, connect 68184, delroute 0 10.14 real 7.32 user 52.61 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3874556, close 15287, bind 88615, connect 75020, delroute 0 10.00 real 7.73 user 52.17 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 3818913, close 5472, bind 138154, connect 0, delroute 0 10.00 real 7.73 user 52.34 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3685146, close 4261, bind 0, connect 166732, delroute 0 10.01 real 6.76 user 53.03 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3810139, close 3550, bind 63907, connect 45177, delroute 0 10.01 real 7.73 user 52.34 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 734919, close 1454, bind 42929, connect 31900, delroute 0 10.18 real 1.47 user 28.86 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3731401, close 11625, bind 60684, connect 48402, delroute 0 10.00 real 7.80 user 52.20 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 1847803, close 19675, bind 385707, connect 0, delroute 0 10.00 real 6.77 user 52.19 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1850619, close 42449, bind 0, connect 438073, delroute 0 10.01 real 6.60 user 51.24 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1882427, close 28994, bind 176716, connect 188441, delroute 0 10.01 real 6.50 user 52.06 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 136493, close 4435, bind 49166, connect 40625, delroute 0 10.44 real 0.26 user 21.04 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1807974, close 41699, bind 147757, connect 161653, delroute 0 10.01 real 6.37 user 52.17 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 3268399, close 11140, bind 232657, connect 0, delroute 0 10.00 real 7.83 user 52.18 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3101131, close 5945, bind 0, connect 218213, delroute 0 10.01 real 6.61 user 53.27 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3178260, close 6753, bind 92222, connect 68032, delroute 0 10.01 real 7.44 user 52.49 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3183058, close 5043, bind 89589, connect 70274, delroute 0 10.15 real 7.77 user 52.07 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3217987, close 12121, bind 75390, connect 61719, delroute 0 10.04 real 7.48 user 52.57 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