START sys/netinet/bindconnect 2025-03-25T19:29:18Z ==== 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 774824, close 635751, bind 944102, connect 1852457, delroute 0 10.00 real 1.95 user 20.05 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1933703, close 1142645, bind 6302139, connect 0, delroute 0 10.00 real 4.84 user 67.18 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 261386, close 393005, bind 0, connect 2594552, delroute 0 10.00 real 1.50 user 23.44 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 360781, close 424707, bind 698861, connect 2065333, delroute 0 10.00 real 1.76 user 26.35 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 148165, close 172532, bind 433852, connect 405199, delroute 0 10.16 real 0.52 user 46.32 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 716791, close 2843193, bind 4162585, connect 4006154, delroute 0 10.00 real 6.37 user 54.51 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 846374, close 1195316, bind 4126525, connect 0, delroute 0 10.01 real 2.94 user 58.34 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 535137, close 1506813, bind 0, connect 3696144, delroute 0 10.00 real 3.19 user 42.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 560251, close 1555162, bind 1977906, connect 1823827, delroute 0 10.00 real 2.79 user 43.86 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 211542, close 338724, bind 731171, connect 747480, delroute 0 10.22 real 1.00 user 44.02 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 456992, close 3818324, bind 4490112, connect 4538150, delroute 0 10.00 real 7.22 user 50.56 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 2302473, close 1219960, bind 8553104, connect 0, delroute 0 10.01 real 6.14 user 74.80 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 794232, close 808639, bind 0, connect 2472381, delroute 0 10.00 real 2.25 user 46.87 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 989844, close 897938, bind 1812211, connect 1563370, delroute 0 10.00 real 2.57 user 53.38 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 881465, close 508508, bind 1733628, connect 1664066, delroute 0 10.27 real 2.64 user 52.59 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 879104, close 1910736, bind 3444041, connect 2941819, delroute 0 10.00 real 5.21 user 59.99 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 1920206, close 1052529, bind 5746053, connect 0, delroute 0 10.01 real 4.16 user 62.67 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 148789, close 203832, bind 0, connect 1472563, delroute 0 10.00 real 1.01 user 16.86 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 168774, close 161820, bind 251721, connect 1252587, delroute 0 10.00 real 0.85 user 16.46 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 238454, close 340903, bind 684784, connect 636624, delroute 0 10.15 real 0.96 user 43.06 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 557080, close 3620592, bind 4216298, connect 4257447, delroute 0 10.00 real 6.81 user 48.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 833680, close 1181706, bind 4041503, connect 0, delroute 0 10.01 real 3.19 user 57.28 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 489889, close 1416583, bind 0, connect 3417066, delroute 0 10.00 real 2.99 user 38.87 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 515831, close 1531909, bind 1922926, connect 1776401, delroute 0 10.00 real 2.93 user 40.69 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 140722, close 227226, bind 603487, connect 599485, delroute 0 10.24 real 0.95 user 41.21 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 432786, close 4048761, bind 4448140, connect 4617070, delroute 0 10.00 real 7.40 user 47.89 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 2066025, close 1237249, bind 8365210, connect 0, delroute 0 10.01 real 5.79 user 74.84 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 690188, close 853801, bind 0, connect 2628843, delroute 0 10.00 real 2.13 user 45.38 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 853386, close 919916, bind 1867731, connect 1589900, delroute 0 10.00 real 2.57 user 51.82 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 595852, close 385819, bind 1312285, connect 1814431, delroute 0 10.29 real 2.27 user 39.71 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 781537, close 2263421, bind 3827238, connect 3283955, delroute 0 10.00 real 5.65 user 58.82 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