START sys/netinet/bindconnect 2024-12-30T19:38:51Z ==== 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 686513, close 1083890, bind 2601430, connect 2084989, delroute 0 10.00 real 2.97 user 27.63 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1325714, close 989934, bind 14372638, connect 0, delroute 0 10.00 real 8.59 user 77.44 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 24731, close 30037, bind 0, connect 4220630, delroute 0 10.00 real 2.57 user 76.90 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 152557, close 147230, bind 4672762, connect 2598980, delroute 0 10.00 real 3.87 user 74.76 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 77103, close 99592, bind 1216627, connect 766705, delroute 0 10.09 real 1.11 user 46.13 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 289094, close 1123494, bind 6495406, connect 4325651, delroute 0 10.01 real 6.76 user 71.53 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 935938, close 516821, bind 13212547, connect 0, delroute 0 10.01 real 7.78 user 78.71 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 485314, close 237014, bind 0, connect 6186041, delroute 0 10.00 real 4.67 user 70.87 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 449555, close 243609, bind 3748586, connect 3957228, delroute 0 10.00 real 5.02 user 73.15 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 65538, close 60413, bind 858843, connect 751915, delroute 0 10.43 real 0.88 user 34.86 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 389352, close 262112, bind 3806377, connect 4044383, delroute 0 10.00 real 5.43 user 72.22 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 1142222, close 875178, bind 14752071, connect 0, delroute 0 10.01 real 8.41 user 78.18 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 26191, close 30390, bind 0, connect 4603300, delroute 0 10.00 real 2.90 user 77.62 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 124494, close 108922, bind 4665803, connect 2483553, delroute 0 10.00 real 4.00 user 73.89 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 218500, close 169576, bind 5475406, connect 2915770, delroute 0 10.20 real 4.76 user 73.88 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 209457, close 745887, bind 5953461, connect 3831021, delroute 0 10.01 real 5.61 user 72.53 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 1506846, close 1073644, bind 13856536, connect 0, delroute 0 10.01 real 8.78 user 77.58 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 8386, close 12169, bind 0, connect 2980572, delroute 0 10.00 real 1.77 user 74.00 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 68328, close 75943, bind 3618082, connect 1715368, delroute 0 10.00 real 2.81 user 71.18 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 78311, close 114297, bind 2131600, connect 1142221, delroute 0 10.10 real 1.76 user 52.07 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 156686, close 971052, bind 5341022, connect 3465878, delroute 0 10.00 real 5.26 user 69.55 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 937334, close 519974, bind 12654236, connect 0, delroute 0 10.01 real 7.35 user 79.71 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 412218, close 202757, bind 0, connect 5586681, delroute 0 10.00 real 3.84 user 66.61 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 382368, close 208183, bind 3269305, connect 3577226, delroute 0 10.00 real 4.65 user 69.17 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 65282, close 63942, bind 955752, connect 838564, delroute 0 10.46 real 1.10 user 36.17 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 329737, close 223992, bind 3324669, connect 3641206, delroute 0 10.00 real 4.68 user 68.40 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 1320020, close 976331, bind 13903128, connect 0, delroute 0 10.01 real 8.57 user 78.45 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 25339, close 32526, bind 0, connect 4536986, delroute 0 10.00 real 2.67 user 76.88 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 129474, close 122162, bind 4683513, connect 2389948, delroute 0 10.00 real 3.86 user 73.78 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 215940, close 189291, bind 5624611, connect 2902356, delroute 0 10.23 real 5.03 user 72.98 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 242147, close 1035938, bind 6313743, connect 4130036, delroute 0 10.01 real 6.47 user 70.82 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