START sys/netinet/bindconnect 2024-07-05T20:06:46Z ==== 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 605423, close 743352, bind 2061118, connect 1727628, delroute 0 10.00 real 2.21 user 28.54 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1371404, close 989990, bind 13401294, connect 0, delroute 0 10.00 real 8.14 user 79.02 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 30036, close 35577, bind 0, connect 4285579, delroute 0 10.00 real 2.56 user 76.87 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 165566, close 154817, bind 4471820, connect 2552652, delroute 0 10.00 real 4.43 user 74.68 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 76926, close 97903, bind 1141586, connect 731908, delroute 0 10.11 real 1.02 user 45.71 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 294260, close 1121369, bind 6176045, connect 4167553, delroute 0 10.01 real 6.27 user 72.12 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 1177386, close 898788, bind 4592853, connect 0, delroute 0 10.01 real 3.40 user 75.44 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 468278, close 751228, bind 0, connect 3064595, delroute 0 10.00 real 2.58 user 68.68 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 512847, close 773613, bind 1520587, connect 1627989, delroute 0 10.00 real 2.46 user 69.38 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 102162, close 155291, bind 487306, connect 533284, delroute 0 10.45 real 0.79 user 22.70 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 414091, close 2397794, bind 3930948, connect 4005864, delroute 0 10.00 real 6.18 user 70.07 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 1082875, close 804668, bind 14043001, connect 0, delroute 0 10.01 real 8.21 user 77.69 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 25314, close 30024, bind 0, connect 4493464, delroute 0 10.00 real 2.56 user 77.66 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 112819, close 98667, bind 4497109, connect 2411843, delroute 0 10.00 real 3.70 user 73.83 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 210308, close 164865, bind 5338993, connect 2883614, delroute 0 10.21 real 4.47 user 74.49 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 196618, close 712821, bind 5657210, connect 3686748, delroute 0 10.00 real 5.88 user 72.13 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 1377668, close 977495, bind 12919578, connect 0, delroute 0 10.01 real 8.34 user 77.94 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 9644, close 13986, bind 0, connect 2966065, delroute 0 10.00 real 2.05 user 73.27 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 63880, close 67350, bind 3451828, connect 1666018, delroute 0 10.00 real 2.87 user 72.10 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 78401, close 115284, bind 2089421, connect 1144830, delroute 0 10.11 real 1.75 user 50.60 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 154788, close 967981, bind 5214587, connect 3445710, delroute 0 10.01 real 5.20 user 69.14 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 1138130, close 896285, bind 4441415, connect 0, delroute 0 10.01 real 3.15 user 76.43 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 369965, close 520663, bind 0, connect 2518494, delroute 0 10.00 real 2.06 user 64.99 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 408844, close 561168, bind 1208748, connect 1398302, delroute 0 10.00 real 1.81 user 66.35 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97936, close 161678, bind 548791, connect 612865, delroute 0 10.50 real 0.72 user 25.00 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 328051, close 2426458, bind 3559476, connect 3811402, delroute 0 10.00 real 5.70 user 66.25 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 1226016, close 917387, bind 13345926, connect 0, delroute 0 10.01 real 7.99 user 79.39 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 26545, close 37352, bind 0, connect 4420574, delroute 0 10.00 real 2.63 user 77.87 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 120791, close 114363, bind 4456233, connect 2306719, delroute 0 10.00 real 3.89 user 73.38 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 206206, close 180211, bind 5363152, connect 2836151, delroute 0 10.22 real 4.53 user 73.54 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 234318, close 1035044, bind 6131538, connect 4080229, delroute 0 10.00 real 6.76 user 70.89 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