START sys/netinet/bindconnect 2025-03-29T02:55:42Z ==== 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 2193749, close 1733721, bind 3493387, connect 2013648, delroute 0 10.00 real 4.22 user 32.62 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4071098, close 265311, bind 2490133, connect 0, delroute 0 10.01 real 8.24 user 51.93 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2640244, close 191040, bind 0, connect 2476587, delroute 0 10.01 real 5.79 user 46.97 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3679054, close 133352, bind 1319708, connect 965544, delroute 0 10.01 real 7.29 user 51.02 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 72456, close 1470, bind 296498, connect 115550, delroute 0 10.12 real 0.15 user 19.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 4037680, close 116375, bind 603336, connect 516071, delroute 0 10.00 real 7.74 user 51.33 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 1315518, close 884623, bind 3748713, connect 0, delroute 0 10.00 real 5.12 user 50.11 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1255768, close 518547, bind 0, connect 2731786, delroute 0 10.01 real 4.18 user 49.03 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1288446, close 512815, bind 1366215, connect 1060803, delroute 0 10.01 real 4.40 user 49.58 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 109643, close 8600, bind 59276, connect 33523, delroute 0 10.36 real 0.23 user 14.08 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1170398, close 1084443, bind 2151892, connect 1764111, delroute 0 10.00 real 5.87 user 49.43 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 4418316, close 19176, bind 108936, connect 0, delroute 0 10.00 real 7.88 user 52.18 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4148159, close 46254, bind 0, connect 522312, delroute 0 10.01 real 8.18 user 51.60 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4279635, close 37028, bind 135757, connect 108552, delroute 0 10.01 real 7.82 user 52.09 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4421546, close 17727, bind 77227, connect 54694, delroute 0 10.15 real 7.62 user 52.25 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4302620, close 72267, bind 220107, connect 178614, delroute 0 10.00 real 7.77 user 52.17 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 4353021, close 22345, bind 202166, connect 0, delroute 0 10.00 real 8.05 user 51.85 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1659533, close 210516, bind 0, connect 2665932, delroute 0 10.01 real 3.87 user 40.66 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4185765, close 33873, bind 234278, connect 172240, delroute 0 10.01 real 8.22 user 51.05 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 76839, close 7785, bind 221137, connect 113577, delroute 0 10.12 real 0.20 user 25.62 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3932096, close 111580, bind 564133, connect 427483, delroute 0 10.00 real 7.85 user 50.67 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 1315588, close 877157, bind 3807122, connect 0, delroute 0 10.00 real 4.72 user 50.99 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1100900, close 575918, bind 0, connect 3235518, delroute 0 10.01 real 3.85 user 47.52 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1200590, close 560169, bind 1595987, connect 1180958, delroute 0 10.01 real 4.39 user 48.80 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 109628, close 11242, bind 70812, connect 38463, delroute 0 10.29 real 0.30 user 16.00 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1280973, close 835386, bind 1562004, connect 1288310, delroute 0 10.01 real 6.07 user 50.10 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 3810717, close 17822, bind 106523, connect 0, delroute 0 10.00 real 8.13 user 51.80 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3511215, close 67918, bind 0, connect 795711, delroute 0 10.01 real 7.71 user 51.53 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3684266, close 44519, bind 166071, connect 130544, delroute 0 10.01 real 7.57 user 52.37 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3688812, close 21621, bind 107240, connect 82867, delroute 0 10.17 real 7.77 user 52.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 3640788, close 73415, bind 236426, connect 195189, delroute 0 10.00 real 7.41 user 52.28 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