START sys/netinet/bindconnect 2025-01-03T02:58:10Z ==== 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 809387, close 1155566, bind 3101162, connect 2642500, delroute 0 10.00 real 3.31 user 27.47 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3992492, close 13345, bind 299045, connect 0, delroute 0 10.01 real 7.72 user 52.34 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3998982, close 4814, bind 0, connect 167595, delroute 0 10.01 real 7.29 user 52.43 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4129073, close 6720, bind 96170, connect 59842, delroute 0 10.01 real 7.48 user 52.57 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 740701, close 1912, bind 43583, connect 36215, delroute 0 10.14 real 1.53 user 29.50 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4098110, close 7006, bind 53318, connect 41529, delroute 0 10.00 real 7.11 user 52.84 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 2025092, close 26945, bind 549167, connect 0, delroute 0 10.00 real 6.87 user 52.27 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1945365, close 34057, bind 0, connect 357994, delroute 0 10.01 real 6.67 user 51.83 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1898374, close 24321, bind 142375, connect 160101, delroute 0 10.01 real 6.35 user 52.40 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 234822, close 3456, bind 40464, connect 35187, delroute 0 10.45 real 0.70 user 23.31 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1942955, close 37191, bind 158282, connect 175998, delroute 0 10.00 real 6.80 user 51.74 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 4184222, close 8376, bind 194027, connect 0, delroute 0 10.00 real 7.84 user 52.31 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3879863, close 6017, bind 0, connect 228071, delroute 0 10.01 real 7.15 user 52.50 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4034433, close 6861, bind 103723, connect 76155, delroute 0 10.01 real 7.77 user 51.90 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4097167, close 4700, bind 63712, connect 52995, delroute 0 10.13 real 7.30 user 52.51 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3985639, close 12914, bind 73327, connect 60296, delroute 0 10.02 real 7.35 user 52.71 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 4077912, close 6666, bind 161559, connect 0, delroute 0 10.03 real 7.81 user 52.42 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3813902, close 2887, bind 0, connect 118834, delroute 0 10.01 real 7.17 user 52.71 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3918748, close 4164, bind 63651, connect 46763, delroute 0 10.01 real 7.23 user 52.69 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1711560, close 1379, bind 41229, connect 32092, delroute 0 10.15 real 3.74 user 38.59 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3908618, close 11665, bind 67600, connect 51899, delroute 0 10.00 real 7.10 user 52.82 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 1955186, close 26274, bind 530900, connect 0, delroute 0 10.00 real 6.57 user 52.17 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1897766, close 45226, bind 0, connect 438877, delroute 0 10.01 real 6.47 user 51.30 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1887821, close 33102, bind 193269, connect 216035, delroute 0 10.01 real 6.76 user 51.90 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 145842, close 4576, bind 45820, connect 39393, delroute 0 10.47 real 0.46 user 21.69 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1910715, close 53189, bind 171948, connect 196497, delroute 0 10.01 real 6.54 user 52.04 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 3397229, close 11493, bind 294121, connect 0, delroute 0 10.00 real 7.32 user 52.46 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3198426, close 6894, bind 0, connect 275426, delroute 0 10.01 real 6.86 user 52.85 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3375647, close 5647, bind 82714, connect 59936, delroute 0 10.01 real 7.18 user 52.58 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3341203, close 6761, bind 86281, connect 64605, delroute 0 10.14 real 7.42 user 52.45 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3407566, close 12770, bind 75313, connect 60322, delroute 0 10.05 real 7.35 user 52.89 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