START sys/netinet/bindconnect 2024-09-16T02:00:29Z ==== 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 549251, close 409667, bind 2189802, connect 1916778, delroute 0 10.00 real 2.38 user 27.62 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3342252, close 8916, bind 286163, connect 0, delroute 0 10.01 real 6.85 user 53.20 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3290904, close 1741, bind 0, connect 128771, delroute 0 10.00 real 6.83 user 52.89 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3428688, close 3761, bind 94659, connect 55199, delroute 0 10.01 real 7.01 user 52.73 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1445242, close 1025, bind 41840, connect 34202, delroute 0 10.18 real 3.07 user 37.04 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3376047, close 2643, bind 50935, connect 37767, delroute 0 10.00 real 7.27 user 52.65 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 1946796, close 613068, bind 5925902, connect 0, delroute 0 10.00 real 4.37 user 54.40 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1825329, close 43261, bind 0, connect 1136841, delroute 0 10.01 real 5.81 user 52.63 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1776204, close 63442, bind 718452, connect 692643, delroute 0 10.01 real 5.72 user 52.70 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 133373, close 18579, bind 46805, connect 49709, delroute 0 10.45 real 0.33 user 14.30 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1744456, close 66212, bind 462192, connect 449988, delroute 0 10.00 real 5.97 user 52.48 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 3509029, close 6311, bind 159774, connect 0, delroute 0 10.03 real 6.94 user 53.12 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3134121, close 2624, bind 0, connect 236881, delroute 0 10.00 real 6.55 user 52.98 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3389617, close 3388, bind 93423, connect 65172, delroute 0 10.00 real 6.73 user 52.99 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3265981, close 5041, bind 61851, connect 55531, delroute 0 10.15 real 6.79 user 53.05 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3347755, close 5194, bind 91297, connect 68052, delroute 0 10.03 real 6.89 user 53.03 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 3427032, close 3979, bind 123726, connect 0, delroute 0 10.02 real 6.65 user 53.57 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3083083, close 1020, bind 0, connect 101521, delroute 0 10.00 real 6.73 user 52.88 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3300144, close 2461, bind 64905, connect 46371, delroute 0 10.01 real 6.76 user 53.07 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1055994, close 878, bind 41773, connect 31310, delroute 0 10.19 real 2.48 user 35.73 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3242515, close 4000, bind 59723, connect 43626, delroute 0 10.00 real 7.13 user 52.86 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 1942927, close 686496, bind 5489750, connect 0, delroute 0 10.00 real 3.96 user 55.01 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1773974, close 42681, bind 0, connect 1142981, delroute 0 10.01 real 5.12 user 53.30 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1761288, close 80076, bind 998450, connect 955739, delroute 0 10.01 real 5.40 user 53.00 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 133989, close 16782, bind 55850, connect 57636, delroute 0 10.46 real 0.34 user 14.28 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1690032, close 60386, bind 343394, connect 313355, delroute 0 10.01 real 5.72 user 52.90 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 2819577, close 4332, bind 144899, connect 0, delroute 0 10.00 real 6.82 user 53.13 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2619985, close 2227, bind 0, connect 175775, delroute 0 10.00 real 6.25 user 53.61 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2722128, close 2346, bind 74367, connect 54297, delroute 0 10.01 real 6.66 user 53.29 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2682260, close 3103, bind 67060, connect 53968, delroute 0 10.16 real 6.80 user 53.13 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2645879, close 3532, bind 84469, connect 61512, delroute 0 10.01 real 6.74 user 53.09 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