START sys/netinet/bindconnect 2024-02-05T03:08:01Z ==== 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 875777, close 891144, bind 2667955, connect 2231370, delroute 0 10.00 real 3.44 user 30.11 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4279173, close 15242, bind 2266401, connect 0, delroute 0 10.01 real 7.35 user 52.61 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4550342, close 1438, bind 0, connect 85437, delroute 0 10.01 real 6.66 user 53.34 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4704423, close 2416, bind 34113, connect 37314, delroute 0 10.01 real 6.80 user 53.28 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2636728, close 1859, bind 41954, connect 34449, delroute 0 10.21 real 4.29 user 43.10 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4663859, close 4531, bind 36588, connect 40800, delroute 0 10.01 real 7.07 user 52.85 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 2130564, close 588852, bind 5903846, connect 0, delroute 0 10.00 real 4.27 user 54.82 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2273849, close 106374, bind 0, connect 2961348, delroute 0 10.01 real 4.74 user 53.14 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2190636, close 120474, bind 1672247, connect 1509725, delroute 0 10.01 real 4.83 user 52.91 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 142391, close 25261, bind 62013, connect 70985, delroute 0 10.45 real 0.37 user 14.26 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2188240, close 131904, bind 1364330, connect 1265304, delroute 0 10.01 real 5.19 user 53.05 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 4142569, close 42314, bind 2904661, connect 0, delroute 0 10.00 real 6.88 user 52.95 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4664756, close 2476, bind 0, connect 125423, delroute 0 10.01 real 6.68 user 53.37 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4651868, close 5514, bind 73958, connect 75262, delroute 0 10.01 real 6.65 user 53.30 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4262919, close 9852, bind 100071, connect 97494, delroute 0 10.17 real 6.83 user 52.95 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4636320, close 7582, bind 64261, connect 59689, delroute 0 10.00 real 6.45 user 53.67 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 4340512, close 3284, bind 1836965, connect 0, delroute 0 10.00 real 7.30 user 52.72 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4500404, close 908, bind 0, connect 75148, delroute 0 10.01 real 7.19 user 52.94 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4575628, close 2200, bind 39154, connect 35866, delroute 0 10.01 real 6.87 user 53.19 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2493572, close 1593, bind 42513, connect 33514, delroute 0 10.22 real 3.98 user 45.00 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4499777, close 4614, bind 44249, connect 41952, delroute 0 10.01 real 6.82 user 53.19 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 2128372, close 520012, bind 5383208, connect 0, delroute 0 10.00 real 3.95 user 54.86 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2220567, close 89943, bind 0, connect 2800020, delroute 0 10.01 real 5.09 user 52.98 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2125050, close 107086, bind 1721623, connect 1641080, delroute 0 10.01 real 5.09 user 52.97 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 133334, close 13471, bind 42459, connect 47561, delroute 0 10.43 real 0.31 user 14.08 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2152009, close 119439, bind 1059479, connect 933706, delroute 0 10.00 real 5.38 user 52.98 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 3624257, close 28181, bind 912661, connect 0, delroute 0 10.00 real 6.58 user 53.47 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3727486, close 2443, bind 0, connect 103838, delroute 0 10.01 real 6.30 user 53.80 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3712445, close 8745, bind 97485, connect 103746, delroute 0 10.01 real 6.60 user 53.34 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3581085, close 5003, bind 58898, connect 62869, delroute 0 10.16 real 6.73 user 52.96 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3636068, close 9157, bind 81091, connect 84492, delroute 0 10.00 real 6.50 user 53.62 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