START sys/netinet/bindconnect 2024-10-26T01:41:54Z ==== 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 560362, close 452355, bind 2056366, connect 1989631, delroute 0 10.00 real 2.46 user 26.77 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4023933, close 10153, bind 247704, connect 0, delroute 0 10.01 real 7.67 user 52.26 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3883917, close 2298, bind 0, connect 157828, delroute 0 10.01 real 7.67 user 52.27 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4035095, close 3845, bind 73277, connect 47890, delroute 0 10.01 real 7.64 user 52.35 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1214989, close 1379, bind 39828, connect 32442, delroute 0 10.16 real 2.19 user 34.87 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3961013, close 4050, bind 58980, connect 43514, delroute 0 10.00 real 7.95 user 52.04 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 2001955, close 750555, bind 5806021, connect 0, delroute 0 10.00 real 4.15 user 54.92 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2005872, close 105697, bind 0, connect 2931097, delroute 0 10.01 real 5.00 user 53.25 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1917925, close 139180, bind 1376383, connect 1341965, delroute 0 10.01 real 5.59 user 52.83 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 130034, close 16681, bind 43156, connect 50123, delroute 0 10.45 real 0.25 user 13.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 1921978, close 121727, bind 935323, connect 898308, delroute 0 10.00 real 6.46 user 51.77 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 4061551, close 6252, bind 151578, connect 0, delroute 0 10.00 real 8.06 user 51.94 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3793339, close 4001, bind 0, connect 253342, delroute 0 10.01 real 7.46 user 52.32 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3977438, close 5306, bind 118947, connect 90614, delroute 0 10.08 real 7.76 user 52.45 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3881408, close 3462, bind 76076, connect 62183, delroute 0 10.16 real 7.98 user 51.97 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3950539, close 5440, bind 92925, connect 70477, delroute 0 10.07 real 7.75 user 52.49 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 3974856, close 4416, bind 130347, connect 0, delroute 0 10.00 real 8.19 user 51.92 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3733493, close 1808, bind 0, connect 140160, delroute 0 10.01 real 7.04 user 52.89 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3875188, close 2469, bind 61952, connect 46045, delroute 0 10.01 real 8.05 user 51.89 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1026354, close 1827, bind 42305, connect 30604, delroute 0 10.21 real 2.29 user 31.28 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3772275, close 7037, bind 76539, connect 58429, delroute 0 10.01 real 8.15 user 51.83 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 1934753, close 992965, bind 6367505, connect 0, delroute 0 10.00 real 4.40 user 54.67 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1951949, close 88187, bind 0, connect 2255813, delroute 0 10.01 real 5.82 user 52.51 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1865787, close 128423, bind 1499818, connect 1429576, delroute 0 10.01 real 5.19 user 52.96 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 120173, close 38709, bind 130011, connect 85691, delroute 0 10.48 real 0.26 user 13.55 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1863749, close 188600, bind 977315, connect 855766, delroute 0 10.01 real 6.25 user 52.28 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 3253463, close 5870, bind 172259, connect 0, delroute 0 10.00 real 7.69 user 52.36 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3160285, close 1903, bind 0, connect 152725, delroute 0 10.01 real 7.23 user 52.58 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3196153, close 3209, bind 83003, connect 61151, delroute 0 10.01 real 7.71 user 52.41 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3166566, close 3241, bind 68521, connect 52822, delroute 0 10.17 real 7.08 user 53.01 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3190221, close 4758, bind 82850, connect 61084, delroute 0 10.00 real 7.54 user 52.49 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