START sys/netinet/bindconnect 2025-01-15T02:56:45Z ==== 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 1883894, close 3520222, bind 4209235, connect 2688667, delroute 0 10.00 real 5.52 user 30.73 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2134706, close 1862285, bind 9215487, connect 0, delroute 0 10.01 real 6.64 user 53.52 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1895182, close 434084, bind 0, connect 3828448, delroute 0 10.01 real 4.91 user 50.28 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2101214, close 625444, bind 3249922, connect 2497600, delroute 0 10.01 real 5.68 user 52.17 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 99688, close 86170, bind 204884, connect 179727, delroute 0 10.15 real 0.28 user 14.60 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2227674, close 1492522, bind 3094467, connect 2759946, delroute 0 10.01 real 7.04 user 52.34 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 1542942, close 1104594, bind 1579675, connect 0, delroute 0 10.00 real 1.66 user 53.90 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1579937, close 1065105, bind 0, connect 1638502, delroute 0 10.01 real 2.03 user 42.58 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1538427, close 1047422, bind 896147, connect 677843, delroute 0 10.01 real 1.67 user 46.10 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2182436, close 1416729, bind 291030, connect 226175, delroute 0 10.36 real 1.33 user 29.37 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1092101, close 1734741, bind 2029105, connect 1676502, delroute 0 10.00 real 3.64 user 49.71 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 3079085, close 2245303, bind 4222938, connect 0, delroute 0 10.00 real 4.64 user 55.18 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1893394, close 1116804, bind 0, connect 4254396, delroute 0 10.01 real 3.87 user 54.74 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2280212, close 1611180, bind 2075641, connect 1778911, delroute 0 10.01 real 4.13 user 54.82 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2205557, close 1257460, bind 2099697, connect 1755250, delroute 0 10.24 real 3.42 user 55.20 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1750428, close 1990417, bind 2982449, connect 2583796, delroute 0 10.01 real 5.22 user 54.01 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 2747099, close 2047421, bind 4557355, connect 0, delroute 0 10.00 real 4.31 user 55.42 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1774742, close 499816, bind 0, connect 3033960, delroute 0 10.01 real 4.53 user 48.60 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2252957, close 637286, bind 1915639, connect 1547464, delroute 0 10.01 real 5.50 user 51.14 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 105104, close 20834, bind 94400, connect 68170, delroute 0 10.16 real 0.26 user 14.45 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2493366, close 1163541, bind 2562702, connect 2037683, delroute 0 10.00 real 7.12 user 51.89 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 1585677, close 1161620, bind 1400310, connect 0, delroute 0 10.00 real 1.96 user 53.68 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1882609, close 1139100, bind 0, connect 1033059, delroute 0 10.01 real 1.70 user 36.02 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1705528, close 1090559, bind 693187, connect 481991, delroute 0 10.01 real 1.54 user 41.26 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2167585, close 1345592, bind 272062, connect 188742, delroute 0 10.36 real 1.42 user 28.18 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1024636, close 1730786, bind 2097231, connect 1702448, delroute 0 10.00 real 3.47 user 49.61 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 2644550, close 2018398, bind 2931364, connect 0, delroute 0 10.00 real 3.61 user 55.83 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1685149, close 906557, bind 0, connect 3591835, delroute 0 10.01 real 4.52 user 53.13 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1979923, close 1465795, bind 1723774, connect 1469346, delroute 0 10.01 real 3.41 user 54.91 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1875178, close 1125282, bind 1928085, connect 1622883, delroute 0 10.26 real 3.22 user 54.96 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1490719, close 1895661, bind 2794048, connect 2422918, delroute 0 10.00 real 5.14 user 53.61 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