START sys/netinet/bindconnect 2024-08-06T02:01:25Z ==== 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 663835, close 555621, bind 2285053, connect 1978041, delroute 0 10.01 real 2.28 user 27.74 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3976730, close 10302, bind 295859, connect 0, delroute 0 10.01 real 7.71 user 52.43 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3914185, close 1419, bind 0, connect 89556, delroute 0 10.00 real 7.83 user 52.30 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4046108, close 1935, bind 44708, connect 32889, delroute 0 10.00 real 8.15 user 51.80 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2199721, close 1299, bind 38791, connect 32249, delroute 0 10.17 real 4.40 user 41.07 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3927765, close 2800, bind 44023, connect 33585, delroute 0 10.00 real 7.30 user 52.72 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 2022826, close 866413, bind 5708446, connect 0, delroute 0 10.00 real 4.09 user 54.90 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2088159, close 90432, bind 0, connect 2845353, delroute 0 10.00 real 5.63 user 52.64 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2007346, close 114364, bind 1524081, connect 1471677, delroute 0 10.01 real 5.60 user 52.75 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 126712, close 22556, bind 54249, connect 71780, delroute 0 10.43 real 0.27 user 13.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 1978190, close 154864, bind 953334, connect 814215, delroute 0 10.00 real 6.32 user 51.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 4060919, close 7993, bind 213024, connect 0, delroute 0 10.00 real 7.91 user 52.05 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3891693, close 1992, bind 0, connect 146828, delroute 0 10.00 real 7.63 user 52.24 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3989904, close 3304, bind 76847, connect 58667, delroute 0 10.00 real 7.93 user 52.06 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3837455, close 3838, bind 59813, connect 51924, delroute 0 10.15 real 7.27 user 52.17 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3954352, close 3679, bind 73434, connect 56603, delroute 0 10.01 real 7.61 user 52.12 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 4007843, close 6758, bind 196265, connect 0, delroute 0 10.00 real 7.98 user 52.03 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3794937, close 1194, bind 0, connect 92469, delroute 0 10.00 real 7.49 user 52.26 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3971821, close 1988, bind 52644, connect 39393, delroute 0 10.05 real 7.82 user 52.45 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 968777, close 1633, bind 43233, connect 36389, delroute 0 10.16 real 2.09 user 31.36 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3919251, close 3272, bind 60619, connect 43449, delroute 0 10.00 real 7.66 user 52.30 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 1962126, close 1054606, bind 6328637, connect 0, delroute 0 10.00 real 4.66 user 54.56 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1990955, close 108260, bind 0, connect 2386942, delroute 0 10.00 real 5.97 user 51.98 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1917507, close 128279, bind 1274239, connect 1197698, delroute 0 10.01 real 5.49 user 52.60 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 133923, close 29388, bind 69903, connect 84500, delroute 0 10.46 real 0.33 user 14.20 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1933213, close 198319, bind 860836, connect 804524, delroute 0 10.01 real 6.06 user 52.77 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 3312787, close 7409, bind 204584, connect 0, delroute 0 10.00 real 7.84 user 52.14 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3174024, close 1976, bind 0, connect 156760, delroute 0 10.00 real 7.79 user 51.89 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3255599, close 3160, bind 78091, connect 58466, delroute 0 10.00 real 7.66 user 52.12 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3117900, close 2680, bind 57617, connect 46249, delroute 0 10.16 real 7.52 user 52.26 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3204035, close 3630, bind 76686, connect 58422, delroute 0 10.00 real 7.86 user 52.03 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