START sys/netinet/bindconnect 2025-01-12T19:38:08Z ==== 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 1673884, close 1505934, bind 1155580, connect 1240259, delroute 0 10.00 real 2.24 user 27.30 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1998608, close 1719002, bind 3291752, connect 0, delroute 0 10.00 real 3.13 user 59.85 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1800282, close 1911604, bind 0, connect 882173, delroute 0 10.00 real 1.85 user 26.24 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1631995, close 1705229, bind 387005, connect 831506, delroute 0 10.00 real 1.84 user 31.37 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 309893, close 227926, bind 223231, connect 280205, delroute 0 10.30 real 0.48 user 30.76 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 781411, close 2450093, bind 3056627, connect 3193647, delroute 0 10.00 real 5.24 user 50.56 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 2031045, close 735055, bind 270765, connect 0, delroute 0 10.01 real 1.22 user 32.31 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1815478, close 514588, bind 0, connect 289982, delroute 0 10.00 real 0.93 user 28.89 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1845796, close 559910, bind 127420, connect 164077, delroute 0 10.00 real 0.92 user 29.63 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 774797, close 268989, bind 204759, connect 234822, delroute 0 10.36 real 0.60 user 27.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 1097885, close 2041277, bind 1579574, connect 1721403, delroute 0 10.00 real 3.12 user 37.92 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 2112182, close 1556928, bind 4791809, connect 0, delroute 0 10.01 real 4.05 user 73.92 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2060741, close 2195674, bind 0, connect 699855, delroute 0 10.00 real 1.88 user 33.00 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2023689, close 2152902, bind 553286, connect 515645, delroute 0 10.00 real 2.02 user 38.39 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1461344, close 1070066, bind 1163196, connect 1057378, delroute 0 10.26 real 2.32 user 50.70 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 942351, close 2478236, bind 3096397, connect 2924976, delroute 0 10.00 real 4.82 user 58.15 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 2158333, close 1918507, bind 2573298, connect 0, delroute 0 10.01 real 2.90 user 53.21 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 978835, close 1068918, bind 0, connect 863141, delroute 0 10.00 real 1.19 user 18.04 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1236182, close 1310579, bind 121092, connect 697331, delroute 0 10.00 real 1.01 user 21.17 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 197177, close 157906, bind 183502, connect 226538, delroute 0 10.27 real 0.34 user 30.89 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 531202, close 2100646, bind 2204574, connect 2671201, delroute 0 10.00 real 4.26 user 35.47 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 1996662, close 773518, bind 280590, connect 0, delroute 0 10.01 real 0.99 user 32.91 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1849998, close 523865, bind 0, connect 227834, delroute 0 10.00 real 0.83 user 26.68 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1824772, close 592433, bind 106636, connect 145516, delroute 0 10.00 real 0.95 user 28.10 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 924068, close 294428, bind 196189, connect 239153, delroute 0 10.37 real 0.78 user 27.99 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1088702, close 1781115, bind 1310460, connect 1486330, delroute 0 10.01 real 3.15 user 34.92 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 2630769, close 1769837, bind 1976483, connect 0, delroute 0 10.01 real 2.57 user 58.35 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2675325, close 1568308, bind 0, connect 376117, delroute 0 10.00 real 1.47 user 31.30 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2753523, close 1670782, bind 219323, connect 207211, delroute 0 10.00 real 1.43 user 32.01 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1381807, close 781362, bind 871138, connect 922169, delroute 0 10.28 real 1.64 user 43.68 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1272482, close 2316488, bind 2713816, connect 2551445, delroute 0 10.00 real 4.53 user 49.39 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