START sys/netinet/bindconnect 2025-03-07T19:28:52Z ==== 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 770411, close 678888, bind 1003266, connect 1921501, delroute 0 10.00 real 2.15 user 20.92 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1905123, close 1154874, bind 6466644, connect 0, delroute 0 10.00 real 4.99 user 68.02 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 256207, close 383347, bind 0, connect 2624397, delroute 0 10.00 real 1.82 user 23.82 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 353389, close 418344, bind 697407, connect 2089395, delroute 0 10.00 real 1.98 user 25.87 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 162738, close 200562, bind 463490, connect 433550, delroute 0 10.18 real 0.75 user 45.01 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 723075, close 2717795, bind 3988188, connect 3849109, delroute 0 10.01 real 6.54 user 55.44 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 861206, close 1146083, bind 3981177, connect 0, delroute 0 10.01 real 3.23 user 58.70 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 543482, close 1446608, bind 0, connect 3591005, delroute 0 10.00 real 3.10 user 43.39 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 572897, close 1482228, bind 1900762, connect 1755208, delroute 0 10.00 real 3.26 user 44.09 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 146045, close 219876, bind 565954, connect 566774, delroute 0 10.26 real 0.81 user 42.61 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 463913, close 3722926, bind 4333095, connect 4362395, delroute 0 10.00 real 7.60 user 51.52 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 2348255, close 1234777, bind 8583930, connect 0, delroute 0 10.01 real 6.82 user 75.70 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 796537, close 818017, bind 0, connect 2512107, delroute 0 10.00 real 2.48 user 48.41 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1001623, close 923972, bind 1852959, connect 1592502, delroute 0 10.00 real 3.17 user 54.53 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 921268, close 524993, bind 1756703, connect 1647350, delroute 0 10.27 real 2.74 user 53.07 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 886028, close 1793108, bind 3266860, connect 2791773, delroute 0 10.00 real 4.91 user 61.04 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 1850219, close 1134644, bind 6233184, connect 0, delroute 0 10.01 real 4.41 user 67.04 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 112082, close 184324, bind 0, connect 1493067, delroute 0 10.00 real 0.77 user 16.79 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 123996, close 158308, bind 249489, connect 1298339, delroute 0 10.00 real 0.91 user 16.45 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 104190, close 107048, bind 374601, connect 327524, delroute 0 10.15 real 0.52 user 44.68 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 559118, close 3522917, bind 4094088, connect 4162329, delroute 0 10.00 real 7.17 user 48.36 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 843473, close 1126799, bind 3857612, connect 0, delroute 0 10.01 real 2.71 user 57.19 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 496444, close 1372755, bind 0, connect 3352879, delroute 0 10.00 real 3.10 user 39.33 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 528572, close 1475472, bind 1834527, connect 1711222, delroute 0 10.00 real 2.71 user 39.26 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 136752, close 217476, bind 577516, connect 573316, delroute 0 10.24 real 0.93 user 41.17 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 434038, close 3871329, bind 4168140, connect 4384860, delroute 0 10.00 real 7.89 user 48.14 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 2095193, close 1230490, bind 8362576, connect 0, delroute 0 10.01 real 6.02 user 75.82 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 698734, close 844284, bind 0, connect 2607833, delroute 0 10.00 real 2.51 user 45.88 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 875013, close 914889, bind 1866619, connect 1583122, delroute 0 10.00 real 2.65 user 51.78 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 687294, close 450009, bind 1436354, connect 1726505, delroute 0 10.29 real 2.49 user 43.63 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 793355, close 2123319, bind 3684514, connect 3131808, delroute 0 10.01 real 5.88 user 58.57 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