START sys/netinet/bindconnect 2025-01-17T19:26:22Z ==== 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 1783044, close 1488087, bind 1158396, connect 1207642, delroute 0 10.00 real 1.99 user 27.21 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2123069, close 1856528, bind 2943131, connect 0, delroute 0 10.00 real 3.21 user 55.86 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1724850, close 1868637, bind 0, connect 916519, delroute 0 10.00 real 1.49 user 26.40 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1942130, close 2039281, bind 280957, connect 595739, delroute 0 10.00 real 1.93 user 28.74 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 152478, close 137809, bind 218528, connect 231209, delroute 0 10.23 real 0.32 user 30.30 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 787386, close 2457293, bind 3050933, connect 3176419, delroute 0 10.00 real 4.96 user 52.00 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 1925469, close 874358, bind 332954, connect 0, delroute 0 10.01 real 1.17 user 33.91 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1704533, close 667326, bind 0, connect 338486, delroute 0 10.00 real 1.06 user 29.87 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1736790, close 744192, bind 149686, connect 193816, delroute 0 10.00 real 1.06 user 30.65 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 461331, close 228918, bind 183186, connect 212237, delroute 0 10.36 real 0.43 user 27.66 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 740624, close 2544888, bind 2044108, connect 2224602, delroute 0 10.00 real 4.17 user 41.29 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 2168229, close 1573374, bind 5111650, connect 0, delroute 0 10.01 real 4.20 user 74.91 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2169351, close 2346969, bind 0, connect 564279, delroute 0 10.00 real 1.86 user 31.53 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2117484, close 2259129, bind 490131, connect 453246, delroute 0 10.00 real 1.87 user 35.95 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1522585, close 1137202, bind 1179354, connect 1049425, delroute 0 10.26 real 2.27 user 51.81 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 956398, close 2447512, bind 3186201, connect 2979505, delroute 0 10.00 real 4.82 user 59.00 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 2147211, close 1951870, bind 2515999, connect 0, delroute 0 10.01 real 2.36 user 51.82 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 986953, close 1071836, bind 0, connect 843154, delroute 0 10.00 real 1.11 user 18.77 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1284530, close 1372442, bind 112567, connect 657070, delroute 0 10.00 real 1.19 user 21.75 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 242943, close 180155, bind 188802, connect 245906, delroute 0 10.24 real 0.52 user 29.32 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 534988, close 2139241, bind 2248373, connect 2689203, delroute 0 10.00 real 4.23 user 38.02 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 1889054, close 901510, bind 344409, connect 0, delroute 0 10.01 real 1.00 user 35.39 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1607204, close 669610, bind 0, connect 310698, delroute 0 10.00 real 0.96 user 28.84 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1581418, close 802411, bind 148806, connect 202885, delroute 0 10.00 real 1.08 user 29.80 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 461910, close 221006, bind 177844, connect 208778, delroute 0 10.36 real 0.46 user 27.43 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 812443, close 2135304, bind 1588332, connect 1817652, delroute 0 10.00 real 3.41 user 36.90 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 2458551, close 1740040, bind 2355213, connect 0, delroute 0 10.01 real 2.88 user 61.00 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2715124, close 2053951, bind 0, connect 299889, delroute 0 10.00 real 1.57 user 30.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 2586809, close 2059408, bind 253516, connect 239423, delroute 0 10.00 real 1.68 user 33.90 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1444827, close 1030916, bind 815653, connect 875936, delroute 0 10.28 real 1.71 user 41.00 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1123435, close 2466119, bind 2906187, connect 2743615, delroute 0 10.00 real 4.81 user 52.45 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