START sys/netinet/bindconnect 2025-01-11T02:58:40Z ==== 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 1865721, close 3534793, bind 4243941, connect 2734045, delroute 0 10.00 real 5.23 user 30.84 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2154804, close 1831505, bind 9125992, connect 0, delroute 0 10.00 real 6.12 user 53.79 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1733106, close 491154, bind 0, connect 4162017, delroute 0 10.00 real 4.75 user 49.83 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2053400, close 636418, bind 3294007, connect 2532841, delroute 0 10.00 real 5.84 user 52.19 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98452, close 106330, bind 263028, connect 228240, delroute 0 10.12 real 0.28 user 16.16 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2350630, close 1484006, bind 3064152, connect 2716929, delroute 0 10.00 real 7.25 user 52.18 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 1549608, close 1144921, bind 1572021, connect 0, delroute 0 10.00 real 1.75 user 53.78 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1623692, close 1087834, bind 0, connect 1611801, delroute 0 10.00 real 1.61 user 42.21 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1602503, close 1115582, bind 795382, connect 599773, delroute 0 10.00 real 1.44 user 44.47 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2238625, close 1441998, bind 188985, connect 132817, delroute 0 10.35 real 1.53 user 28.97 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1084244, close 1904765, bind 2151467, connect 1796858, delroute 0 10.00 real 3.28 user 49.71 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 3066991, close 2177666, bind 4120627, connect 0, delroute 0 10.00 real 4.01 user 55.91 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1809989, close 1122470, bind 0, connect 4293859, delroute 0 10.00 real 4.44 user 54.06 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2346132, close 1618191, bind 2056364, connect 1729930, delroute 0 10.01 real 3.81 user 55.43 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2194115, close 1246062, bind 2157216, connect 1817362, delroute 0 10.23 real 3.61 user 54.84 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1708241, close 1945086, bind 2915457, connect 2500143, delroute 0 10.00 real 5.31 user 53.68 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 2749642, close 2074546, bind 4647391, connect 0, delroute 0 10.00 real 4.26 user 55.63 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1839570, close 499873, bind 0, connect 2998789, delroute 0 10.00 real 4.52 user 48.20 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2170415, close 662389, bind 2048116, connect 1668621, delroute 0 10.00 real 4.78 user 51.70 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 110495, close 72926, bind 176157, connect 149882, delroute 0 10.18 real 0.30 user 14.66 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2280954, close 1437658, bind 3100515, connect 2495823, delroute 0 10.00 real 6.75 user 52.39 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 1564569, close 1134562, bind 1421034, connect 0, delroute 0 10.00 real 1.80 user 53.73 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1846642, close 1178555, bind 0, connect 1174783, delroute 0 10.00 real 1.75 user 36.88 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1690281, close 1124849, bind 891973, connect 594467, delroute 0 10.01 real 1.83 user 40.35 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2160362, close 1362977, bind 260284, connect 172195, delroute 0 10.36 real 1.47 user 29.08 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1045654, close 1949841, bind 2306144, connect 1843552, delroute 0 10.00 real 3.71 user 49.23 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 2676046, close 1960351, bind 3026174, connect 0, delroute 0 10.00 real 3.55 user 55.85 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1661323, close 950836, bind 0, connect 3747880, delroute 0 10.00 real 3.90 user 54.13 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2004930, close 1441256, bind 1747699, connect 1497903, delroute 0 10.00 real 3.38 user 55.03 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1887317, close 1170171, bind 1891289, connect 1561512, delroute 0 10.25 real 3.42 user 54.43 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1523487, close 2500364, bind 3388897, connect 2933154, delroute 0 10.01 real 5.43 user 54.08 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