START sys/netinet/bindconnect 2025-04-02T18:27:26Z ==== 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 790908, close 685877, bind 1043087, connect 1884116, delroute 0 10.00 real 1.89 user 20.91 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1931702, close 1190303, bind 6500348, connect 0, delroute 0 10.00 real 4.40 user 67.25 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 271405, close 415948, bind 0, connect 2598819, delroute 0 10.00 real 1.48 user 24.40 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 376277, close 456247, bind 715460, connect 2029749, delroute 0 10.00 real 1.59 user 27.06 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 154731, close 183534, bind 447315, connect 419419, delroute 0 10.17 real 0.54 user 45.54 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 723642, close 2944736, bind 4358963, connect 4203179, delroute 0 10.00 real 6.43 user 55.54 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 845994, close 1224175, bind 4208306, connect 0, delroute 0 10.01 real 2.93 user 58.46 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 534676, close 1555735, bind 0, connect 3801437, delroute 0 10.00 real 3.38 user 42.07 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 563291, close 1642903, bind 2085866, connect 1920791, delroute 0 10.00 real 3.38 user 43.87 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 162052, close 249978, bind 618244, connect 624848, delroute 0 10.23 real 0.80 user 42.93 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 464115, close 3953039, bind 4662360, connect 4611305, delroute 0 10.00 real 7.77 user 50.68 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 2262086, close 1228690, bind 8513295, connect 0, delroute 0 10.01 real 5.96 user 74.68 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 783178, close 821968, bind 0, connect 2519642, delroute 0 10.00 real 2.21 user 47.64 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 985811, close 924686, bind 1866738, connect 1597399, delroute 0 10.00 real 2.60 user 52.64 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 926695, close 523564, bind 1828068, connect 1714458, delroute 0 10.26 real 2.64 user 53.21 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 884495, close 1877845, bind 3452261, connect 2957160, delroute 0 10.01 real 5.50 user 59.89 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 1881310, close 1173005, bind 5843670, connect 0, delroute 0 10.01 real 4.24 user 63.63 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 152144, close 247230, bind 0, connect 1532333, delroute 0 10.00 real 0.80 user 16.99 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 145359, close 176444, bind 266195, connect 1283755, delroute 0 10.00 real 0.84 user 16.49 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 105053, close 112514, bind 396188, connect 345726, delroute 0 10.17 real 0.51 user 43.56 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 561612, close 3767381, bind 4414905, connect 4449584, delroute 0 10.00 real 7.32 user 47.99 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 823884, close 1204419, bind 4111922, connect 0, delroute 0 10.01 real 2.59 user 57.15 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 486377, close 1467184, bind 0, connect 3564535, delroute 0 10.00 real 2.90 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 515577, close 1599837, bind 1999621, connect 1837239, delroute 0 10.00 real 3.09 user 39.93 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 140953, close 232315, bind 611714, connect 612397, delroute 0 10.26 real 0.85 user 41.96 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 435413, close 4144398, bind 4598446, connect 4782883, delroute 0 10.00 real 7.36 user 47.07 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 2073408, close 1282060, bind 8461624, connect 0, delroute 0 10.01 real 6.05 user 74.46 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 720430, close 896451, bind 0, connect 2599664, delroute 0 10.00 real 2.44 user 46.30 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 910483, close 999060, bind 1866691, connect 1562954, delroute 0 10.00 real 2.62 user 51.03 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 664242, close 430616, bind 1476074, connect 1759208, delroute 0 10.29 real 2.27 user 43.50 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 802129, close 2304089, bind 4009913, connect 3401550, delroute 0 10.00 real 6.12 user 59.49 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