START sys/netinet/bindconnect 2025-03-10T19:31: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 764222, close 668945, bind 994248, connect 1894301, delroute 0 10.00 real 1.61 user 20.90 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1853509, close 1150473, bind 6207472, connect 0, delroute 0 10.00 real 4.23 user 67.98 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 290674, close 466788, bind 0, connect 2638340, delroute 0 10.00 real 1.84 user 25.29 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 372350, close 451037, bind 720124, connect 2030230, delroute 0 10.00 real 1.64 user 27.50 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97771, close 89188, bind 323722, connect 293982, delroute 0 10.17 real 0.32 user 45.18 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 718138, close 3018479, bind 4409386, connect 4218355, delroute 0 10.01 real 6.87 user 55.93 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 800604, close 1271959, bind 4223395, connect 0, delroute 0 10.01 real 3.16 user 59.18 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 522917, close 1631180, bind 0, connect 3854537, delroute 0 10.00 real 3.00 user 44.08 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 550551, close 1713030, bind 2123193, connect 1938908, delroute 0 10.00 real 3.27 user 45.68 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 179657, close 286585, bind 670552, connect 673548, delroute 0 10.21 real 0.96 user 43.49 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 450504, close 4092003, bind 4741869, connect 4768416, delroute 0 10.00 real 7.67 user 52.45 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 2259722, close 1220802, bind 8386248, connect 0, delroute 0 10.01 real 5.87 user 74.85 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 775007, close 770274, bind 0, connect 2265686, delroute 0 10.00 real 1.89 user 49.38 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 947367, close 872553, bind 1735951, connect 1478894, delroute 0 10.00 real 2.50 user 53.78 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 833847, close 488970, bind 1642807, connect 1581148, delroute 0 10.27 real 2.30 user 52.56 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 844743, close 2057537, bind 3548062, connect 3051899, delroute 0 10.00 real 5.52 user 59.82 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 1862825, close 1050024, bind 5565036, connect 0, delroute 0 10.01 real 3.99 user 62.07 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 137506, close 203516, bind 0, connect 1490558, delroute 0 10.00 real 0.90 user 16.84 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 172712, close 185097, bind 275625, connect 1267076, delroute 0 10.00 real 0.94 user 16.94 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 121549, close 137042, bind 423971, connect 372910, delroute 0 10.20 real 0.54 user 43.27 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 557842, close 3729432, bind 4375199, connect 4425375, delroute 0 10.01 real 6.62 user 48.59 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 791952, close 1277190, bind 4169536, connect 0, delroute 0 10.01 real 3.26 user 58.01 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 480437, close 1519416, bind 0, connect 3521735, delroute 0 10.00 real 3.11 user 39.03 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 506506, close 1619050, bind 1972853, connect 1804937, delroute 0 10.00 real 2.82 user 41.01 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 169762, close 275146, bind 662947, connect 663536, delroute 0 10.21 real 0.95 user 41.45 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 424632, close 4163031, bind 4550321, connect 4769533, delroute 0 10.00 real 7.36 user 48.66 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 2047213, close 1263450, bind 8483862, connect 0, delroute 0 10.01 real 5.65 user 76.36 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 655870, close 846627, bind 0, connect 2474816, delroute 0 10.00 real 2.30 user 46.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 830302, close 933540, bind 1831954, connect 1515900, delroute 0 10.00 real 2.53 user 52.14 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 635893, close 423244, bind 1381785, connect 1688561, delroute 0 10.29 real 2.17 user 44.67 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 769282, close 2354197, bind 3958531, connect 3351830, delroute 0 10.00 real 5.51 user 59.58 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