START sys/netinet/bindconnect 2025-04-03T18:33:53Z ==== 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 794500, close 673897, bind 999313, connect 1864299, delroute 0 10.00 real 1.77 user 20.77 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1985591, close 1153323, bind 6619430, connect 0, delroute 0 10.00 real 5.08 user 70.52 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 252357, close 358294, bind 0, connect 2533915, delroute 0 10.00 real 1.49 user 23.79 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 358319, close 401576, bind 655953, connect 2038824, delroute 0 10.00 real 2.04 user 25.73 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 172468, close 212084, bind 475626, connect 450845, delroute 0 10.16 real 0.75 user 45.44 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 711983, close 2537068, bind 3750893, connect 3637188, delroute 0 10.01 real 6.00 user 55.85 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 843960, close 1133815, bind 3889172, connect 0, delroute 0 10.01 real 3.25 user 58.84 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 540413, close 1369587, bind 0, connect 3367620, delroute 0 10.00 real 3.36 user 43.03 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 567282, close 1378137, bind 1775197, connect 1638373, delroute 0 10.00 real 3.01 user 43.57 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 132836, close 195775, bind 529571, connect 521432, delroute 0 10.23 real 0.71 user 41.49 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 457212, close 3660077, bind 4200521, connect 4281021, delroute 0 10.00 real 8.12 user 50.73 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 2344188, close 1213717, bind 8445084, connect 0, delroute 0 10.01 real 6.36 user 76.29 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 808285, close 811318, bind 0, connect 2410160, delroute 0 10.00 real 2.35 user 48.12 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1018170, close 923821, bind 1759567, connect 1502404, delroute 0 10.00 real 2.87 user 52.55 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 921869, close 520542, bind 1740789, connect 1605875, delroute 0 10.27 real 3.01 user 52.39 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 859347, close 1746523, bind 3170700, connect 2709447, delroute 0 10.00 real 4.76 user 59.30 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 1941764, close 1112785, bind 6213110, connect 0, delroute 0 10.01 real 4.89 user 67.58 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 120645, close 154323, bind 0, connect 1439513, delroute 0 10.00 real 0.74 user 16.23 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 134077, close 142546, bind 218906, connect 1261288, delroute 0 10.00 real 0.80 user 15.59 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 156691, close 198906, bind 490488, connect 444944, delroute 0 10.15 real 0.65 user 43.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 551660, close 3320939, bind 3884502, connect 3965988, delroute 0 10.01 real 6.87 user 47.94 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 842424, close 1096379, bind 3779411, connect 0, delroute 0 10.01 real 3.18 user 58.26 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 489507, close 1309103, bind 0, connect 3196605, delroute 0 10.00 real 2.62 user 38.46 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 517844, close 1356782, bind 1707815, connect 1597105, delroute 0 10.00 real 3.20 user 39.94 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 136488, close 210283, bind 555145, connect 553260, delroute 0 10.25 real 0.79 user 42.33 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 428205, close 3746100, bind 4030952, connect 4246193, delroute 0 10.01 real 7.64 user 46.57 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 2141625, close 1216036, bind 8386854, connect 0, delroute 0 10.01 real 6.52 user 76.10 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 699166, close 815793, bind 0, connect 2502830, delroute 0 10.00 real 2.13 user 46.34 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 897873, close 904047, bind 1866108, connect 1537822, delroute 0 10.00 real 2.62 user 52.67 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 750049, close 506130, bind 1409108, connect 1654494, delroute 0 10.29 real 2.22 user 44.79 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 781872, close 2071923, bind 3535911, connect 3016006, delroute 0 10.00 real 5.94 user 58.42 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