START sys/netinet/bindconnect 2025-04-04T01:52:14Z ==== 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 2174381, close 1729930, bind 3445807, connect 1999083, delroute 0 10.01 real 4.11 user 33.40 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3817746, close 292463, bind 3896001, connect 0, delroute 0 10.01 real 7.99 user 52.03 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2318236, close 242156, bind 0, connect 2968384, delroute 0 10.01 real 5.24 user 46.71 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3622525, close 127291, bind 1154981, connect 891547, delroute 0 10.01 real 7.50 user 50.59 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 75853, close 6996, bind 136774, connect 117400, delroute 0 10.13 real 0.23 user 20.04 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4019057, close 122044, bind 613072, connect 524915, delroute 0 10.00 real 7.71 user 51.37 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 1310960, close 791444, bind 3322514, connect 0, delroute 0 10.00 real 5.06 user 50.94 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1210394, close 531472, bind 0, connect 2748004, delroute 0 10.01 real 4.05 user 49.15 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1185001, close 649764, bind 1696171, connect 1304328, delroute 0 10.01 real 3.83 user 48.48 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 95413, close 12815, bind 86783, connect 52934, delroute 0 10.38 real 0.16 user 13.85 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1264720, close 899008, bind 1586589, connect 1313642, delroute 0 10.00 real 6.24 user 50.42 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 4340346, close 26933, bind 154818, connect 0, delroute 0 10.00 real 8.20 user 51.73 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4068636, close 72914, bind 0, connect 798624, delroute 0 10.01 real 7.84 user 51.67 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4205743, close 44304, bind 157778, connect 126713, delroute 0 10.01 real 7.69 user 52.31 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4319804, close 24425, bind 282646, connect 170717, delroute 0 10.16 real 7.68 user 52.32 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4256758, close 67496, bind 207494, connect 167215, delroute 0 10.00 real 7.76 user 52.11 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 4285522, close 40722, bind 305362, connect 0, delroute 0 10.00 real 7.74 user 52.14 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1469869, close 224066, bind 0, connect 2818782, delroute 0 10.01 real 3.78 user 39.46 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3952952, close 70037, bind 457879, connect 354960, delroute 0 10.01 real 7.86 user 50.72 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 96294, close 8819, bind 113669, connect 82857, delroute 0 10.16 real 0.24 user 16.91 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3915189, close 91297, bind 479011, connect 352399, delroute 0 10.00 real 6.88 user 52.05 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 1325196, close 692733, bind 2883952, connect 0, delroute 0 10.00 real 5.12 user 51.70 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1123246, close 528991, bind 0, connect 2972535, delroute 0 10.01 real 4.34 user 48.33 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1146465, close 578501, bind 1666657, connect 1221372, delroute 0 10.01 real 4.13 user 48.49 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98069, close 8216, bind 90292, connect 54048, delroute 0 10.30 real 0.28 user 15.12 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1224187, close 843510, bind 1556877, connect 1254655, delroute 0 10.00 real 6.11 user 50.13 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 3768804, close 19165, bind 112915, connect 0, delroute 0 10.00 real 8.07 user 52.04 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3431769, close 69809, bind 0, connect 851708, delroute 0 10.01 real 7.32 user 52.04 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3723222, close 43758, bind 168241, connect 131614, delroute 0 10.01 real 7.88 user 52.09 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3626913, close 20732, bind 313689, connect 260275, delroute 0 10.18 real 7.69 user 52.22 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3657195, close 80000, bind 268579, connect 213663, delroute 0 10.01 real 7.95 user 51.74 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