START sys/netinet/bindconnect 2025-01-16T15:09:03Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 7030 -> 110000 ==== run-default ==== cc -O2 -pipe -g -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 1869340, close 3721294, bind 4381144, connect 2837503, delroute 0 10.01 real 5.46 user 31.50 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2764702, close 2007122, bind 5159598, connect 0, delroute 0 10.00 real 4.59 user 55.29 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2203928, close 432356, bind 0, connect 3188606, delroute 0 10.00 real 5.20 user 49.43 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2715576, close 623981, bind 1699429, connect 1630024, delroute 0 10.00 real 5.91 user 52.64 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 114535, close 104115, bind 235829, connect 204203, delroute 0 10.16 real 0.27 user 14.13 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2328873, close 1367460, bind 2877272, connect 2580644, delroute 0 10.00 real 6.29 user 52.71 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 1635493, close 1185672, bind 1555699, connect 0, delroute 0 10.00 real 1.89 user 54.15 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1587487, close 1061026, bind 0, connect 1741439, delroute 0 10.00 real 2.26 user 42.60 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1512518, close 1068392, bind 1038311, connect 791822, delroute 0 10.01 real 2.29 user 44.70 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2150200, close 1439362, bind 326083, connect 236988, delroute 0 10.35 real 1.45 user 29.13 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1038535, close 2246889, bind 3141406, connect 2589190, delroute 0 10.00 real 5.12 user 48.07 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 3113948, close 2205929, bind 4167658, connect 0, delroute 0 10.00 real 4.40 user 55.39 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1867332, close 1075512, bind 0, connect 4315955, delroute 0 10.00 real 4.21 user 54.14 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2302490, close 1608138, bind 1996803, connect 1727864, delroute 0 10.00 real 3.85 user 54.79 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2247853, close 1275695, bind 2131989, connect 1731416, delroute 0 10.23 real 3.97 user 54.59 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1770026, close 1960537, bind 2896969, connect 2475728, delroute 0 10.00 real 5.16 user 53.99 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 2809164, close 2089698, bind 4586666, connect 0, delroute 0 10.00 real 4.61 user 55.36 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1799727, close 521023, bind 0, connect 3132510, delroute 0 10.00 real 4.61 user 48.10 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2332539, close 652758, bind 1904514, connect 1538628, delroute 0 10.00 real 5.58 user 51.66 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 111682, close 18473, bind 80872, connect 62797, delroute 0 10.17 real 0.31 user 13.63 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2610829, close 1146250, bind 2480647, connect 2005430, delroute 0 10.00 real 6.85 user 52.19 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 1604734, close 1179215, bind 1439397, connect 0, delroute 0 10.00 real 1.82 user 53.37 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1722758, close 1100153, bind 0, connect 1676224, delroute 0 10.00 real 2.09 user 38.38 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1655615, close 1107340, bind 979171, connect 729324, delroute 0 10.00 real 1.84 user 41.10 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2193190, close 1391523, bind 270917, connect 195717, delroute 0 10.36 real 1.35 user 28.63 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 968798, close 2467546, bind 3409629, connect 2711519, delroute 0 10.00 real 4.76 user 48.28 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 2696984, close 1997377, bind 3004235, connect 0, delroute 0 10.00 real 3.58 user 56.00 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1625359, close 961242, bind 0, connect 3975105, delroute 0 10.00 real 3.75 user 53.90 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2040594, close 1509669, bind 1728094, connect 1477862, delroute 0 10.00 real 3.43 user 55.13 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1911069, close 1124863, bind 1879408, connect 1572371, delroute 0 10.25 real 3.53 user 54.33 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1566801, close 2318737, bind 3062330, connect 2683256, delroute 0 10.00 real 5.63 user 53.49 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