START sys/netinet/bindconnect 2024-04-16T01:54:38Z ==== 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 878613, close 814459, bind 2606903, connect 2121191, delroute 0 10.00 real 2.80 user 30.15 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3509522, close 24914, bind 4418200, connect 0, delroute 0 10.01 real 7.19 user 52.87 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4146580, close 2239, bind 0, connect 148654, delroute 0 10.01 real 6.64 user 53.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 4250150, close 4493, bind 67794, connect 54471, delroute 0 10.01 real 7.52 user 52.59 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2062303, close 1381, bind 41866, connect 35137, delroute 0 10.19 real 3.62 user 40.40 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4259763, close 5744, bind 44112, connect 50459, delroute 0 10.01 real 7.57 user 52.38 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 1974242, close 687896, bind 6089237, connect 0, delroute 0 10.00 real 3.97 user 55.28 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2070534, close 97404, bind 0, connect 3248521, delroute 0 10.01 real 4.93 user 53.10 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2016485, close 119548, bind 1654525, connect 1600383, delroute 0 10.01 real 4.66 user 53.66 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 148484, close 17461, bind 42210, connect 47524, delroute 0 10.43 real 0.30 user 14.63 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2012536, close 184052, bind 1529033, connect 1490459, delroute 0 10.00 real 5.03 user 53.15 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 2718871, close 58541, bind 9068715, connect 0, delroute 0 10.00 real 6.91 user 53.09 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4128683, close 3814, bind 0, connect 215963, delroute 0 10.01 real 6.91 user 53.18 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4227426, close 5861, bind 73507, connect 78576, delroute 0 10.09 real 6.97 user 53.52 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4126920, close 10688, bind 133660, connect 141211, delroute 0 10.18 real 6.48 user 53.64 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4153788, close 9184, bind 82029, connect 83006, delroute 0 10.00 real 7.21 user 52.82 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 3260839, close 9565, bind 6064026, connect 0, delroute 0 10.02 real 7.29 user 52.93 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3988632, close 1516, bind 0, connect 131574, delroute 0 10.01 real 6.94 user 53.06 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4200710, close 1878, bind 40155, connect 35757, delroute 0 10.01 real 6.78 user 53.18 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1043311, close 1434, bind 40248, connect 31694, delroute 0 10.19 real 1.68 user 32.37 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4124371, close 3877, bind 44107, connect 40811, delroute 0 10.03 real 7.04 user 53.09 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 1878312, close 688358, bind 6985016, connect 0, delroute 0 10.00 real 4.19 user 55.18 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2025107, close 82450, bind 0, connect 3053595, delroute 0 10.01 real 4.88 user 53.18 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1964954, close 97459, bind 1634233, connect 1510249, delroute 0 10.01 real 4.70 user 53.40 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 123817, close 21703, bind 54455, connect 73803, delroute 0 10.46 real 0.30 user 14.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 1951470, close 143466, bind 1059788, connect 1026165, delroute 0 10.00 real 5.11 user 53.19 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 2569700, close 99269, bind 6557760, connect 0, delroute 0 10.00 real 6.98 user 52.90 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3328893, close 6241, bind 0, connect 289821, delroute 0 10.01 real 6.52 user 53.44 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3360111, close 13176, bind 145141, connect 159952, delroute 0 10.01 real 6.54 user 53.45 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3321031, close 8351, bind 78289, connect 88847, delroute 0 10.16 real 6.50 user 53.65 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3330694, close 17213, bind 134380, connect 148019, delroute 0 10.01 real 6.70 user 53.27 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