START sys/netinet/bindconnect 2025-03-06T19:34:20Z ==== 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 738180, close 634387, bind 946494, connect 1919719, delroute 0 10.00 real 1.93 user 20.34 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1889707, close 1182979, bind 6327650, connect 0, delroute 0 10.00 real 4.82 user 66.97 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 263610, close 395514, bind 0, connect 2613168, delroute 0 10.00 real 1.90 user 24.34 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 361173, close 438820, bind 692832, connect 2072940, delroute 0 10.00 real 1.66 user 26.12 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 127609, close 136153, bind 380716, connect 352574, delroute 0 10.14 real 0.42 user 45.97 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 727589, close 2939780, bind 4279809, connect 4103335, delroute 0 10.00 real 6.53 user 55.50 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 847180, close 1190706, bind 4150614, connect 0, delroute 0 10.01 real 3.11 user 57.84 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 538572, close 1530075, bind 0, connect 3724371, delroute 0 10.00 real 3.02 user 42.27 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 566025, close 1567316, bind 1991639, connect 1835935, delroute 0 10.00 real 3.13 user 44.31 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 135263, close 207701, bind 565214, connect 558239, delroute 0 10.23 real 0.90 user 42.78 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 460446, close 3981891, bind 4600562, connect 4655267, delroute 0 10.00 real 7.47 user 53.04 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 2291189, close 1237228, bind 8548258, connect 0, delroute 0 10.01 real 6.11 user 73.52 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 807092, close 821599, bind 0, connect 2516151, delroute 0 10.00 real 2.04 user 47.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 1024828, close 958858, bind 1836146, connect 1583340, delroute 0 10.00 real 2.79 user 53.20 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 903697, close 523990, bind 1747965, connect 1691741, delroute 0 10.27 real 2.63 user 52.33 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 892556, close 1964746, bind 3532075, connect 3033241, delroute 0 10.00 real 5.36 user 59.88 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 1888634, close 1155815, bind 5789276, connect 0, delroute 0 10.01 real 3.96 user 62.32 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 129798, close 181168, bind 0, connect 1449439, delroute 0 10.00 real 0.99 user 15.77 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 155125, close 171016, bind 251982, connect 1280976, delroute 0 10.00 real 0.99 user 16.16 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 105148, close 111858, bind 387924, connect 339139, delroute 0 10.21 real 0.54 user 44.04 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 562456, close 3706284, bind 4319688, connect 4375234, delroute 0 10.00 real 6.87 user 47.05 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 795519, close 1174400, bind 3940556, connect 0, delroute 0 10.01 real 2.92 user 56.80 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 483344, close 1543472, bind 0, connect 3643897, delroute 0 10.00 real 3.03 user 37.74 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 510064, close 1664583, bind 2015713, connect 1888573, delroute 0 10.00 real 3.17 user 40.67 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 187024, close 304232, bind 695943, connect 713761, delroute 0 10.23 real 1.02 user 41.98 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 427232, close 4235677, bind 4558294, connect 4772456, delroute 0 10.00 real 7.28 user 47.16 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 2099570, close 1296595, bind 8414053, connect 0, delroute 0 10.01 real 5.73 user 74.67 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 720871, close 885956, bind 0, connect 2578242, delroute 0 10.00 real 2.43 user 46.35 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 916099, close 977796, bind 1871230, connect 1573121, delroute 0 10.00 real 2.67 user 51.29 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 648889, close 428317, bind 1388911, connect 1797328, delroute 0 10.28 real 2.18 user 43.00 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 802844, close 2282593, bind 3939411, connect 3336774, delroute 0 10.00 real 6.39 user 58.03 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