START sys/netinet/bindconnect 2025-03-22T02:43:49Z ==== 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 2192875, close 1716558, bind 3497110, connect 1984175, delroute 0 10.00 real 4.10 user 33.42 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3819043, close 324773, bind 4187775, connect 0, delroute 0 10.01 real 7.91 user 52.02 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2173939, close 254124, bind 0, connect 3182958, delroute 0 10.01 real 4.84 user 45.91 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3727274, close 134747, bind 1247384, connect 935807, delroute 0 10.01 real 7.48 user 50.49 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 72627, close 4479, bind 196214, connect 135874, delroute 0 10.12 real 0.20 user 21.84 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4146390, close 137648, bind 639551, connect 541110, delroute 0 10.00 real 7.52 user 51.67 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 1346978, close 676888, bind 2906806, connect 0, delroute 0 10.00 real 4.99 user 51.49 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1153663, close 549892, bind 0, connect 2812429, delroute 0 10.01 real 4.09 user 48.73 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1203209, close 576915, bind 1524828, connect 1177741, delroute 0 10.01 real 4.35 user 49.12 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 104998, close 7874, bind 118566, connect 72557, delroute 0 10.35 real 0.31 user 14.20 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1207286, close 1039989, bind 1862617, connect 1579866, delroute 0 10.00 real 5.69 user 50.26 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 4506844, close 49206, bind 289933, connect 0, delroute 0 10.00 real 8.14 user 51.92 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4052040, close 73858, bind 0, connect 844684, delroute 0 10.01 real 7.20 user 51.96 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4315392, close 57075, bind 212161, connect 168538, delroute 0 10.01 real 7.51 user 52.53 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4517501, close 31902, bind 380774, connect 256750, delroute 0 10.18 real 8.58 user 51.38 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4335802, close 94442, bind 299515, connect 240902, delroute 0 10.01 real 7.40 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 4451330, close 41824, bind 285775, connect 0, delroute 0 10.00 real 8.16 user 51.80 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1730664, close 249556, bind 0, connect 2710743, delroute 0 10.01 real 3.93 user 40.95 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4089786, close 58680, bind 390964, connect 300772, delroute 0 10.01 real 7.51 user 51.14 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 85957, close 8636, bind 111582, connect 80227, delroute 0 10.13 real 0.17 user 20.37 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4002554, close 115573, bind 586958, connect 435029, delroute 0 10.00 real 7.58 user 51.12 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 1342350, close 800689, bind 3437060, connect 0, delroute 0 10.00 real 4.87 user 51.51 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1077779, close 535676, bind 0, connect 3138138, delroute 0 10.01 real 3.78 user 48.64 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1168523, close 552496, bind 1591317, connect 1173385, delroute 0 10.01 real 4.50 user 48.38 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 110400, close 11344, bind 70660, connect 36560, delroute 0 10.32 real 0.34 user 16.19 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1278744, close 889080, bind 1551021, connect 1260970, delroute 0 10.00 real 6.10 user 50.86 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 3875837, close 36785, bind 215545, connect 0, delroute 0 10.00 real 7.78 user 52.27 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3422868, close 103711, bind 0, connect 1306005, delroute 0 10.01 real 7.23 user 51.24 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3844023, close 49454, bind 202326, connect 154593, delroute 0 10.01 real 7.23 user 52.63 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3821877, close 19370, bind 95018, connect 85250, delroute 0 10.17 real 7.30 user 52.68 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3730402, close 88390, bind 290112, connect 238246, delroute 0 10.00 real 7.46 user 52.38 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