START sys/netinet/bindconnect 2025-03-31T01:48:02Z ==== 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 2160160, close 1693253, bind 3415565, connect 1952216, delroute 0 10.00 real 4.25 user 32.21 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3713753, close 413566, bind 4178815, connect 0, delroute 0 10.01 real 7.70 user 52.53 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2314786, close 246533, bind 0, connect 2973990, delroute 0 10.01 real 5.43 user 46.86 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3802085, close 117678, bind 924553, connect 760751, delroute 0 10.01 real 7.30 user 50.81 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 105077, close 11373, bind 121680, connect 106990, delroute 0 10.17 real 0.22 user 13.47 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3871024, close 143930, bind 705998, connect 612784, delroute 0 10.00 real 7.89 user 51.03 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 1287378, close 760445, bind 3670484, connect 0, delroute 0 10.00 real 4.74 user 50.61 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1152790, close 614361, bind 0, connect 3162666, delroute 0 10.01 real 4.11 user 48.23 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1202728, close 580478, bind 1521325, connect 1193622, delroute 0 10.01 real 4.99 user 48.26 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 107963, close 9946, bind 87257, connect 53678, delroute 0 10.36 real 0.33 user 14.10 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1252509, close 927851, bind 1696733, connect 1412759, delroute 0 10.01 real 5.79 user 50.41 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 4447680, close 29873, bind 182267, connect 0, delroute 0 10.00 real 8.44 user 51.57 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4061489, close 98206, bind 0, connect 1010687, delroute 0 10.01 real 7.65 user 51.63 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4244189, close 70367, bind 245593, connect 193006, delroute 0 10.01 real 8.00 user 51.65 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4443821, close 30113, bind 192625, connect 156371, delroute 0 10.17 real 8.52 user 51.52 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4216492, close 103782, bind 304091, connect 249966, delroute 0 10.00 real 7.60 user 52.30 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 4349214, close 41996, bind 272118, connect 0, delroute 0 10.00 real 8.21 user 51.87 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1619650, close 282491, bind 0, connect 2834726, delroute 0 10.01 real 4.06 user 41.39 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4005486, close 66476, bind 424905, connect 307852, delroute 0 10.01 real 7.56 user 51.30 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 381409, close 3378, bind 131128, connect 101076, delroute 0 10.17 real 0.72 user 25.08 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3880393, close 139569, bind 694345, connect 510421, delroute 0 10.00 real 7.65 user 51.29 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 1311418, close 732620, bind 3154960, connect 0, delroute 0 10.00 real 5.79 user 50.65 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1027796, close 634492, bind 0, connect 3510691, delroute 0 10.01 real 3.85 user 46.92 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1110981, close 665356, bind 1846455, connect 1411282, delroute 0 10.01 real 3.88 user 48.40 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 84848, close 6728, bind 82853, connect 54302, delroute 0 10.22 real 0.22 user 16.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 1244492, close 1034229, bind 1860218, connect 1532482, delroute 0 10.00 real 6.09 user 49.78 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 3852004, close 34425, bind 198381, connect 0, delroute 0 10.00 real 8.25 user 51.76 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3472315, close 84130, bind 0, connect 950118, delroute 0 10.01 real 7.42 user 51.63 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3712364, close 64328, bind 247041, connect 191907, delroute 0 10.01 real 7.75 user 51.91 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3744060, close 26685, bind 479501, connect 209217, delroute 0 10.18 real 8.00 user 52.10 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3562746, close 103357, bind 330723, connect 266622, delroute 0 10.00 real 7.49 user 52.36 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