START sys/netinet/bindconnect 2025-03-21T19:35:17Z ==== 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 793947, close 608962, bind 914358, connect 1826372, delroute 0 10.00 real 1.72 user 19.88 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1930058, close 1129520, bind 6375542, connect 0, delroute 0 10.00 real 4.86 user 67.74 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 289871, close 404123, bind 0, connect 2589987, delroute 0 10.00 real 1.54 user 23.37 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 371470, close 439008, bind 697695, connect 2055471, delroute 0 10.00 real 1.79 user 26.76 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 119837, close 122287, bind 367459, connect 340959, delroute 0 10.18 real 0.35 user 45.61 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 722778, close 2886597, bind 4269455, connect 4097794, delroute 0 10.00 real 5.96 user 56.39 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 844144, close 1213198, bind 4127020, connect 0, delroute 0 10.01 real 3.00 user 57.27 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 537791, close 1546732, bind 0, connect 3744576, delroute 0 10.00 real 3.34 user 41.97 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 574371, close 1550794, bind 1996002, connect 1843588, delroute 0 10.00 real 3.05 user 42.80 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 135412, close 209391, bind 570741, connect 570583, delroute 0 10.24 real 0.70 user 43.09 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 462640, close 4083479, bind 4670788, connect 4729076, delroute 0 10.01 real 7.87 user 51.50 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 2273807, close 1210783, bind 8524654, connect 0, delroute 0 10.01 real 5.30 user 75.02 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 822224, close 787261, bind 0, connect 2444887, delroute 0 10.00 real 1.99 user 47.03 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1020429, close 926305, bind 1808808, connect 1549465, delroute 0 10.00 real 2.63 user 53.45 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 897589, close 516386, bind 1755141, connect 1663192, delroute 0 10.27 real 2.30 user 52.53 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 887262, close 1908179, bind 3491286, connect 2981749, delroute 0 10.00 real 5.07 user 59.83 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 1880563, close 1133009, bind 6208990, connect 0, delroute 0 10.01 real 4.39 user 64.95 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 138501, close 203629, bind 0, connect 1490499, delroute 0 10.00 real 0.80 user 16.52 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 136528, close 163380, bind 257133, connect 1288893, delroute 0 10.00 real 0.78 user 16.50 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 166689, close 218859, bind 537146, connect 487843, delroute 0 10.16 real 0.72 user 45.39 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 560908, close 3665157, bind 4297185, connect 4389921, delroute 0 10.00 real 7.00 user 47.88 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 842651, close 1192768, bind 4042168, connect 0, delroute 0 10.01 real 2.76 user 57.51 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 490667, close 1452882, bind 0, connect 3491996, delroute 0 10.00 real 2.96 user 37.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 519916, close 1552714, bind 1917077, connect 1777481, delroute 0 10.00 real 2.90 user 39.43 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 139956, close 225020, bind 598740, connect 598753, delroute 0 10.27 real 0.73 user 41.66 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 433677, close 4194972, bind 4529283, connect 4705385, delroute 0 10.00 real 7.38 user 47.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 2055880, close 1282297, bind 8486584, connect 0, delroute 0 10.01 real 5.80 user 75.40 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 697551, close 861518, bind 0, connect 2608763, delroute 0 10.00 real 2.24 user 45.72 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 882261, close 942604, bind 1897598, connect 1581817, delroute 0 10.00 real 2.64 user 52.08 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 670907, close 434126, bind 1469764, connect 1796725, delroute 0 10.29 real 2.00 user 43.69 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 796623, close 2258402, bind 3896415, connect 3306560, delroute 0 10.00 real 5.69 user 59.05 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