START sys/netinet/bindconnect 2025-01-08T19:36: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 1893459, close 3426731, bind 4189578, connect 2670116, delroute 0 10.01 real 5.21 user 31.34 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2099048, close 1825664, bind 10321328, connect 0, delroute 0 10.00 real 6.70 user 53.11 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1821697, close 457461, bind 0, connect 4221619, delroute 0 10.00 real 5.32 user 49.81 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2217375, close 721635, bind 3407728, connect 2540946, delroute 0 10.00 real 6.25 user 51.76 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 118310, close 77208, bind 178723, connect 160329, delroute 0 10.16 real 0.29 user 14.31 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2688972, close 1148530, bind 2549222, connect 2288068, delroute 0 10.00 real 7.37 user 52.09 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 1638017, close 1198537, bind 1649763, connect 0, delroute 0 10.00 real 2.00 user 53.83 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1299979, close 788845, bind 0, connect 2601361, delroute 0 10.00 real 2.61 user 50.15 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1347954, close 890618, bind 1333124, connect 952262, delroute 0 10.00 real 2.54 user 50.91 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 335033, close 280190, bind 349677, connect 302552, delroute 0 10.34 real 0.62 user 24.97 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1111036, close 1469565, bind 2535097, connect 1988426, delroute 0 10.00 real 4.00 user 50.87 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 3231524, close 2243261, bind 4114155, connect 0, delroute 0 10.00 real 3.94 user 56.05 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1998274, close 1010297, bind 0, connect 4218581, delroute 0 10.00 real 4.58 user 53.83 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2344383, close 1633002, bind 2149394, connect 1869339, delroute 0 10.00 real 3.59 user 55.18 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2201532, close 1257604, bind 2179640, connect 1834341, delroute 0 10.22 real 3.61 user 54.64 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1772090, close 2073409, bind 3167555, connect 2684878, delroute 0 10.00 real 5.29 user 54.00 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 2826039, close 2111214, bind 4730478, connect 0, delroute 0 10.00 real 4.34 user 55.62 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1755153, close 521313, bind 0, connect 3170896, delroute 0 10.00 real 4.28 user 47.65 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2466762, close 558580, bind 1698305, connect 1416167, delroute 0 10.00 real 5.75 user 51.32 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 113543, close 50131, bind 164621, connect 151277, delroute 0 10.19 real 0.30 user 13.59 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2630062, close 1172521, bind 2608905, connect 2097319, delroute 0 10.01 real 7.50 user 51.53 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 1589509, close 1134520, bind 1534340, connect 0, delroute 0 10.00 real 1.88 user 53.17 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1297295, close 714732, bind 0, connect 2466086, delroute 0 10.00 real 2.79 user 48.80 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1312719, close 839117, bind 1345890, connect 916501, delroute 0 10.00 real 2.29 user 50.04 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 628246, close 491418, bind 322048, connect 238759, delroute 0 10.35 real 0.72 user 22.24 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1088416, close 1352290, bind 2497366, connect 1855274, delroute 0 10.00 real 4.07 user 51.20 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 2707239, close 1985185, bind 2981194, connect 0, delroute 0 10.00 real 3.70 user 55.69 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1762185, close 868724, bind 0, connect 3811653, delroute 0 10.00 real 4.45 user 52.95 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2036490, close 1518229, bind 1842239, connect 1556725, delroute 0 10.00 real 3.53 user 54.83 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1901952, close 1152957, bind 1904897, connect 1586937, delroute 0 10.25 real 3.53 user 53.96 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1559264, close 2318243, bind 3266200, connect 2816951, delroute 0 10.01 real 5.16 user 53.78 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