START sys/netinet/bindconnect 2023-12-16T00:43:42Z ==== 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 837455, close 988505, bind 832567, connect 1092062, delroute 0 10.00 real 2.15 user 32.60 sys ==== run-inet-bind ==== time ./bindconnect -f inet -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 253352, close 214185, bind 5884598, connect 0, delroute 0 10.01 real 5.50 user 74.26 sys ==== run-inet-connect ==== time ./bindconnect -f inet -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 97135, close 172846, bind 0, connect 1207219, delroute 0 10.01 real 1.84 user 77.55 sys ==== run-inet-bind-connect ==== time ./bindconnect -f inet -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 139824, close 192187, bind 719793, connect 962986, delroute 0 10.01 real 2.74 user 76.58 sys ==== run-inet-100000 ==== time ./bindconnect -f inet -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 89203, close 106531, bind 587940, connect 373001, delroute 0 10.19 real 1.26 user 30.94 sys ==== run-inet-reuseport ==== time ./bindconnect -f inet -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 179499, close 548808, bind 1679350, connect 1521827, delroute 0 10.01 real 4.56 user 74.75 sys ==== run-inet-localnet-connect ==== time ./bindconnect -f inet -n 16 -s 2 -o 1 -c 6 -N 10.188.81.21/24 count: socket 84445, close 184841, bind 86892, connect 1181713, delroute 0 10.01 real 2.40 user 77.20 sys ==== run-inet-localnet-bind-connect ==== time ./bindconnect -f inet -n 16 -s 2 -o 1 -b 3 -c 3 -N 10.188.81.21/24 count: socket 141117, close 205688, bind 708180, connect 946644, delroute 0 10.01 real 3.24 user 76.20 sys ==== run-inet-localnet-connect-delete ==== time ./bindconnect -f inet -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N 10.188.81.21/24 count: socket 144397, close 250427, bind 0, connect 1150894, delroute 44866 10.01 real 2.73 user 75.80 sys ==== run-inet6-bind ==== time ./bindconnect -f inet6 -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 215198, close 170373, bind 5326202, connect 0, delroute 0 10.01 real 4.34 user 75.71 sys ==== run-inet6-connect ==== time ./bindconnect -f inet6 -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 135372, close 310249, bind 0, connect 1218288, delroute 0 10.01 real 3.55 user 74.84 sys ==== run-inet6-bind-connect ==== time ./bindconnect -f inet6 -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 240209, close 381247, bind 1149786, connect 832748, delroute 0 10.01 real 4.16 user 73.63 sys ==== run-inet6-100000 ==== time ./bindconnect -f inet6 -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 87238, close 116176, bind 566741, connect 444027, delroute 0 10.24 real 1.55 user 35.01 sys ==== run-inet6-reuseport ==== time ./bindconnect -f inet6 -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 202787, close 875228, bind 1920764, connect 1714066, delroute 0 10.01 real 5.00 user 73.65 sys ==== run-inet6-localnet-connect ==== time ./bindconnect -f inet6 -n 16 -s 2 -o 1 -c 6 -N fdd7:e83e:66bc:81::21/64 count: socket 143511, close 280705, bind 141473, connect 1067648, delroute 0 0m10.01s real 0m03.32s user 1m15.82s system ==== run-inet6-localnet-bind-connect ==== time ./bindconnect -f inet6 -n 16 -s 2 -o 1 -b 3 -c 3 -N fdd7:e83e:66bc:81::21/64 count: socket 231191, close 340716, bind 1101197, connect 755120, delroute 0 0m10.01s real 0m03.59s user 1m14.07s system ==== run-inet6-localnet-connect-delete ==== time ./bindconnect -f inet6 -n 16 -s 2 -o 1 -b 0 -c 6 -d 3 -N fdd7:e83e:66bc:81::21/64 count: socket 118257, close 207713, bind 0, connect 790033, delroute 43290 0m10.01s real 0m03.13s user 1m11.77s system ==== cleanup-inet-delete ==== time ./bindconnect -f inet -s 0 -o 0 -b 0 -c 0 -d 1 -N 10.188.81.21/24 -t 1 count: socket 0, close 0, bind 0, connect 0, delroute 250462 1.01 real 0.13 user 0.88 sys ==== cleanup-inet6-delete ==== time ./bindconnect -f inet6 -s 0 -o 0 -b 0 -c 0 -d 1 -N fdd7:e83e:66bc:81::21/64 -t 1 count: socket 0, close 0, bind 0, connect 0, delroute 140420 0m01.00s real 0m00.08s user 0m00.95s system PASS sys/netinet/bindconnect Duration 2m54.17s