START sys/netinet/bindconnect 2024-04-06T02:01:54Z ==== 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 858357, close 858811, bind 2602514, connect 2163103, delroute 0 10.00 real 3.33 user 30.18 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3409009, close 29022, bind 5657311, connect 0, delroute 0 10.01 real 7.00 user 52.93 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4252532, close 1848, bind 0, connect 122573, delroute 0 10.00 real 6.88 user 53.08 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4292066, close 5259, bind 76937, connect 64104, delroute 0 10.00 real 7.06 user 52.92 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1538089, close 2439, bind 44796, connect 37322, delroute 0 10.21 real 2.55 user 36.18 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4274907, close 5526, bind 47334, connect 53399, delroute 0 10.00 real 7.35 user 52.63 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 1974998, close 682941, bind 6000673, connect 0, delroute 0 10.00 real 3.93 user 55.25 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2030177, close 111330, bind 0, connect 2341418, delroute 0 10.00 real 5.35 user 52.57 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1990468, close 135378, bind 1637697, connect 1561327, delroute 0 10.01 real 3.92 user 54.12 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 148488, close 26280, bind 74444, connect 72850, delroute 0 10.44 real 0.39 user 14.09 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2008271, close 157681, bind 1241905, connect 1177183, delroute 0 10.00 real 5.21 user 53.16 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 2692987, close 90736, bind 8883602, connect 0, delroute 0 10.01 real 6.95 user 53.04 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4100944, close 4826, bind 0, connect 273375, delroute 0 10.01 real 6.70 user 53.54 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4228166, close 7977, bind 119839, connect 110716, delroute 0 10.00 real 6.56 user 53.35 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4076581, close 11961, bind 148749, connect 150701, delroute 0 10.19 real 6.52 user 53.52 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4256456, close 8829, bind 72721, connect 71477, delroute 0 10.00 real 6.50 user 53.61 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 2981794, close 9777, bind 7921519, connect 0, delroute 0 10.00 real 7.45 user 52.65 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4083982, close 1361, bind 0, connect 143581, delroute 0 10.01 real 6.62 user 53.26 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4238329, close 2681, bind 50812, connect 47411, delroute 0 10.08 real 6.72 user 53.53 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1435735, close 1015, bind 40422, connect 31065, delroute 0 10.20 real 2.39 user 35.40 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4181175, close 6316, bind 63536, connect 59428, delroute 0 10.01 real 6.88 user 53.03 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 1942538, close 632611, bind 5442837, connect 0, delroute 0 10.00 real 3.52 user 55.39 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1982353, close 102022, bind 0, connect 2672952, delroute 0 10.01 real 5.00 user 53.11 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1927714, close 115041, bind 1293514, connect 1278589, delroute 0 10.01 real 4.94 user 53.20 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 158297, close 18095, bind 52118, connect 62179, delroute 0 10.47 real 0.33 user 14.54 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1945415, close 155158, bind 1134935, connect 1050513, delroute 0 10.00 real 5.41 user 52.82 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 2938784, close 77614, bind 3778216, connect 0, delroute 0 10.00 real 6.86 user 53.06 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3351580, close 6858, bind 0, connect 284150, delroute 0 10.00 real 6.83 user 53.22 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3357552, close 11821, bind 133016, connect 151640, delroute 0 10.00 real 6.69 user 53.21 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3369421, close 10895, bind 107903, connect 113944, delroute 0 10.17 real 6.58 user 53.29 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3308616, close 23708, bind 184284, connect 184215, delroute 0 10.01 real 6.77 user 53.26 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