START sys/netinet/bindconnect 2024-07-15T19:08:27Z ==== 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 678184, close 919641, bind 2289382, connect 1907716, delroute 0 10.00 real 2.61 user 27.84 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1438298, close 1026345, bind 13665207, connect 0, delroute 0 10.00 real 8.29 user 77.40 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 31526, close 37628, bind 0, connect 4434179, delroute 0 10.00 real 2.66 user 75.68 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 176926, close 167290, bind 4612980, connect 2624656, delroute 0 10.00 real 4.09 user 74.85 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 76142, close 95072, bind 1105215, connect 708219, delroute 0 10.11 real 1.11 user 44.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 306978, close 1081485, bind 6296987, connect 4234771, delroute 0 10.00 real 6.54 user 72.57 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 1213548, close 922630, bind 4898511, connect 0, delroute 0 10.01 real 3.24 user 75.78 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 479345, close 775829, bind 0, connect 3161043, delroute 0 10.00 real 2.42 user 68.52 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 522705, close 799655, bind 1579649, connect 1685801, delroute 0 10.00 real 2.13 user 69.66 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 101740, close 154294, bind 499356, connect 537033, delroute 0 10.42 real 0.65 user 22.30 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 419878, close 2412602, bind 3991864, connect 4047614, delroute 0 10.00 real 6.02 user 67.85 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 1130734, close 831432, bind 14567911, connect 0, delroute 0 10.01 real 8.79 user 77.44 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 27947, close 31733, bind 0, connect 4644218, delroute 0 10.00 real 2.81 user 77.95 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 122657, close 110499, bind 4667747, connect 2509829, delroute 0 10.00 real 3.49 user 72.57 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 216933, close 165522, bind 5399778, connect 2905998, delroute 0 10.21 real 4.76 user 72.18 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 204095, close 707371, bind 5736461, connect 3712311, delroute 0 10.00 real 6.24 user 71.12 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 1409977, close 1012282, bind 13705720, connect 0, delroute 0 10.01 real 8.35 user 77.87 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 9591, close 15378, bind 0, connect 3075825, delroute 0 10.00 real 1.66 user 73.93 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 67160, close 73191, bind 3612950, connect 1750499, delroute 0 10.00 real 3.14 user 71.35 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 78324, close 114664, bind 2110422, connect 1156731, delroute 0 10.14 real 2.04 user 49.82 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 162838, close 999961, bind 5331881, connect 3515248, delroute 0 10.00 real 5.23 user 67.65 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 1172522, close 906246, bind 4787009, connect 0, delroute 0 10.01 real 3.07 user 75.00 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 377161, close 508581, bind 0, connect 2543732, delroute 0 10.00 real 2.09 user 64.40 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 412735, close 566293, bind 1238245, connect 1437694, delroute 0 10.00 real 1.77 user 65.72 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98183, close 161277, bind 544525, connect 615733, delroute 0 10.46 real 0.89 user 24.53 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 332652, close 2432992, bind 3609463, connect 3870896, delroute 0 10.00 real 5.86 user 64.42 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 1265844, close 941558, bind 13714541, connect 0, delroute 0 10.01 real 8.35 user 78.48 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 27032, close 36372, bind 0, connect 4641017, delroute 0 10.00 real 2.72 user 76.79 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 129579, close 126014, bind 4605189, connect 2411808, delroute 0 10.00 real 4.16 user 72.59 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 216724, close 188577, bind 5494987, connect 2923408, delroute 0 10.22 real 4.72 user 73.36 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 238894, close 988778, bind 6151474, connect 4071184, delroute 0 10.01 real 6.54 user 70.47 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