START sys/netinet/bindconnect 2025-01-14T12:06:10Z ==== 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 1860646, close 3571227, bind 4259616, connect 2759833, delroute 0 10.00 real 4.94 user 31.20 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2210121, close 1637142, bind 8312293, connect 0, delroute 0 10.01 real 5.94 user 52.28 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1922290, close 451495, bind 0, connect 3798056, delroute 0 10.00 real 5.10 user 49.61 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2457223, close 592991, bind 2606762, connect 1992034, delroute 0 10.01 real 5.82 user 51.36 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 126899, close 84472, bind 184383, connect 162506, delroute 0 10.16 real 0.31 user 28.91 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2566691, close 1252071, bind 2551872, connect 2115425, delroute 0 10.00 real 6.78 user 51.59 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 1584711, close 1156224, bind 1379513, connect 0, delroute 0 10.00 real 1.91 user 52.42 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1526604, close 995606, bind 0, connect 1614505, delroute 0 10.01 real 2.42 user 41.89 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1353121, close 806117, bind 1112815, connect 771883, delroute 0 10.00 real 2.79 user 44.00 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1759043, close 1142157, bind 550779, connect 390778, delroute 0 10.36 real 1.70 user 31.74 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1030380, close 2824523, bind 3735802, connect 3151088, delroute 0 10.01 real 5.59 user 45.49 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 3081916, close 2239284, bind 3902330, connect 0, delroute 0 10.01 real 4.37 user 53.50 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1985757, close 1168441, bind 0, connect 3809724, delroute 0 10.00 real 3.78 user 53.37 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2383935, close 1637605, bind 1920462, connect 1631534, delroute 0 10.00 real 3.73 user 52.90 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2253378, close 1251237, bind 1869941, connect 1605922, delroute 0 10.23 real 3.73 user 51.91 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1812915, close 2066860, bind 2858069, connect 2416931, delroute 0 10.01 real 4.83 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 2756326, close 2037555, bind 4088605, connect 0, delroute 0 10.00 real 4.55 user 51.99 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2130938, close 408646, bind 0, connect 2340358, delroute 0 10.00 real 4.97 user 47.56 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2348505, close 633586, bind 1727220, connect 1321907, delroute 0 10.00 real 5.56 user 49.93 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 188894, close 18978, bind 105649, connect 78560, delroute 0 10.17 real 0.54 user 28.40 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2731275, close 1012898, bind 2218630, connect 1671826, delroute 0 10.00 real 6.85 user 51.68 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 1592544, close 1148242, bind 1244398, connect 0, delroute 0 10.00 real 1.87 user 52.23 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1652621, close 1039475, bind 0, connect 1222623, delroute 0 10.00 real 2.04 user 38.47 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1588038, close 1042325, bind 713290, connect 483333, delroute 0 10.00 real 2.02 user 42.05 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1956310, close 1263817, bind 356647, connect 247294, delroute 0 10.37 real 1.47 user 28.53 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1062626, close 1715146, bind 2058935, connect 1588908, delroute 0 10.01 real 3.93 user 48.13 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 2680801, close 2025822, bind 2957768, connect 0, delroute 0 10.00 real 3.72 user 54.14 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1891965, close 903744, bind 0, connect 3115082, delroute 0 10.01 real 4.45 user 52.55 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2109591, close 1573368, bind 1625287, connect 1360160, delroute 0 10.01 real 3.78 user 53.10 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1953268, close 1205485, bind 1754319, connect 1439310, delroute 0 10.26 real 3.15 user 53.07 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1505659, close 1924643, bind 2713771, connect 2305188, delroute 0 10.00 real 4.83 user 52.78 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