START sys/netinet/bindconnect 2024-09-26T02:01:43Z ==== 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 447554, close 337071, bind 1965913, connect 1868604, delroute 0 10.00 real 2.00 user 27.08 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3876271, close 11317, bind 376531, connect 0, delroute 0 10.00 real 7.40 user 52.64 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3743367, close 2893, bind 0, connect 178855, delroute 0 10.00 real 6.95 user 52.82 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3883761, close 3919, bind 95933, connect 61058, delroute 0 10.00 real 7.49 user 52.42 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1266747, close 1148, bind 39246, connect 35392, delroute 0 10.17 real 2.52 user 33.17 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3893596, close 4001, bind 63961, connect 45548, delroute 0 10.00 real 6.99 user 53.01 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 1973672, close 683117, bind 6448886, connect 0, delroute 0 10.00 real 4.04 user 54.97 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1975403, close 89929, bind 0, connect 2261456, delroute 0 10.00 real 5.56 user 52.37 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1928573, close 130713, bind 1559393, connect 1531150, delroute 0 10.01 real 5.03 user 52.94 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 124267, close 29390, bind 94777, connect 77633, delroute 0 10.43 real 0.32 user 13.55 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1924283, close 188345, bind 1118197, connect 931648, delroute 0 10.01 real 5.74 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 3955934, close 9050, bind 206927, connect 0, delroute 0 10.00 real 7.67 user 52.28 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3696188, close 3264, bind 0, connect 217899, delroute 0 10.00 real 6.90 user 52.75 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3854231, close 3745, bind 99328, connect 73804, delroute 0 10.05 real 7.36 user 52.68 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3726341, close 4869, bind 82980, connect 66750, delroute 0 10.15 real 7.52 user 52.06 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3802709, close 6455, bind 96178, connect 71697, delroute 0 10.00 real 7.41 user 52.45 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 3886722, close 5833, bind 196095, connect 0, delroute 0 10.00 real 7.41 user 52.60 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3641286, close 1776, bind 0, connect 156535, delroute 0 10.00 real 7.39 user 52.16 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3832120, close 2916, bind 76473, connect 52773, delroute 0 10.00 real 6.99 user 52.91 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 853725, close 1294, bind 42749, connect 32523, delroute 0 10.19 real 1.70 user 32.66 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3776251, close 5092, bind 69049, connect 51595, delroute 0 10.00 real 7.47 user 52.43 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 1872299, close 764915, bind 7307617, connect 0, delroute 0 10.00 real 4.45 user 54.56 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1874858, close 98999, bind 0, connect 2452876, delroute 0 10.01 real 5.60 user 52.50 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1845410, close 133202, bind 1389896, connect 1299938, delroute 0 10.01 real 5.32 user 52.49 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 120218, close 25651, bind 81204, connect 104602, delroute 0 10.51 real 0.36 user 13.58 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1831128, close 266422, bind 954327, connect 872849, delroute 0 10.00 real 6.45 user 51.97 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 3237862, close 6118, bind 159564, connect 0, delroute 0 10.00 real 7.47 user 52.58 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3049310, close 2451, bind 0, connect 209451, delroute 0 10.00 real 6.97 user 52.87 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3152728, close 4159, bind 101548, connect 74467, delroute 0 10.00 real 7.02 user 52.74 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3070628, close 4017, bind 78129, connect 68606, delroute 0 10.16 real 7.47 user 52.39 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3078497, close 4989, bind 94082, connect 69748, delroute 0 10.00 real 7.50 user 52.22 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