START sys/netinet/bindconnect 2024-01-25T03:08:19Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 7030 -> 110000 ==== run-default ==== cc -O2 -pipe -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 995651, close 1192892, bind 2992802, connect 2604772, delroute 0 10.00 real 3.53 user 29.56 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4092982, close 10088, bind 5457295, connect 0, delroute 0 10.01 real 8.27 user 51.99 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4996513, close 1346, bind 0, connect 58297, delroute 0 10.01 real 6.95 user 53.15 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 5167906, close 2172, bind 27804, connect 26551, delroute 0 10.01 real 7.06 user 52.75 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4245646, close 2438, bind 41742, connect 33297, delroute 0 10.13 real 6.07 user 51.08 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 5091305, close 3218, bind 28386, connect 30952, delroute 0 10.00 real 7.07 user 52.90 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 2339770, close 931156, bind 5768146, connect 0, delroute 0 10.00 real 4.13 user 54.63 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2456685, close 75645, bind 0, connect 3182372, delroute 0 10.01 real 5.48 user 52.05 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2379189, close 89637, bind 1552066, connect 1545865, delroute 0 10.01 real 5.20 user 52.80 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 167022, close 15286, bind 43657, connect 46804, delroute 0 10.31 real 0.29 user 13.90 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2378022, close 98573, bind 1378114, connect 1276652, delroute 0 10.01 real 5.29 user 52.80 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 3362633, close 79918, bind 8428895, connect 0, delroute 0 10.00 real 7.77 user 52.24 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5021659, close 1624, bind 0, connect 64287, delroute 0 10.01 real 7.01 user 53.14 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 5006172, close 2743, bind 37825, connect 30767, delroute 0 10.01 real 7.01 user 53.03 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4949747, close 7678, bind 71784, connect 67335, delroute 0 10.13 real 7.04 user 52.86 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 5028483, close 4226, bind 47253, connect 40902, delroute 0 10.00 real 7.21 user 52.81 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 4101716, close 4347, bind 5128626, connect 0, delroute 0 10.00 real 7.41 user 52.42 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4748664, close 1021, bind 0, connect 57283, delroute 0 10.01 real 7.10 user 52.86 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4981722, close 1621, bind 27938, connect 26366, delroute 0 10.01 real 7.40 user 52.53 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2622529, close 1812, bind 41862, connect 33639, delroute 0 10.18 real 4.16 user 42.86 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4872694, close 3260, bind 33950, connect 31005, delroute 0 10.01 real 6.87 user 53.09 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 2325295, close 889576, bind 5377220, connect 0, delroute 0 10.00 real 4.07 user 54.60 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2422680, close 65819, bind 0, connect 2867573, delroute 0 10.01 real 5.06 user 53.06 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2333631, close 84766, bind 1685994, connect 1626502, delroute 0 10.01 real 5.23 user 52.95 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 127579, close 18645, bind 51729, connect 59784, delroute 0 10.33 real 0.29 user 13.72 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2325823, close 107984, bind 1323116, connect 1262240, delroute 0 10.00 real 5.59 user 52.41 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 3510636, close 46481, bind 3565538, connect 0, delroute 0 10.00 real 7.26 user 52.70 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4055164, close 1868, bind 0, connect 81874, delroute 0 10.01 real 7.02 user 53.01 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4074975, close 3560, bind 47847, connect 42889, delroute 0 10.01 real 6.25 user 53.81 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3872611, close 5221, bind 47575, connect 51740, delroute 0 10.13 real 6.51 user 53.42 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3981127, close 2539, bind 31064, connect 30498, delroute 0 10.00 real 6.79 user 53.27 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