START sys/netinet/bindconnect 2025-03-29T19:33:31Z ==== 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 854543, close 676154, bind 1005681, connect 1816989, delroute 0 10.01 real 1.86 user 21.16 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1930498, close 1110250, bind 6534237, connect 0, delroute 0 10.00 real 4.75 user 67.20 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 273682, close 419838, bind 0, connect 2608478, delroute 0 10.00 real 1.57 user 24.63 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 382160, close 428784, bind 716977, connect 2034528, delroute 0 10.00 real 1.57 user 27.03 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 114678, close 113770, bind 357389, connect 327810, delroute 0 10.14 real 0.48 user 44.92 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 719703, close 2871895, bind 4255326, connect 4089243, delroute 0 10.00 real 6.60 user 56.48 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 841484, close 1205740, bind 4178246, connect 0, delroute 0 10.01 real 2.60 user 58.07 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 536566, close 1593171, bind 0, connect 3904225, delroute 0 10.00 real 3.36 user 43.01 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 556515, close 1599895, bind 2053931, connect 1880610, delroute 0 10.00 real 3.19 user 43.26 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 136600, close 212075, bind 577400, connect 571491, delroute 0 10.25 real 0.77 user 43.69 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 460872, close 3937977, bind 4648298, connect 4662479, delroute 0 10.01 real 7.43 user 50.56 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 2292577, close 1212651, bind 8745100, connect 0, delroute 0 10.01 real 5.75 user 75.44 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 769352, close 767255, bind 0, connect 2499743, delroute 0 10.00 real 1.91 user 48.13 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 982405, close 875159, bind 1868989, connect 1596188, delroute 0 10.00 real 2.76 user 54.23 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 879259, close 511808, bind 1762061, connect 1697759, delroute 0 10.33 real 2.41 user 52.60 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 880820, close 1837075, bind 3428433, connect 2910440, delroute 0 10.00 real 5.00 user 59.75 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 1913266, close 1042819, bind 5879328, connect 0, delroute 0 10.01 real 4.20 user 62.45 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 155722, close 208568, bind 0, connect 1495670, delroute 0 10.00 real 0.79 user 17.17 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 174422, close 183203, bind 292505, connect 1274553, delroute 0 10.00 real 0.74 user 16.84 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 104961, close 111915, bind 393541, connect 344792, delroute 0 10.20 real 0.52 user 44.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 561412, close 3722173, bind 4436627, connect 4462994, delroute 0 10.00 real 7.10 user 48.41 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 831436, close 1193680, bind 4107617, connect 0, delroute 0 10.01 real 3.06 user 57.58 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 485772, close 1453304, bind 0, connect 3541209, delroute 0 10.00 real 3.00 user 39.10 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 515478, close 1499322, bind 1903067, connect 1772613, delroute 0 10.00 real 2.82 user 40.00 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 144415, close 235190, bind 616987, connect 615312, delroute 0 10.22 real 0.86 user 43.09 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 431903, close 4051635, bind 4476212, connect 4656769, delroute 0 10.01 real 7.28 user 48.30 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 2066284, close 1246790, bind 8615075, connect 0, delroute 0 10.01 real 6.25 user 75.14 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 671590, close 829294, bind 0, connect 2603056, delroute 0 10.00 real 2.11 user 46.29 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 868417, close 931278, bind 1908633, connect 1596717, delroute 0 10.00 real 2.58 user 52.10 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 621807, close 399253, bind 1397849, connect 1807719, delroute 0 10.29 real 2.20 user 41.95 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 801615, close 2189021, bind 3863943, connect 3279999, delroute 0 10.00 real 5.21 user 57.89 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