START sys/netinet/bindconnect 2025-03-20T02:39:24Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=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 2170907, close 1715997, bind 3448355, connect 1955489, delroute 0 10.00 real 3.97 user 33.28 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3793701, close 435536, bind 4264489, connect 0, delroute 0 10.01 real 8.12 user 51.90 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2276274, close 271601, bind 0, connect 3156278, delroute 0 10.01 real 5.36 user 46.51 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4064831, close 83128, bind 674183, connect 523682, delroute 0 10.01 real 7.22 user 51.44 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 100264, close 5839, bind 211325, connect 149520, delroute 0 10.18 real 0.24 user 14.74 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4026354, close 137254, bind 667015, connect 569897, delroute 0 10.01 real 7.45 user 51.68 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 1340820, close 835643, bind 3464471, connect 0, delroute 0 10.00 real 4.70 user 50.71 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1196248, close 567740, bind 0, connect 2921737, delroute 0 10.01 real 4.24 user 47.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 1235026, close 644740, bind 1679120, connect 1315016, delroute 0 10.14 real 4.32 user 49.37 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108631, close 10472, bind 76548, connect 40414, delroute 0 10.38 real 0.24 user 14.61 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1270410, close 998515, bind 1751582, connect 1480855, delroute 0 10.00 real 5.70 user 50.62 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 4493941, close 51631, bind 290560, connect 0, delroute 0 10.00 real 7.99 user 51.87 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4166702, close 66858, bind 0, connect 683958, delroute 0 10.01 real 7.16 user 52.41 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4363030, close 57739, bind 202765, connect 165034, delroute 0 10.01 real 7.83 user 51.91 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4579802, close 19924, bind 65860, connect 58697, delroute 0 10.15 real 7.80 user 52.38 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4330984, close 98629, bind 290732, connect 239484, delroute 0 10.00 real 7.83 user 51.97 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 4425013, close 35625, bind 232551, connect 0, delroute 0 10.00 real 8.22 user 51.76 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1588204, close 268755, bind 0, connect 2866288, delroute 0 10.01 real 3.78 user 39.80 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4130241, close 55718, bind 369232, connect 269102, delroute 0 10.01 real 7.82 user 51.13 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 134512, close 5630, bind 113378, connect 68731, delroute 0 10.15 real 0.32 user 14.13 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4020487, close 112823, bind 534737, connect 402380, delroute 0 10.01 real 7.79 user 51.08 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 1317149, close 835659, bind 3561762, connect 0, delroute 0 10.00 real 4.92 user 51.31 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1037191, close 638469, bind 0, connect 3592836, delroute 0 10.01 real 3.83 user 47.49 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1163424, close 628492, bind 1791215, connect 1332636, delroute 0 10.01 real 3.88 user 48.61 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 101468, close 6318, bind 110298, connect 70470, delroute 0 10.37 real 0.15 user 15.26 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1230660, close 1094881, bind 1915150, connect 1567622, delroute 0 10.00 real 6.10 user 50.12 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 3832011, close 15048, bind 86981, connect 0, delroute 0 10.00 real 7.16 user 52.85 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3521972, close 70052, bind 0, connect 813149, delroute 0 10.01 real 7.34 user 51.94 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3739205, close 48943, bind 186993, connect 145087, delroute 0 10.01 real 8.15 user 51.80 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3775890, close 18426, bind 324036, connect 179653, delroute 0 10.17 real 7.85 user 52.28 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3652267, close 88099, bind 288448, connect 233638, delroute 0 10.00 real 8.06 user 51.60 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