START sys/netinet/bindconnect 2025-03-04T19:34:55Z ==== 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 718093, close 621077, bind 916722, connect 1896355, delroute 0 10.00 real 1.71 user 20.66 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1902154, close 1164774, bind 6458562, connect 0, delroute 0 10.00 real 4.85 user 67.74 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 267068, close 407083, bind 0, connect 2615495, delroute 0 10.00 real 2.00 user 23.52 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 361130, close 439531, bind 708393, connect 2070508, delroute 0 10.00 real 1.76 user 25.48 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 112460, close 107408, bind 342341, connect 314467, delroute 0 10.18 real 0.49 user 46.08 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 727676, close 2885274, bind 4263935, connect 4077955, delroute 0 10.01 real 6.36 user 56.23 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 848245, close 1207969, bind 4147767, connect 0, delroute 0 10.01 real 3.10 user 58.00 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 540059, close 1522998, bind 0, connect 3699033, delroute 0 10.00 real 3.04 user 42.42 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 566548, close 1593030, bind 2019466, connect 1857220, delroute 0 10.00 real 3.20 user 43.66 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 215646, close 342300, bind 702687, connect 714359, delroute 0 10.20 real 1.04 user 43.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 459850, close 3937180, bind 4635220, connect 4603098, delroute 0 10.00 real 7.51 user 51.48 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 2310377, close 1236160, bind 8697077, connect 0, delroute 0 10.01 real 5.86 user 76.00 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 803015, close 837740, bind 0, connect 2509763, delroute 0 10.00 real 2.11 user 47.77 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1007063, close 940037, bind 1854164, connect 1586532, delroute 0 10.00 real 2.73 user 52.69 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 913807, close 519276, bind 1763923, connect 1645615, delroute 0 10.26 real 2.74 user 54.03 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 887163, close 1920651, bind 3478608, connect 2973065, delroute 0 10.01 real 4.96 user 60.92 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 1893303, close 1058337, bind 5629145, connect 0, delroute 0 10.01 real 3.78 user 61.17 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 143702, close 204630, bind 0, connect 1499088, delroute 0 10.00 real 0.81 user 17.11 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 157001, close 167482, bind 251609, connect 1276846, delroute 0 10.00 real 0.77 user 16.41 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 164049, close 237654, bind 537043, connect 484998, delroute 0 10.13 real 0.79 user 44.58 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 561121, close 3678713, bind 4338004, connect 4353810, delroute 0 10.00 real 7.15 user 47.65 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 858789, close 1240757, bind 4215823, connect 0, delroute 0 10.01 real 3.18 user 56.98 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 492383, close 1454206, bind 0, connect 3480743, delroute 0 10.00 real 3.00 user 37.84 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 519306, close 1530491, bind 1912198, connect 1763268, delroute 0 10.00 real 3.05 user 39.82 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 141725, close 225795, bind 594741, connect 593353, delroute 0 10.22 real 0.80 user 41.89 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 432336, close 3959411, bind 4335042, connect 4553240, delroute 0 10.00 real 7.25 user 47.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 2076213, close 1222718, bind 8243853, connect 0, delroute 0 10.01 real 5.94 user 75.54 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 715762, close 892469, bind 0, connect 2631096, delroute 0 10.00 real 2.12 user 46.49 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 893175, close 963068, bind 1883512, connect 1577732, delroute 0 10.00 real 2.71 user 51.15 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 724419, close 460393, bind 1545999, connect 1687103, delroute 0 10.34 real 1.93 user 46.30 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 799768, close 2303905, bind 3956806, connect 3365064, delroute 0 10.01 real 5.59 user 58.70 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