START sys/netinet/bindconnect 2025-01-07T02:58:33Z ==== 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 1894448, close 3586529, bind 4304584, connect 2774399, delroute 0 10.00 real 4.80 user 31.70 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1948490, close 1609218, bind 11086090, connect 0, delroute 0 10.00 real 6.81 user 53.14 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1582825, close 498035, bind 0, connect 4538218, delroute 0 10.01 real 4.80 user 50.14 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1713416, close 797324, bind 4255851, connect 3275196, delroute 0 10.00 real 6.08 user 51.53 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 118839, close 62375, bind 150723, connect 133086, delroute 0 10.14 real 0.35 user 14.20 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2141181, close 1600931, bind 3425204, connect 3067717, delroute 0 10.00 real 7.13 user 52.21 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 1539231, close 1107244, bind 1811529, connect 0, delroute 0 10.00 real 2.00 user 53.22 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1534626, close 1060631, bind 0, connect 1807798, delroute 0 10.00 real 2.12 user 43.34 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1528967, close 1057218, bind 892678, connect 673707, delroute 0 10.01 real 1.98 user 46.18 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2147321, close 1380499, bind 300365, connect 232313, delroute 0 10.36 real 1.54 user 29.47 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1069378, close 1785364, bind 2181453, connect 1798492, delroute 0 10.00 real 3.40 user 49.88 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 3117760, close 2322117, bind 4383782, connect 0, delroute 0 10.00 real 3.94 user 55.80 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1933711, close 1045235, bind 0, connect 4337291, delroute 0 10.00 real 3.88 user 54.85 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2314513, close 1648963, bind 2126938, connect 1842408, delroute 0 10.00 real 3.92 user 54.94 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2241714, close 1276931, bind 2101817, connect 1773330, delroute 0 10.23 real 3.88 user 54.79 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1755290, close 2082057, bind 3150805, connect 2709418, delroute 0 10.00 real 5.07 user 54.21 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 2766360, close 2066936, bind 4817495, connect 0, delroute 0 10.00 real 4.25 user 55.75 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1532040, close 595094, bind 0, connect 3502180, delroute 0 10.00 real 4.09 user 48.02 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2018758, close 738662, bind 2310147, connect 1818211, delroute 0 10.00 real 4.78 user 51.62 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 132795, close 36590, bind 109914, connect 85607, delroute 0 10.17 real 0.34 user 14.69 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2426800, close 1285015, bind 2854912, connect 2301295, delroute 0 10.00 real 7.14 user 52.08 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 1581984, close 1150037, bind 1508453, connect 0, delroute 0 10.00 real 1.83 user 53.66 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1808680, close 1177994, bind 0, connect 1252852, delroute 0 10.00 real 1.86 user 38.09 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1645738, close 1110183, bind 769846, connect 557335, delroute 0 10.01 real 1.54 user 43.52 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2133828, close 1344403, bind 226928, connect 164255, delroute 0 10.36 real 1.45 user 28.76 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1023287, close 1912092, bind 2303636, connect 1856238, delroute 0 10.01 real 3.60 user 49.33 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 2694016, close 2064937, bind 3236228, connect 0, delroute 0 10.00 real 3.98 user 55.45 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1584868, close 968396, bind 0, connect 4071765, delroute 0 10.00 real 3.42 user 53.83 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2009824, close 1516964, bind 1860228, connect 1565384, delroute 0 10.00 real 3.42 user 54.90 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1898438, close 1097886, bind 1812456, connect 1501423, delroute 0 10.25 real 3.20 user 54.40 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1534754, close 2338600, bind 3268796, connect 2831389, delroute 0 10.01 real 5.20 user 53.99 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