START sys/netinet/bindconnect 2024-04-26T01:57:50Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=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 652990, close 500713, bind 2571176, connect 2132007, delroute 0 10.01 real 2.75 user 30.50 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2315523, close 23541, bind 8422729, connect 0, delroute 0 10.01 real 7.71 user 52.31 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3320141, close 1627, bind 0, connect 224260, delroute 0 10.01 real 6.53 user 53.50 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3419693, close 2259, bind 67448, connect 60421, delroute 0 10.01 real 6.85 user 52.97 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 609350, close 1644, bind 43159, connect 30191, delroute 0 10.19 real 1.29 user 28.94 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3406639, close 1907, bind 41158, connect 49267, delroute 0 10.00 real 7.03 user 52.88 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 1856072, close 678057, bind 5326870, connect 0, delroute 0 10.00 real 3.33 user 55.80 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1941231, close 91743, bind 0, connect 2830660, delroute 0 10.01 real 4.40 user 53.77 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1886647, close 106067, bind 1568319, connect 1450073, delroute 0 10.01 real 4.23 user 54.12 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 128585, close 20529, bind 54200, connect 57658, delroute 0 10.49 real 0.32 user 13.70 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1896946, close 149846, bind 1369249, connect 1270715, delroute 0 10.00 real 4.58 user 53.82 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 1521519, close 59638, bind 13402287, connect 0, delroute 0 10.00 real 7.40 user 52.34 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3400198, close 1789, bind 0, connect 225947, delroute 0 10.01 real 6.82 user 53.22 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3444454, close 3106, bind 77609, connect 73765, delroute 0 10.00 real 6.47 user 53.39 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3422838, close 8087, bind 165825, connect 150320, delroute 0 10.19 real 7.17 user 52.87 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3441403, close 2800, bind 66936, connect 62136, delroute 0 10.00 real 6.63 user 53.31 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 1734226, close 15504, bind 12638488, connect 0, delroute 0 10.00 real 8.07 user 51.94 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3336670, close 892, bind 0, connect 166596, delroute 0 10.01 real 6.51 user 53.58 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3411966, close 1246, bind 47269, connect 42081, delroute 0 10.00 real 6.26 user 53.56 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1057292, close 1217, bind 41266, connect 30728, delroute 0 10.19 real 2.18 user 33.67 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3398356, close 1714, bind 54280, connect 44536, delroute 0 10.00 real 6.97 user 53.05 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 1808410, close 864496, bind 6429443, connect 0, delroute 0 10.00 real 4.30 user 54.85 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1869748, close 87403, bind 0, connect 2755188, delroute 0 10.01 real 4.50 user 53.99 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1835896, close 108807, bind 1603392, connect 1548706, delroute 0 10.01 real 4.59 user 53.60 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 126727, close 16559, bind 45334, connect 59481, delroute 0 10.51 real 0.19 user 14.01 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1871920, close 159636, bind 1181372, connect 1181280, delroute 0 10.00 real 4.91 user 53.76 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 1501263, close 52816, bind 11393549, connect 0, delroute 0 10.00 real 7.15 user 52.96 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2726046, close 2427, bind 0, connect 318340, delroute 0 10.01 real 6.26 user 53.77 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2836965, close 3524, bind 87455, connect 88436, delroute 0 10.01 real 6.29 user 53.59 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2888418, close 4011, bind 80248, connect 85148, delroute 0 10.19 real 6.64 user 53.62 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2812462, close 3087, bind 74477, connect 71335, delroute 0 10.00 real 6.31 user 53.58 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