START sys/netinet/bindconnect 2024-12-20T19:29:39Z ==== 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 475169, close 354971, bind 1940612, connect 1516626, delroute 0 10.00 real 1.91 user 28.69 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1251111, close 646147, bind 14442313, connect 0, delroute 0 10.00 real 9.07 user 77.49 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 16857, close 10223, bind 0, connect 4014090, delroute 0 10.00 real 2.20 user 76.70 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 124126, close 72949, bind 4553223, connect 2440518, delroute 0 10.00 real 3.88 user 74.45 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63520, close 56273, bind 900742, connect 575243, delroute 0 10.10 real 0.90 user 45.10 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 112538, close 101496, bind 4733301, connect 2583336, delroute 0 10.00 real 4.20 user 74.75 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 1187839, close 887725, bind 4634055, connect 0, delroute 0 10.01 real 3.23 user 75.24 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 465907, close 799675, bind 0, connect 3170426, delroute 0 10.00 real 2.65 user 68.25 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 515285, close 784298, bind 1535282, connect 1662931, delroute 0 10.00 real 2.38 user 69.45 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 102581, close 157320, bind 509724, connect 552297, delroute 0 10.42 real 0.65 user 22.74 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 410906, close 2487705, bind 4025605, connect 4139810, delroute 0 10.00 real 5.83 user 69.86 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 775577, close 416858, bind 14736621, connect 0, delroute 0 10.01 real 8.21 user 78.77 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18219, close 10269, bind 0, connect 4388715, delroute 0 10.00 real 2.48 user 76.92 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 91644, close 49497, bind 4643530, connect 2395803, delroute 0 10.00 real 3.42 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 187774, close 92206, bind 5388983, connect 2783499, delroute 0 10.18 real 4.73 user 73.81 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 74959, close 58599, bind 4595427, connect 2388362, delroute 0 10.00 real 4.36 user 73.91 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 1241139, close 642294, bind 14432505, connect 0, delroute 0 10.01 real 9.06 user 77.87 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5402, close 3408, bind 0, connect 2768643, delroute 0 10.00 real 1.63 user 76.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 48744, close 29656, bind 3441858, connect 1569734, delroute 0 10.00 real 2.82 user 72.65 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63921, close 64250, bind 1654219, connect 909104, delroute 0 10.10 real 1.48 user 48.12 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 43819, close 59268, bind 3602552, connect 1704068, delroute 0 10.01 real 3.09 user 71.42 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 1150814, close 904563, bind 4509649, connect 0, delroute 0 10.01 real 3.25 user 75.45 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 372247, close 530292, bind 0, connect 2574848, delroute 0 10.00 real 1.70 user 64.29 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 408946, close 568244, bind 1227951, connect 1434490, delroute 0 10.00 real 1.61 user 65.62 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98814, close 164297, bind 565174, connect 623365, delroute 0 10.49 real 0.74 user 24.58 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 332151, close 2485327, bind 3643486, connect 3911154, delroute 0 10.01 real 5.76 user 65.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 949113, close 509035, bind 14043475, connect 0, delroute 0 10.01 real 8.27 user 78.62 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17014, close 9995, bind 0, connect 4321479, delroute 0 10.00 real 2.50 user 77.65 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 90918, close 51800, bind 4412535, connect 2189039, delroute 0 10.00 real 3.33 user 72.80 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 184351, close 101105, bind 5414382, connect 2736977, delroute 0 10.20 real 4.51 user 73.35 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 77842, close 67154, bind 4587019, connect 2301731, delroute 0 10.00 real 3.91 user 71.48 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