START sys/netinet/bindconnect 2025-03-27T19:29:04Z ==== 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 801143, close 687468, bind 998086, connect 1868519, delroute 0 10.00 real 1.97 user 21.43 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1966175, close 1141618, bind 6600036, connect 0, delroute 0 10.00 real 5.48 user 70.03 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 250618, close 359122, bind 0, connect 2529730, delroute 0 10.00 real 1.70 user 23.43 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 336321, close 385501, bind 640378, connect 2050070, delroute 0 10.00 real 1.94 user 25.42 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 128369, close 134415, bind 363135, connect 335492, delroute 0 10.19 real 0.52 user 43.72 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 707652, close 2497352, bind 3713121, connect 3593951, delroute 0 10.00 real 6.63 user 54.90 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 852455, close 1089153, bind 3811819, connect 0, delroute 0 10.01 real 2.87 user 59.19 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 537513, close 1307979, bind 0, connect 3288777, delroute 0 10.00 real 3.16 user 41.74 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 561625, close 1317503, bind 1735611, connect 1611040, delroute 0 10.00 real 2.75 user 44.45 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 136592, close 197935, bind 525643, connect 524339, delroute 0 10.30 real 0.74 user 43.14 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 453345, close 3519935, bind 4049784, connect 4122660, delroute 0 10.00 real 7.65 user 50.93 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 2373075, close 1230240, bind 8420292, connect 0, delroute 0 10.01 real 6.27 user 76.71 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 786776, close 798045, bind 0, connect 2475676, delroute 0 10.00 real 2.09 user 48.81 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 976816, close 889662, bind 1796045, connect 1546448, delroute 0 10.00 real 2.65 user 54.11 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 866441, close 505392, bind 1650125, connect 1637011, delroute 0 10.27 real 2.87 user 51.32 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 852227, close 1735435, bind 3107319, connect 2669378, delroute 0 10.00 real 4.88 user 59.17 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 1977534, close 1135087, bind 6670536, connect 0, delroute 0 10.01 real 5.48 user 71.13 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 97731, close 144696, bind 0, connect 1431966, delroute 0 10.00 real 0.93 user 16.08 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 111335, close 130350, bind 210058, connect 1269826, delroute 0 10.00 real 1.12 user 15.99 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 153038, close 183395, bind 465955, connect 424998, delroute 0 10.16 real 0.76 user 45.05 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 549515, close 3226734, bind 3797278, connect 3884198, delroute 0 10.00 real 6.75 user 48.19 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 861822, close 1060231, bind 3743450, connect 0, delroute 0 10.01 real 3.17 user 58.19 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 491283, close 1210143, bind 0, connect 3036598, delroute 0 10.00 real 3.15 user 39.15 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 514974, close 1287835, bind 1657382, connect 1550455, delroute 0 10.00 real 2.54 user 39.87 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 135087, close 208091, bind 552549, connect 544945, delroute 0 10.27 real 0.86 user 43.31 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 427071, close 3667520, bind 3959678, connect 4159576, delroute 0 10.00 real 7.03 user 47.78 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 2145441, close 1206598, bind 8345232, connect 0, delroute 0 10.01 real 6.44 user 75.91 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 673645, close 804090, bind 0, connect 2505717, delroute 0 10.00 real 2.50 user 44.31 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 864168, close 887639, bind 1802832, connect 1532004, delroute 0 10.00 real 2.79 user 51.23 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 588718, close 382827, bind 1262920, connect 1802355, delroute 0 10.29 real 2.55 user 40.41 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 770286, close 2039637, bind 3477680, connect 2978031, delroute 0 10.01 real 5.76 user 57.98 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