START sys/netinet/bindconnect 2024-06-26T01:57:44Z ==== 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 890610, close 1420274, bind 3367503, connect 2866791, delroute 0 10.00 real 3.69 user 28.14 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3924502, close 17810, bind 318565, connect 0, delroute 0 10.00 real 6.73 user 53.22 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3885195, close 3594, bind 0, connect 97694, delroute 0 10.00 real 6.99 user 52.68 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3990099, close 3832, bind 49647, connect 37571, delroute 0 10.00 real 7.16 user 52.96 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1699967, close 1679, bind 40067, connect 32896, delroute 0 10.18 real 2.88 user 36.08 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3953353, close 13106, bind 69014, connect 56584, delroute 0 10.00 real 7.10 user 52.89 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 1999998, close 959670, bind 7114660, connect 0, delroute 0 10.00 real 4.00 user 54.71 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1976869, close 110799, bind 0, connect 2723151, delroute 0 10.00 real 5.09 user 52.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 1918526, close 172804, bind 1297142, connect 1268436, delroute 0 10.00 real 5.09 user 52.89 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 124460, close 22723, bind 58208, connect 63615, delroute 0 10.40 real 0.36 user 13.79 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1878709, close 216038, bind 968530, connect 808396, delroute 0 10.00 real 5.30 user 52.93 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 4044114, close 13498, bind 215227, connect 0, delroute 0 10.00 real 6.99 user 53.06 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3717271, close 5853, bind 0, connect 244236, delroute 0 10.00 real 6.51 user 52.99 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3925445, close 8029, bind 110900, connect 84034, delroute 0 10.00 real 6.72 user 53.01 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3947017, close 7303, bind 99437, connect 91310, delroute 0 10.13 real 6.92 user 52.89 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3974558, close 15723, bind 88984, connect 71310, delroute 0 10.01 real 7.32 user 52.46 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 3914408, close 7931, bind 174271, connect 0, delroute 0 10.00 real 6.90 user 53.17 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3808035, close 3222, bind 0, connect 122602, delroute 0 10.00 real 6.67 user 53.37 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3857497, close 5132, bind 72005, connect 53099, delroute 0 10.00 real 6.73 user 53.06 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1734759, close 1235, bind 40918, connect 30876, delroute 0 10.15 real 2.99 user 38.94 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3881506, close 16489, bind 77435, connect 63225, delroute 0 10.00 real 6.82 user 53.21 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 2002340, close 887686, bind 6207715, connect 0, delroute 0 10.00 real 3.93 user 55.05 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1924308, close 109006, bind 0, connect 2501521, delroute 0 10.00 real 5.05 user 52.83 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1890509, close 151406, bind 1256544, connect 1249048, delroute 0 10.00 real 4.91 user 52.84 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 123289, close 24266, bind 60408, connect 70485, delroute 0 10.44 real 0.24 user 14.31 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1875582, close 212910, bind 906165, connect 781389, delroute 0 10.00 real 5.97 user 52.62 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 3327507, close 12369, bind 191509, connect 0, delroute 0 10.00 real 6.76 user 53.30 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3221289, close 6024, bind 0, connect 168794, delroute 0 10.00 real 6.50 user 53.09 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3243966, close 8149, bind 116355, connect 87342, delroute 0 10.00 real 6.91 user 52.67 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3238914, close 5410, bind 84145, connect 65499, delroute 0 10.13 real 6.73 user 53.16 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3261634, close 17946, bind 91458, connect 76926, delroute 0 10.00 real 6.68 user 53.19 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