START sys/netinet/bindconnect 2024-12-22T19:25:11Z ==== 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 469167, close 348875, bind 1959972, connect 1514037, delroute 0 10.00 real 2.10 user 28.50 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1258861, close 637109, bind 14948157, connect 0, delroute 0 10.00 real 8.92 user 77.36 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18142, close 11069, bind 0, connect 4038240, delroute 0 10.00 real 2.63 user 76.20 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 127421, close 73753, bind 4552106, connect 2422378, delroute 0 10.00 real 3.99 user 74.98 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63852, close 56112, bind 906340, connect 574159, delroute 0 10.10 real 0.97 user 45.53 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 111903, close 100885, bind 4682876, connect 2535822, delroute 0 10.00 real 4.39 user 74.58 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 1201069, close 905941, bind 4721071, connect 0, delroute 0 10.01 real 2.84 user 76.37 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 464373, close 726915, bind 0, connect 3006792, delroute 0 10.00 real 2.08 user 68.44 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 502257, close 811391, bind 1544920, connect 1660530, delroute 0 10.00 real 2.44 user 70.14 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103016, close 159665, bind 504700, connect 547062, delroute 0 10.46 real 0.55 user 23.50 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 409406, close 2537595, bind 4083189, connect 4171074, delroute 0 10.01 real 6.09 user 69.19 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 797735, close 411686, bind 14468241, connect 0, delroute 0 10.01 real 8.39 user 77.87 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18020, close 10173, bind 0, connect 4319185, delroute 0 10.00 real 2.63 user 78.11 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 88441, close 47686, bind 4536015, connect 2330358, delroute 0 10.00 real 3.64 user 74.55 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 184169, close 90770, bind 5249016, connect 2719205, delroute 0 10.18 real 4.42 user 74.21 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 77534, close 59148, bind 4594580, connect 2421587, delroute 0 10.00 real 4.13 user 74.14 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 1262721, close 644185, bind 14509671, connect 0, delroute 0 10.01 real 8.93 user 77.32 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5749, close 3646, bind 0, connect 2762351, delroute 0 10.00 real 1.45 user 74.38 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 49837, close 29151, bind 3404706, connect 1537194, delroute 0 10.00 real 2.60 user 73.14 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63788, close 63953, bind 1619417, connect 879572, delroute 0 10.09 real 1.35 user 48.43 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 45319, close 58333, bind 3552363, connect 1679573, delroute 0 10.00 real 2.72 user 71.16 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 1157788, close 907065, bind 4509392, connect 0, delroute 0 10.01 real 2.88 user 76.38 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 366208, close 503389, bind 0, connect 2508075, delroute 0 10.00 real 1.87 user 65.27 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 404094, close 544041, bind 1199327, connect 1399799, delroute 0 10.00 real 1.99 user 65.73 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98529, close 164316, bind 559505, connect 629986, delroute 0 10.49 real 0.72 user 25.09 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 327398, close 2490396, bind 3648192, connect 3843615, delroute 0 10.01 real 5.87 user 65.34 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 941342, close 491317, bind 14146284, connect 0, delroute 0 10.01 real 8.12 user 79.55 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 16325, close 9458, bind 0, connect 4270278, delroute 0 10.00 real 2.62 user 77.47 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 92539, close 52492, bind 4434002, connect 2206414, delroute 0 10.00 real 3.64 user 73.17 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 180144, close 98510, bind 5349361, connect 2686202, delroute 0 10.19 real 4.42 user 72.01 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 76703, close 64735, bind 4497402, connect 2268815, delroute 0 10.00 real 3.87 user 73.17 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