START sys/netinet/bindconnect 2025-01-14T02:52:28Z ==== 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 2805995, close 3774011, bind 4091405, connect 2634892, delroute 0 10.00 real 5.97 user 30.11 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3209518, close 1998429, bind 11267410, connect 0, delroute 0 10.00 real 7.85 user 52.06 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4106014, close 343902, bind 0, connect 2836869, delroute 0 10.00 real 7.86 user 48.62 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3808262, close 962037, bind 2413057, connect 2348724, delroute 0 10.00 real 7.34 user 51.55 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 251973, close 33047, bind 94279, connect 91242, delroute 0 10.11 real 0.54 user 14.55 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3662265, close 1219529, bind 2960464, connect 2726788, delroute 0 10.00 real 8.82 user 50.52 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 2392457, close 1629177, bind 2222671, connect 0, delroute 0 10.00 real 2.85 user 53.66 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1722796, close 1160657, bind 0, connect 2659592, delroute 0 10.00 real 2.56 user 49.40 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1930423, close 1321164, bind 1370968, connect 1095588, delroute 0 10.00 real 2.60 user 50.59 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1080886, close 615920, bind 329609, connect 249094, delroute 0 10.26 real 1.30 user 21.01 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1624935, close 1855783, bind 2271464, connect 1820909, delroute 0 10.00 real 4.11 user 49.84 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 4818812, close 3180621, bind 5321654, connect 0, delroute 0 10.00 real 6.19 user 53.74 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3205156, close 1882592, bind 0, connect 4874893, delroute 0 10.00 real 5.14 user 54.27 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3848910, close 2564587, bind 2636719, connect 2288968, delroute 0 10.00 real 5.60 user 54.10 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3544129, close 1918423, bind 2563394, connect 2270591, delroute 0 10.17 real 5.37 user 53.66 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2921191, close 2578124, bind 3336706, connect 2968529, delroute 0 10.00 real 6.65 user 52.94 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 4241146, close 2806793, bind 5867045, connect 0, delroute 0 10.01 real 5.98 user 54.01 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3020083, close 398923, bind 0, connect 3010162, delroute 0 10.00 real 5.68 user 44.10 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3672339, close 666452, bind 2056108, connect 1807745, delroute 0 10.00 real 7.36 user 48.96 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 118197, close 49132, bind 162157, connect 130841, delroute 0 10.14 real 0.22 user 13.59 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3863032, close 915110, bind 2429046, connect 2056361, delroute 0 10.01 real 8.73 user 49.37 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 2385616, close 1657072, bind 2092613, connect 0, delroute 0 10.00 real 2.86 user 53.60 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1627685, close 1069117, bind 0, connect 2551017, delroute 0 10.00 real 2.78 user 48.85 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1839141, close 1249080, bind 1380749, connect 993614, delroute 0 10.00 real 2.42 user 50.38 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2706375, close 1760519, bind 636688, connect 451769, delroute 0 10.26 real 2.04 user 31.82 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1442036, close 1804582, bind 2403134, connect 1870702, delroute 0 10.01 real 4.20 user 49.53 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 3977130, close 2769036, bind 3973719, connect 0, delroute 0 10.00 real 4.92 user 55.23 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2584015, close 1852522, bind 0, connect 4722870, delroute 0 10.00 real 4.70 user 54.62 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3106460, close 2011684, bind 2298204, connect 1920598, delroute 0 10.00 real 4.47 user 54.62 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2898818, close 1666675, bind 2413665, connect 2027080, delroute 0 10.19 real 4.50 user 54.12 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2366552, close 2662469, bind 3462747, connect 2958879, delroute 0 10.01 real 6.63 user 52.93 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