START sys/netinet/bindconnect 2024-06-16T01:55: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 856516, close 1242440, bind 3080443, connect 2664877, delroute 0 10.00 real 3.36 user 27.65 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3957998, close 16640, bind 319166, connect 0, delroute 0 10.01 real 7.46 user 52.62 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3799165, close 6238, bind 0, connect 180281, delroute 0 10.00 real 7.28 user 52.35 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3982680, close 5444, bind 65344, connect 47098, delroute 0 10.00 real 7.00 user 52.65 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1443513, close 2176, bind 41370, connect 36758, delroute 0 10.14 real 2.84 user 34.54 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4013446, close 7612, bind 52364, connect 40831, delroute 0 10.01 real 7.15 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 2000481, close 911241, bind 5949718, connect 0, delroute 0 10.00 real 4.07 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 2011593, close 95002, bind 0, connect 2646569, delroute 0 10.00 real 5.68 user 52.53 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1923682, close 137459, bind 1543841, connect 1510704, delroute 0 10.00 real 5.63 user 52.23 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 123866, close 25830, bind 79029, connect 82652, delroute 0 10.40 real 0.28 user 13.71 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1901458, close 244345, bind 1253947, connect 1073678, delroute 0 10.00 real 6.13 user 52.10 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 4122040, close 10593, bind 192548, connect 0, delroute 0 10.07 real 7.55 user 52.83 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3835487, close 5248, bind 0, connect 187633, delroute 0 10.00 real 7.29 user 52.43 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3980955, close 6455, bind 90618, connect 67880, delroute 0 10.04 real 7.31 user 52.60 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4004851, close 7065, bind 72295, connect 62113, delroute 0 10.12 real 7.77 user 52.07 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3990594, close 10803, bind 74093, connect 60072, delroute 0 10.00 real 7.34 user 52.55 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 4041913, close 9088, bind 181619, connect 0, delroute 0 10.00 real 7.42 user 52.58 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3835666, close 3437, bind 0, connect 129633, delroute 0 10.00 real 7.28 user 52.59 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3979171, close 4174, bind 64786, connect 47349, delroute 0 10.00 real 7.73 user 52.07 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1382742, close 2127, bind 43359, connect 34608, delroute 0 10.16 real 2.95 user 36.14 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3939622, close 9545, bind 59573, connect 46603, delroute 0 10.01 real 7.29 user 52.48 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 1978536, close 789319, bind 5677728, connect 0, delroute 0 10.00 real 4.00 user 54.78 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1915503, close 101574, bind 0, connect 2673873, delroute 0 10.00 real 5.21 user 52.42 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1874665, close 143511, bind 1433274, connect 1406741, delroute 0 10.00 real 5.06 user 52.71 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 126380, close 32195, bind 94290, connect 103267, delroute 0 10.44 real 0.33 user 14.14 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1857826, close 148484, bind 882504, connect 820383, delroute 0 10.00 real 6.08 user 52.33 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 3402840, close 11827, bind 223293, connect 0, delroute 0 10.00 real 7.78 user 52.32 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3248546, close 4849, bind 0, connect 177034, delroute 0 10.00 real 6.70 user 53.15 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3272700, close 7159, bind 104709, connect 76310, delroute 0 10.00 real 6.47 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 3286654, close 3052, bind 57128, connect 44790, delroute 0 10.13 real 6.73 user 53.38 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3251408, close 13209, bind 73104, connect 60264, delroute 0 10.00 real 6.74 user 53.01 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