START sys/netinet/bindconnect 2024-08-25T19:03:16Z ==== 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 472541, close 348412, bind 1940248, connect 1526951, delroute 0 10.01 real 1.82 user 29.18 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1267304, close 644552, bind 14355081, connect 0, delroute 0 10.00 real 8.60 user 78.52 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 19428, close 11927, bind 0, connect 4107197, delroute 0 10.00 real 2.31 user 76.25 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 131546, close 75406, bind 4528638, connect 2434185, delroute 0 10.00 real 4.17 user 74.19 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63669, close 54405, bind 877102, connect 560117, delroute 0 10.10 real 0.72 user 44.65 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 116246, close 107421, bind 4634759, connect 2528765, delroute 0 10.00 real 4.19 user 74.06 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 1219105, close 909089, bind 4715081, connect 0, delroute 0 10.01 real 3.10 user 75.66 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 475851, close 781398, bind 0, connect 3162342, delroute 0 10.00 real 2.58 user 68.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 522506, close 803509, bind 1584062, connect 1671797, delroute 0 10.00 real 2.45 user 70.61 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 101842, close 155598, bind 495994, connect 534030, delroute 0 10.41 real 0.67 user 22.48 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 421775, close 2495338, bind 4070730, connect 4163012, delroute 0 10.00 real 6.39 user 69.94 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 825380, close 431444, bind 14227925, connect 0, delroute 0 10.01 real 8.13 user 78.55 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 20541, close 11343, bind 0, connect 4356768, delroute 0 10.00 real 2.62 user 77.31 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 92041, close 49644, bind 4484686, connect 2321490, delroute 0 10.00 real 3.48 user 72.50 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 188592, close 92308, bind 5195245, connect 2709320, delroute 0 10.18 real 4.30 user 72.70 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 84269, close 64980, bind 4610826, connect 2454277, delroute 0 10.00 real 3.91 user 74.13 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 1258756, close 646821, bind 14418676, connect 0, delroute 0 10.01 real 8.46 user 78.54 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5914, close 3769, bind 0, connect 2756971, delroute 0 10.00 real 2.15 user 74.03 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 51856, close 30708, bind 3420459, connect 1567801, delroute 0 10.00 real 2.94 user 71.57 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63684, close 62821, bind 1627986, connect 888345, delroute 0 10.10 real 1.49 user 48.42 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 45351, close 57651, bind 3529764, connect 1684930, delroute 0 10.00 real 2.66 user 71.76 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 1174383, close 914331, bind 4563510, connect 0, delroute 0 10.01 real 3.19 user 75.84 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 371523, close 520700, bind 0, connect 2546653, delroute 0 10.00 real 1.98 user 64.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 411735, close 556753, bind 1225083, connect 1433790, delroute 0 10.00 real 2.12 user 64.85 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 99453, close 164007, bind 554995, connect 627946, delroute 0 10.49 real 0.77 user 24.13 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 333030, close 2464795, bind 3642755, connect 3885692, delroute 0 10.00 real 5.71 user 65.31 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 937861, close 487844, bind 14098648, connect 0, delroute 0 10.01 real 7.94 user 78.72 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17767, close 10287, bind 0, connect 4338378, delroute 0 10.00 real 2.23 user 78.23 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 93825, close 52776, bind 4425673, connect 2218356, delroute 0 10.00 real 3.63 user 72.87 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 182131, close 98849, bind 5249390, connect 2673297, delroute 0 10.20 real 4.29 user 72.60 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 83384, close 70176, bind 4490260, connect 2311146, delroute 0 10.00 real 3.81 user 72.26 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