START sys/netinet/bindconnect 2025-03-18T02:51:20Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=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 2168959, close 1706785, bind 3475814, connect 1989495, delroute 0 10.00 real 3.94 user 34.27 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3595120, close 531126, bind 5862855, connect 0, delroute 0 10.01 real 8.62 user 51.43 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2254806, close 248226, bind 0, connect 2988987, delroute 0 10.01 real 5.10 user 46.23 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3264182, close 172939, bind 1730031, connect 1270620, delroute 0 10.01 real 6.61 user 50.38 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 100989, close 3175, bind 121932, connect 80107, delroute 0 10.17 real 0.23 user 13.26 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3783214, close 173900, bind 867697, connect 727504, delroute 0 10.00 real 7.74 user 50.94 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 1338549, close 832189, bind 3578814, connect 0, delroute 0 10.00 real 5.39 user 50.57 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1204047, close 498623, bind 0, connect 2696038, delroute 0 10.01 real 4.20 user 49.09 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1234393, close 577170, bind 1593911, connect 1307556, delroute 0 10.01 real 4.38 user 49.25 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 109322, close 9979, bind 67949, connect 38950, delroute 0 10.37 real 0.27 user 13.28 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1312663, close 993181, bind 1852794, connect 1525305, delroute 0 10.01 real 5.73 user 50.66 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 4307133, close 83808, bind 496404, connect 0, delroute 0 10.00 real 7.71 user 52.42 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4081822, close 65332, bind 0, connect 775401, delroute 0 10.00 real 8.08 user 51.20 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4279568, close 47470, bind 176557, connect 141512, delroute 0 10.00 real 8.28 user 51.51 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4420964, close 19179, bind 73297, connect 63246, delroute 0 10.14 real 8.43 user 51.63 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4166294, close 102617, bind 320535, connect 260958, delroute 0 10.00 real 7.89 user 51.86 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 4294512, close 56903, bind 382595, connect 0, delroute 0 10.00 real 8.73 user 51.29 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1437479, close 242753, bind 0, connect 2884997, delroute 0 10.00 real 3.84 user 39.16 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3948693, close 69166, bind 482548, connect 357084, delroute 0 10.01 real 8.38 user 49.71 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 92966, close 2828, bind 72048, connect 55636, delroute 0 10.17 real 0.16 user 17.47 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3669151, close 163152, bind 835683, connect 626306, delroute 0 10.00 real 7.76 user 49.90 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 1341049, close 710034, bind 3086811, connect 0, delroute 0 10.00 real 5.23 user 51.28 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1107807, close 572127, bind 0, connect 3274108, delroute 0 10.01 real 4.08 user 47.48 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1202938, close 555257, bind 1616967, connect 1181785, delroute 0 10.01 real 4.69 user 48.86 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 90441, close 6942, bind 91074, connect 51132, delroute 0 10.32 real 0.17 user 13.79 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1207748, close 1147016, bind 2131748, connect 1705166, delroute 0 10.00 real 5.68 user 49.95 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 3739404, close 49294, bind 296527, connect 0, delroute 0 10.00 real 8.00 user 52.03 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3448940, close 69292, bind 0, connect 870097, delroute 0 10.00 real 7.84 user 51.10 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3652246, close 48639, bind 217621, connect 170000, delroute 0 10.01 real 7.73 user 52.25 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3679596, close 28569, bind 240536, connect 165168, delroute 0 10.19 real 8.43 user 51.65 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3560392, close 93434, bind 311349, connect 255240, delroute 0 10.01 real 7.58 user 52.29 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