START sys/netinet/bindconnect 2024-04-25T21:43:09Z ==== 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 656373, close 500975, bind 2671526, connect 2162440, delroute 0 10.00 real 2.51 user 30.05 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2037260, close 29677, bind 10515267, connect 0, delroute 0 10.01 real 7.73 user 51.99 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3381524, close 1182, bind 0, connect 159046, delroute 0 10.00 real 6.53 user 53.44 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3428395, close 2263, bind 63341, connect 52520, delroute 0 10.00 real 6.59 user 53.42 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 873733, close 1707, bind 43562, connect 35305, delroute 0 10.17 real 1.71 user 30.24 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3427358, close 1960, bind 42680, connect 49125, delroute 0 10.00 real 6.57 user 53.50 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 1833097, close 627315, bind 6075159, connect 0, delroute 0 10.00 real 4.02 user 55.36 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1908154, close 90140, bind 0, connect 2576390, delroute 0 10.00 real 4.87 user 53.51 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1880025, close 113964, bind 1624957, connect 1548428, delroute 0 10.00 real 4.24 user 54.02 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 180495, close 19231, bind 50279, connect 50873, delroute 0 10.44 real 0.31 user 15.05 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1879993, close 163627, bind 1368519, connect 1244699, delroute 0 10.00 real 5.06 user 53.35 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 1414111, close 92355, bind 14014111, connect 0, delroute 0 10.00 real 7.44 user 52.60 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3363513, close 2403, bind 0, connect 302314, delroute 0 10.00 real 6.48 user 53.36 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3432261, close 2843, bind 74413, connect 71231, delroute 0 10.00 real 6.86 user 53.19 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3451586, close 6546, bind 127575, connect 129657, delroute 0 10.18 real 6.30 user 53.92 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3406034, close 3403, bind 82017, connect 81798, delroute 0 10.01 real 6.40 user 53.64 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 1747798, close 17191, bind 12631248, connect 0, delroute 0 10.00 real 7.21 user 52.81 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3328590, close 895, bind 0, connect 155997, delroute 0 10.00 real 6.71 user 53.17 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3375601, close 1564, bind 55988, connect 49158, delroute 0 10.00 real 6.48 user 53.39 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 812930, close 1968, bind 47004, connect 38213, delroute 0 10.22 real 1.60 user 32.50 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3408474, close 1513, bind 53657, connect 46342, delroute 0 10.01 real 6.38 user 53.68 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 1836747, close 820018, bind 5718437, connect 0, delroute 0 10.00 real 3.67 user 55.26 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1864384, close 83127, bind 0, connect 2242910, delroute 0 10.00 real 4.90 user 53.34 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1831431, close 109969, bind 1562702, connect 1459527, delroute 0 10.01 real 4.45 user 53.68 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 121492, close 18176, bind 55258, connect 65026, delroute 0 10.48 real 0.29 user 13.65 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1849369, close 118915, bind 1017035, connect 947325, delroute 0 10.00 real 5.17 user 53.44 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 1309027, close 137143, bind 13033794, connect 0, delroute 0 10.00 real 6.88 user 53.25 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2797637, close 1866, bind 0, connect 236974, delroute 0 10.00 real 6.23 user 53.60 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2853052, close 3770, bind 95355, connect 72920, delroute 0 10.00 real 6.18 user 53.80 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2812447, close 5464, bind 103534, connect 107469, delroute 0 10.18 real 6.75 user 52.99 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2799469, close 2955, bind 73064, connect 68408, delroute 0 10.00 real 6.34 user 53.77 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