START sys/netinet/bindconnect 2024-12-25T02:54:28Z ==== 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 599532, close 502534, bind 2211541, connect 1950029, delroute 0 10.00 real 2.58 user 26.70 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3887206, close 8605, bind 257290, connect 0, delroute 0 10.01 real 7.50 user 52.61 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3794993, close 1317, bind 0, connect 99429, delroute 0 10.00 real 7.48 user 52.44 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3941831, close 2851, bind 62814, connect 43915, delroute 0 10.00 real 7.46 user 52.59 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1144444, close 1821, bind 41512, connect 36461, delroute 0 10.15 real 1.93 user 36.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 3948042, close 2752, bind 47673, connect 35163, delroute 0 10.00 real 7.53 user 52.46 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 1964090, close 630587, bind 5738943, connect 0, delroute 0 10.00 real 3.79 user 55.32 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2048784, close 77706, bind 0, connect 3338323, delroute 0 10.03 real 5.11 user 53.28 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1936397, close 131656, bind 1726398, connect 1553801, delroute 0 10.01 real 5.03 user 53.13 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 136932, close 21689, bind 50137, connect 56121, delroute 0 10.42 real 0.33 user 14.02 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1938358, close 124025, bind 1159807, connect 1088232, delroute 0 10.01 real 5.78 user 53.07 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 3999299, close 5776, bind 185940, connect 0, delroute 0 10.00 real 8.09 user 52.05 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3717355, close 2570, bind 0, connect 176179, delroute 0 10.00 real 7.32 user 52.14 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3883159, close 3742, bind 94400, connect 71412, delroute 0 10.00 real 7.39 user 52.19 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3907085, close 4910, bind 68941, connect 57019, delroute 0 10.13 real 7.20 user 52.68 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3956174, close 3262, bind 61382, connect 45247, delroute 0 10.07 real 7.58 user 52.75 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 3944361, close 5288, bind 159601, connect 0, delroute 0 10.00 real 7.85 user 52.13 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3683628, close 1321, bind 0, connect 117649, delroute 0 10.00 real 7.29 user 52.43 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3901584, close 29185, bind 58779, connect 42136, delroute 0 10.07 real 7.59 user 52.30 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1388616, close 1099, bind 40602, connect 33672, delroute 0 10.17 real 2.83 user 37.22 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3837658, close 4953, bind 68363, connect 49739, delroute 0 10.06 real 7.32 user 52.94 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 1852176, close 1144275, bind 7660709, connect 0, delroute 0 10.00 real 4.58 user 54.57 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1935841, close 90655, bind 0, connect 2998933, delroute 0 10.00 real 4.99 user 53.18 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1870019, close 127659, bind 1649833, connect 1597984, delroute 0 10.01 real 5.13 user 52.80 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 123439, close 28682, bind 74801, connect 102353, delroute 0 10.50 real 0.27 user 14.28 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1912789, close 180029, bind 1053511, connect 935062, delroute 0 10.00 real 6.04 user 52.44 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 3270134, close 6847, bind 180415, connect 0, delroute 0 10.00 real 7.43 user 52.68 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3090144, close 2260, bind 0, connect 190356, delroute 0 10.00 real 6.54 user 53.07 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3194041, close 3611, bind 91253, connect 68355, delroute 0 10.07 real 7.02 user 52.90 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3192401, close 4525, bind 71276, connect 56079, delroute 0 10.14 real 7.09 user 52.50 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3102699, close 4611, bind 98076, connect 74111, delroute 0 10.00 real 6.58 user 53.14 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