START sys/netinet/bindconnect 2025-03-08T02:56:05Z ==== 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 2180458, close 1740936, bind 3465053, connect 2015965, delroute 0 10.00 real 4.25 user 33.05 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3757504, close 312963, bind 4353400, connect 0, delroute 0 10.01 real 7.93 user 52.08 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2212008, close 228295, bind 0, connect 3105136, delroute 0 10.01 real 5.02 user 45.93 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3416270, close 166335, bind 1577560, connect 1224706, delroute 0 10.01 real 7.00 user 50.56 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 86360, close 7233, bind 92004, connect 68416, delroute 0 10.14 real 0.19 user 16.52 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4029952, close 131119, bind 630426, connect 532959, delroute 0 10.00 real 7.74 user 51.47 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 1340725, close 802460, bind 3447709, connect 0, delroute 0 10.00 real 5.12 user 50.83 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1220156, close 538655, bind 0, connect 2825145, delroute 0 10.01 real 4.52 user 48.89 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1225434, close 527476, bind 1440443, connect 1126388, delroute 0 10.01 real 4.20 user 49.47 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 107739, close 12649, bind 86476, connect 51679, delroute 0 10.32 real 0.22 user 14.44 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1275881, close 905096, bind 1617931, connect 1356870, delroute 0 10.01 real 5.62 user 50.57 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 4469550, close 19736, bind 116258, connect 0, delroute 0 10.00 real 8.01 user 52.08 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4239645, close 57430, bind 0, connect 605625, delroute 0 10.01 real 7.69 user 52.04 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4478977, close 37708, bind 134944, connect 106081, delroute 0 10.01 real 7.96 user 51.95 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4451688, close 22049, bind 102711, connect 90609, delroute 0 10.16 real 7.71 user 52.16 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4317444, close 78251, bind 238323, connect 191813, delroute 0 10.04 real 7.90 user 52.29 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 4380531, close 41125, bind 265054, connect 0, delroute 0 10.00 real 8.13 user 52.07 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2086016, close 204613, bind 0, connect 2333086, delroute 0 10.01 real 4.38 user 42.24 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4068154, close 60151, bind 397558, connect 296406, delroute 0 10.01 real 7.40 user 51.25 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 80256, close 1284, bind 187751, connect 123447, delroute 0 10.13 real 0.23 user 15.00 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3901736, close 127549, bind 626070, connect 492904, delroute 0 10.01 real 7.06 user 51.16 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 1225463, close 1001366, bind 3779303, connect 0, delroute 0 10.00 real 5.12 user 49.54 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1130754, close 507533, bind 0, connect 2888344, delroute 0 10.01 real 4.01 user 48.33 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1132588, close 601863, bind 1761546, connect 1341083, delroute 0 10.01 real 3.93 user 48.42 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 109254, close 9882, bind 73396, connect 39201, delroute 0 10.31 real 0.30 user 13.85 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1235229, close 803925, bind 1525481, connect 1219569, delroute 0 10.00 real 5.94 user 50.96 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 3805216, close 25164, bind 143888, connect 0, delroute 0 10.00 real 8.07 user 51.96 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3529742, close 54653, bind 0, connect 655747, delroute 0 10.01 real 7.34 user 52.22 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3732488, close 41847, bind 163477, connect 125347, delroute 0 10.01 real 7.44 user 52.45 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3697381, close 18105, bind 187715, connect 272816, delroute 0 10.17 real 8.02 user 52.07 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3679783, close 86728, bind 281197, connect 228463, delroute 0 10.01 real 7.07 user 52.68 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