START sys/netinet/bindconnect 2024-08-15T19:20:08Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 7030 -> 110000 ==== run-default ==== cc -O2 -pipe -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 492781, close 365648, bind 1891856, connect 1545138, delroute 0 10.00 real 1.85 user 28.63 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1284145, close 651428, bind 14156233, connect 0, delroute 0 10.00 real 8.68 user 78.22 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 19902, close 12258, bind 0, connect 4066861, delroute 0 10.00 real 2.83 user 76.18 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 131860, close 75449, bind 4502141, connect 2483656, delroute 0 10.00 real 4.14 user 75.00 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63984, close 56634, bind 850155, connect 546203, delroute 0 10.09 real 0.71 user 44.23 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 116280, close 104845, bind 4617049, connect 2562233, delroute 0 10.01 real 4.20 user 74.68 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 1232827, close 907118, bind 4692778, connect 0, delroute 0 10.01 real 3.08 user 75.48 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 481026, close 785318, bind 0, connect 3117580, delroute 0 10.00 real 2.34 user 69.20 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 519675, close 801714, bind 1571913, connect 1668620, delroute 0 10.00 real 2.42 user 69.43 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103763, close 158185, bind 505640, connect 538162, delroute 0 10.44 real 0.73 user 22.96 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 422127, close 2480102, bind 3999851, connect 4056436, delroute 0 10.00 real 6.24 user 69.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 824750, close 422718, bind 14534191, connect 0, delroute 0 10.01 real 8.57 user 77.05 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 19884, close 11237, bind 0, connect 4386871, delroute 0 10.00 real 2.67 user 77.82 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 93266, close 50037, bind 4479902, connect 2348817, delroute 0 10.00 real 3.92 user 73.45 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 193032, close 94021, bind 5311260, connect 2793617, delroute 0 10.18 real 4.42 user 75.66 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 79128, close 60544, bind 4532481, connect 2406485, delroute 0 10.00 real 3.72 user 74.56 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 1266260, close 644880, bind 14006776, connect 0, delroute 0 10.01 real 8.69 user 78.28 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6392, close 4010, bind 0, connect 2782592, delroute 0 10.00 real 1.84 user 74.42 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 51394, close 31419, bind 3406093, connect 1573470, delroute 0 10.00 real 2.72 user 72.28 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63566, close 63934, bind 1539274, connect 855818, delroute 0 10.10 real 1.39 user 47.46 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 45960, close 55456, bind 3546398, connect 1697875, delroute 0 10.01 real 2.93 user 71.80 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 1179893, close 904534, bind 4528860, connect 0, delroute 0 10.01 real 2.81 user 76.38 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 375266, close 506824, bind 0, connect 2527167, delroute 0 10.00 real 1.97 user 64.14 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 413363, close 551277, bind 1196819, connect 1412854, delroute 0 10.00 real 1.78 user 65.86 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98531, close 159157, bind 549018, connect 612421, delroute 0 10.47 real 0.79 user 24.25 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 335552, close 2436259, bind 3529375, connect 3785104, delroute 0 10.00 real 5.61 user 63.45 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 959805, close 499190, bind 14156676, connect 0, delroute 0 10.01 real 8.84 user 77.96 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17396, close 10184, bind 0, connect 4324916, delroute 0 10.00 real 2.80 user 77.37 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 95847, close 54110, bind 4417376, connect 2224601, delroute 0 10.00 real 3.68 user 72.70 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 185461, close 99770, bind 5274374, connect 2694037, delroute 0 10.20 real 4.79 user 72.42 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 80628, close 64808, bind 4444004, connect 2274162, delroute 0 10.01 real 3.56 user 72.80 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