START sys/netinet/bindconnect 2024-08-26T01:58:16Z ==== 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 605572, close 501699, bind 2205184, connect 1973035, delroute 0 10.00 real 2.57 user 27.39 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4018263, close 9058, bind 240125, connect 0, delroute 0 10.00 real 7.83 user 52.06 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3912114, close 3024, bind 0, connect 171532, delroute 0 10.00 real 7.76 user 51.81 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4028093, close 3579, bind 85629, connect 56022, delroute 0 10.00 real 7.65 user 52.30 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 972658, close 2281, bind 45742, connect 35809, delroute 0 10.17 real 2.06 user 33.59 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3962262, close 3882, bind 74058, connect 55230, delroute 0 10.00 real 7.70 user 52.14 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 2048933, close 609511, bind 6089644, connect 0, delroute 0 10.00 real 3.59 user 55.34 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2031162, close 88404, bind 0, connect 3170226, delroute 0 10.00 real 5.47 user 52.75 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1950872, close 137398, bind 1528204, connect 1568705, delroute 0 10.01 real 5.54 user 52.40 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 122803, close 16539, bind 46701, connect 55073, delroute 0 10.46 real 0.30 user 13.43 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1949106, close 182217, bind 1085992, connect 969352, delroute 0 10.00 real 6.14 user 52.28 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 4119594, close 5834, bind 173453, connect 0, delroute 0 10.01 real 7.47 user 52.66 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3801581, close 2935, bind 0, connect 220744, delroute 0 10.00 real 6.59 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 3976081, close 3994, bind 104069, connect 75213, delroute 0 10.00 real 7.25 user 52.61 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3847624, close 3502, bind 83545, connect 81049, delroute 0 10.15 real 7.65 user 52.11 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3983138, close 3497, bind 72887, connect 53773, delroute 0 10.01 real 7.46 user 52.33 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 4036876, close 5126, bind 148707, connect 0, delroute 0 10.00 real 7.69 user 52.34 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3744257, close 1739, bind 0, connect 135463, delroute 0 10.00 real 6.73 user 53.08 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3955367, close 3183, bind 79936, connect 57667, delroute 0 10.00 real 7.55 user 52.33 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 958720, close 2274, bind 47135, connect 38489, delroute 0 10.16 real 1.74 user 31.33 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3852992, close 6023, bind 81155, connect 59521, delroute 0 10.01 real 7.78 user 52.30 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 1920153, close 907011, bind 7852030, connect 0, delroute 0 10.00 real 5.08 user 53.97 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1934305, close 101907, bind 0, connect 2169592, delroute 0 10.00 real 5.70 user 52.39 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1859879, close 137455, bind 1228446, connect 1274971, delroute 0 10.01 real 5.32 user 52.50 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 133837, close 20446, bind 52873, connect 63742, delroute 0 10.46 real 0.32 user 14.25 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1870189, close 155755, bind 626899, connect 540572, delroute 0 10.00 real 6.54 user 52.06 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 3316115, close 4857, bind 179702, connect 0, delroute 0 10.01 real 7.65 user 52.61 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2906977, close 4388, bind 0, connect 420536, delroute 0 10.00 real 6.89 user 51.98 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3199431, close 2982, bind 80613, connect 59897, delroute 0 10.00 real 7.45 user 52.40 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3162742, close 2579, bind 65349, connect 50191, delroute 0 10.16 real 6.88 user 52.59 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3197874, close 3553, bind 78749, connect 58414, delroute 0 10.01 real 6.75 user 53.29 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