==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || doas -n 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 /home/src/regress/sys/netinet/bindconnect/bindconnect.c cc -o bindconnect bindconnect.o -lpthread time ./bindconnect count: socket 1254508, close 121280, bind 78426, connect 163179, delroute 0 10.01 real 6.63 user 20.35 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1516370, close 89465, bind 472989, connect 0, delroute 0 10.01 real 6.69 user 22.70 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1489192, close 91703, bind 0, connect 187395, delroute 0 10.01 real 6.17 user 19.99 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1435734, close 106664, bind 260078, connect 113917, delroute 0 10.01 real 5.70 user 19.10 sys ==== run-inet-udp-100000 ==== doas -n time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1192063, close 81493, bind 67743, connect 45304, delroute 0 10.53 real 3.95 user 19.53 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1228671, close 217797, bind 430266, connect 151601, delroute 0 10.12 real 5.34 user 15.87 sys ==== run-inet-udp-localnet-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -c 6 -N 127.0.0.1/8 count: socket 1468785, close 126874, bind 59907, connect 121906, delroute 0 10.01 real 4.86 user 18.03 sys ==== run-inet-udp-localnet-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -N 127.0.0.1/8 count: socket 1423786, close 71463, bind 370755, connect 70545, delroute 0 10.02 real 5.09 user 17.19 sys ==== run-inet-udp-localnet-connect-delete ==== doas -n time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N 127.0.0.1/8 count: socket 1436242, close 86551, bind 0, connect 147981, delroute 86655 10.04 real 4.49 user 18.06 sys ==== run-inet-tcp-bind ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 844541, close 247465, bind 2133636, connect 0, delroute 0 10.01 real 3.43 user 16.35 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 931000, close 131156, bind 0, connect 1134534, delroute 0 10.01 real 3.93 user 16.95 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 916368, close 225325, bind 649915, connect 598768, delroute 0 10.01 real 3.57 user 16.64 sys ==== run-inet-tcp-100000 ==== doas -n time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 189802, close 42258, bind 102240, connect 40843, delroute 0 10.70 real 1.20 user 12.61 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 803209, close 189281, bind 819907, connect 595288, delroute 0 10.01 real 3.43 user 15.24 sys ==== run-inet-tcp-localnet-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -c 6 -N 127.0.0.1/8 count: socket 740978, close 95997, bind 94600, connect 223401, delroute 0 10.01 real 3.41 user 15.94 sys ==== run-inet-tcp-localnet-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -N 127.0.0.1/8 count: socket 760502, close 188462, bind 491436, connect 260459, delroute 0 10.01 real 3.45 user 15.73 sys ==== run-inet-tcp-localnet-connect-delete ==== doas -n time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N 127.0.0.1/8 count: socket 777910, close 89671, bind 0, connect 232572, delroute 84066 10.01 real 3.40 user 15.90 sys ==== run-inet-any-bind ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1104961, close 242722, bind 1556368, connect 0, delroute 0 10.01 real 4.30 user 15.83 sys ==== run-inet-any-connect ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1469219, close 35399, bind 0, connect 168582, delroute 0 10.00 real 3.98 user 13.89 sys ==== run-inet-any-bind-connect ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1560921, close 82229, bind 140684, connect 64658, delroute 0 10.01 real 4.69 user 17.24 sys ==== run-inet-any-100000 ==== doas -n time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1255162, close 35348, bind 142919, connect 93374, delroute 0 10.45 real 5.05 user 17.80 sys ==== run-inet-any-reuseport ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1257210, close 85519, bind 207936, connect 108759, delroute 0 10.01 real 5.12 user 14.81 sys ==== run-inet-any-localnet-connect ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -c 6 -N 127.0.0.1/8 count: socket 1344199, close 32870, bind 48083, connect 261077, delroute 0 10.01 real 4.71 user 15.46 sys ==== run-inet-any-localnet-bind-connect ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -N 127.0.0.1/8 count: socket 1280215, close 79625, bind 321021, connect 160080, delroute 0 10.01 real 5.04 user 16.08 sys ==== run-inet-any-localnet-connect-delete ==== doas -n time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N 127.0.0.1/8 count: socket 1320760, close 62142, bind 0, connect 214616, delroute 82253 10.15 real 4.90 user 16.05 sys ==== run-inet6-udp-bind ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1241062, close 146443, bind 794493, connect 0, delroute 0 10.01 real 4.94 user 16.33 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1025963, close 164133, bind 0, connect 177604, delroute 0 10.02 real 3.97 user 13.82 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1120702, close 249532, bind 250924, connect 105770, delroute 0 10.01 real 4.18 user 14.67 sys ==== run-inet6-udp-100000 ==== doas -n time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 843476, close 161041, bind 101603, connect 82861, delroute 0 10.60 real 3.17 user 16.44 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1092450, close 196037, bind 478836, connect 165633, delroute 0 10.02 real 4.58 user 15.04 sys ==== run-inet6-udp-localnet-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -c 6 -N ::1/128 count: socket 1274286, close 150902, bind 73994, connect 166280, delroute 0 0m10.01s real 0m04.50s user 0m17.60s system ==== run-inet6-udp-localnet-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -N ::1/128 count: socket 1232583, close 119886, bind 367797, connect 96216, delroute 0 0m10.03s real 0m03.93s user 0m16.17s system ==== run-inet6-udp-localnet-connect-delete ==== doas -n time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N ::1/128 count: socket 738228, close 216064, bind 0, connect 169797, delroute 36999 10.01 real 2.29 user 19.22 sys ==== run-inet6-tcp-bind ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 840577, close 313847, bind 1808928, connect 0, delroute 0 10.01 real 3.64 user 16.07 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 816141, close 144156, bind 0, connect 1521362, delroute 0 10.01 real 3.69 user 15.48 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 843448, close 171935, bind 760186, connect 565274, delroute 0 10.02 real 3.86 user 15.92 sys ==== run-inet6-tcp-100000 ==== doas -n time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 146610, close 57884, bind 130870, connect 56336, delroute 0 10.71 real 0.87 user 11.53 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 748396, close 201786, bind 572348, connect 242167, delroute 0 10.00 real 3.39 user 16.07 sys ==== run-inet6-tcp-localnet-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -c 6 -N ::1/128 count: socket 782273, close 168333, bind 182340, connect 896212, delroute 0 0m10.01s real 0m03.30s user 0m15.89s system ==== run-inet6-tcp-localnet-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -N ::1/128 count: socket 808292, close 129175, bind 808512, connect 584405, delroute 0 0m10.01s real 0m03.53s user 0m15.58s system ==== run-inet6-tcp-localnet-connect-delete ==== doas -n time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N ::1/128 count: socket 360553, close 157731, bind 0, connect 662882, delroute 30837 10.01 real 2.12 user 16.84 sys ==== run-inet6-any-bind ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1064061, close 142287, bind 757453, connect 0, delroute 0 10.01 real 5.14 user 17.58 sys ==== run-inet6-any-connect ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1095812, close 48309, bind 0, connect 198429, delroute 0 10.01 real 5.78 user 16.00 sys ==== run-inet6-any-bind-connect ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1162437, close 75419, bind 196574, connect 85472, delroute 0 10.06 real 5.26 user 18.35 sys ==== run-inet6-any-100000 ==== doas -n time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1106249, close 40314, bind 138905, connect 61597, delroute 0 10.50 real 4.41 user 17.86 sys ==== run-inet6-any-reuseport ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1068338, close 70565, bind 178554, connect 133435, delroute 0 10.01 real 4.93 user 15.58 sys ==== run-inet6-any-localnet-connect ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -c 6 -N ::1/128 count: socket 1175733, close 58147, bind 32433, connect 209345, delroute 0 10.01 real 5.12 user 17.11 sys ==== run-inet6-any-localnet-bind-connect ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -N ::1/128 count: socket 1160082, close 69797, bind 265972, connect 106962, delroute 0 10.05 real 4.71 user 16.13 sys ==== run-inet6-any-localnet-connect-delete ==== doas -n time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N ::1/128 count: socket 407682, close 223406, bind 0, connect 558904, delroute 48218 10.02 real 2.19 user 15.04 sys ==== cleanup-inet-delete ==== doas -n time ./bindconnect -f inet -s 0 -o 0 -b 0 -c 0 -d 1 -N 127.0.0.1/8 -t 1 count: socket 0, close 0, bind 0, connect 0, delroute 126323 1.01 real 0.19 user 0.74 sys ==== cleanup-inet6-delete ==== doas -n time ./bindconnect -f inet6 -s 0 -o 0 -b 0 -c 0 -d 1 -N ::1/128 -t 1 count: socket 0, close 0, bind 0, connect 0, delroute 7600 1.02 real 0.03 user 0.81 sys