START sys/netinet/bindconnect 2024-02-25T19:53:40Z ==== 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 724563, close 1302277, bind 2817001, connect 2168914, delroute 0 10.00 real 2.95 user 29.27 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1377201, close 958246, bind 13211801, connect 0, delroute 0 10.00 real 8.54 user 77.54 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 15523, close 16620, bind 0, connect 4117426, delroute 0 10.00 real 2.54 user 74.41 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 163475, close 158870, bind 5066927, connect 2659203, delroute 0 10.00 real 4.29 user 75.65 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 76290, close 97710, bind 1262296, connect 750052, delroute 0 10.11 real 1.29 user 50.12 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 292533, close 1052814, bind 6974507, connect 4234100, delroute 0 10.00 real 7.14 user 73.39 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 1412710, close 582168, bind 3183391, connect 0, delroute 0 10.01 real 2.48 user 79.46 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 550638, close 719086, bind 0, connect 2925205, delroute 0 10.00 real 2.20 user 72.53 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 628410, close 707026, bind 1431314, connect 1545023, delroute 0 10.00 real 2.37 user 73.63 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98621, close 151535, bind 488611, connect 553468, delroute 0 10.44 real 0.65 user 24.21 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 422706, close 2426198, bind 3962949, connect 4088285, delroute 0 10.00 real 6.76 user 71.76 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 1040857, close 758167, bind 14123492, connect 0, delroute 0 10.01 real 8.75 user 77.94 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 70187, close 78681, bind 0, connect 5976550, delroute 0 10.00 real 3.58 user 79.36 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 190974, close 162434, bind 5982698, connect 2905144, delroute 0 10.00 real 4.78 user 76.98 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 264511, close 189497, bind 6298501, connect 3116657, delroute 0 10.23 real 6.06 user 76.37 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 274351, close 869859, bind 7331477, connect 4267076, delroute 0 10.00 real 6.84 user 75.90 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 1377287, close 953708, bind 12822575, connect 0, delroute 0 10.01 real 8.42 user 78.27 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3221, close 5269, bind 0, connect 3055527, delroute 0 10.00 real 2.00 user 73.80 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 49168, close 54399, bind 3784470, connect 1730902, delroute 0 10.00 real 3.32 user 70.91 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 77941, close 118210, bind 2974892, connect 1472890, delroute 0 10.14 real 2.48 user 55.84 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 122122, close 779220, bind 5598690, connect 3426734, delroute 0 10.00 real 5.49 user 69.44 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 1384772, close 579602, bind 3079303, connect 0, delroute 0 10.01 real 2.13 user 79.59 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 454954, close 372752, bind 0, connect 2234016, delroute 0 10.00 real 1.71 user 68.94 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 510061, close 411792, bind 1035357, connect 1245857, delroute 0 10.00 real 1.41 user 70.41 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 92006, close 152406, bind 521710, connect 664494, delroute 0 10.48 real 0.70 user 26.54 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 325389, close 2371113, bind 3455238, connect 3822647, delroute 0 10.00 real 6.11 user 69.27 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 1126409, close 843733, bind 13664237, connect 0, delroute 0 10.01 real 8.64 user 78.69 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 255669, close 220156, bind 0, connect 7654028, delroute 0 10.00 real 5.12 user 79.46 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 419477, close 342009, bind 6805231, connect 3792206, delroute 0 10.00 real 6.75 user 78.28 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 393050, close 284040, bind 6997261, connect 3897574, delroute 0 10.24 real 6.18 user 77.51 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 436180, close 1023098, bind 8029501, connect 4890470, delroute 0 10.00 real 8.94 user 75.32 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