START sys/netinet/bindconnect 2024-12-30T02:59:55Z ==== 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 628698, close 527504, bind 2204942, connect 1893322, delroute 0 10.01 real 2.23 user 28.14 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3355890, close 8185, bind 262813, connect 0, delroute 0 10.01 real 7.07 user 53.09 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3257779, close 1698, bind 0, connect 115615, delroute 0 10.01 real 7.16 user 52.75 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3396227, close 3267, bind 76152, connect 49584, delroute 0 10.01 real 6.91 user 53.01 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 772537, close 1064, bind 39293, connect 34316, delroute 0 10.19 real 1.67 user 29.58 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3360389, close 2658, bind 49449, connect 37766, delroute 0 10.01 real 6.78 user 53.23 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 1729566, close 6575, bind 132950, connect 0, delroute 0 10.00 real 6.18 user 52.90 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1687331, close 13237, bind 0, connect 146965, delroute 0 10.01 real 6.05 user 52.94 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1723480, close 11558, bind 67250, connect 72252, delroute 0 10.01 real 6.07 user 52.74 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 259475, close 3955, bind 44135, connect 37544, delroute 0 10.41 real 0.81 user 24.92 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1698785, close 10450, bind 50435, connect 53404, delroute 0 10.04 real 5.95 user 53.24 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 3449955, close 5316, bind 157481, connect 0, delroute 0 10.00 real 7.36 user 52.70 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3257705, close 2319, bind 0, connect 190294, delroute 0 10.01 real 7.05 user 52.77 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3406829, close 3282, bind 92173, connect 69404, delroute 0 10.01 real 6.95 user 53.14 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3377131, close 3952, bind 62093, connect 53084, delroute 0 10.14 real 7.26 user 52.49 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3415448, close 3519, bind 76953, connect 56911, delroute 0 10.01 real 7.03 user 53.06 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 3376374, close 4975, bind 166238, connect 0, delroute 0 10.06 real 7.17 user 53.26 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3128058, close 1161, bind 0, connect 102107, delroute 0 10.01 real 6.55 user 53.45 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3339111, close 2418, bind 65801, connect 47954, delroute 0 10.01 real 7.41 user 52.56 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1411681, close 1085, bind 40414, connect 33857, delroute 0 10.18 real 3.08 user 37.96 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3286391, close 3650, bind 57657, connect 43694, delroute 0 10.01 real 6.63 user 53.31 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 1680448, close 7215, bind 161434, connect 0, delroute 0 10.00 real 6.30 user 52.77 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1711768, close 17453, bind 0, connect 172707, delroute 0 10.01 real 6.07 user 52.68 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1690203, close 10616, bind 64347, connect 69694, delroute 0 10.03 real 6.43 user 52.52 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 124526, close 3612, bind 41805, connect 34235, delroute 0 10.41 real 0.26 user 21.41 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1690752, close 24795, bind 97101, connect 106505, delroute 0 10.00 real 6.25 user 52.53 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 2885418, close 5174, bind 177058, connect 0, delroute 0 10.00 real 6.60 user 53.42 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2700691, close 1843, bind 0, connect 159938, delroute 0 10.01 real 6.25 user 53.64 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2811703, close 2596, bind 73427, connect 53889, delroute 0 10.01 real 6.64 user 53.13 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2837010, close 4247, bind 68972, connect 55051, delroute 0 10.15 real 7.05 user 52.87 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2774492, close 3312, bind 66610, connect 50852, delroute 0 10.00 real 6.63 user 53.10 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