START sys/netinet/bindconnect 2025-03-06T23:09:20Z ==== 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 1112585, close 839555, bind 1898247, connect 1026411, delroute 0 10.01 real 1.26 user 32.33 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 979523, close 597428, bind 6125179, connect 0, delroute 0 10.00 real 2.81 user 70.77 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 600814, close 575604, bind 0, connect 2390697, delroute 0 10.00 real 1.32 user 44.83 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 679429, close 549718, bind 1893980, connect 1467753, delroute 0 10.00 real 1.47 user 50.65 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 82849, close 70457, bind 459170, connect 445671, delroute 0 10.13 real 0.20 user 41.21 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 532842, close 2494177, bind 5357655, connect 4732946, delroute 0 10.01 real 3.91 user 64.33 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 454069, close 2672115, bind 7301658, connect 0, delroute 0 10.01 real 2.09 user 49.30 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 454920, close 3827749, bind 0, connect 6679171, delroute 0 10.01 real 2.44 user 43.81 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 454983, close 3627681, bind 3614367, connect 3146287, delroute 0 10.00 real 2.06 user 44.45 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 316092, close 741668, bind 1859273, connect 1785134, delroute 0 10.20 real 1.32 user 40.60 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 330978, close 5829358, bind 7679163, connect 7492953, delroute 0 10.00 real 4.48 user 61.42 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 1060746, close 648212, bind 7465182, connect 0, delroute 0 10.01 real 2.98 user 72.27 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 519032, close 683488, bind 0, connect 2140822, delroute 0 10.00 real 1.25 user 42.06 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 579239, close 753074, bind 2066137, connect 1331082, delroute 0 10.00 real 1.81 user 46.51 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 545021, close 313368, bind 2133911, connect 1295949, delroute 0 10.37 real 1.62 user 45.93 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 466227, close 3275605, bind 5827393, connect 4996962, delroute 0 10.00 real 3.97 user 61.97 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 1021138, close 624729, bind 6925523, connect 0, delroute 0 10.00 real 2.81 user 71.44 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 352693, close 342558, bind 0, connect 2026514, delroute 0 10.00 real 1.02 user 31.59 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 609642, close 552282, bind 1721238, connect 1428483, delroute 0 10.00 real 1.39 user 45.10 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 71528, close 70012, bind 486299, connect 763821, delroute 0 10.12 real 0.27 user 25.22 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 451824, close 3376849, bind 6085601, connect 5906840, delroute 0 10.00 real 4.17 user 61.57 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 410671, close 1698480, bind 5721261, connect 0, delroute 0 10.00 real 1.70 user 52.70 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 446626, close 3918868, bind 0, connect 6453824, delroute 0 10.00 real 2.17 user 42.51 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 418336, close 2674713, bind 3023853, connect 2585028, delroute 0 10.00 real 2.07 user 46.99 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 295356, close 740050, bind 1858854, connect 1704536, delroute 0 10.21 real 1.28 user 38.13 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 365086, close 5446899, bind 6590009, connect 6218940, delroute 0 10.01 real 4.65 user 60.26 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 976197, close 624186, bind 6623860, connect 0, delroute 0 10.01 real 2.89 user 67.75 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 479805, close 655055, bind 0, connect 2202011, delroute 0 10.00 real 1.23 user 41.25 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 546115, close 772161, bind 2050335, connect 1353872, delroute 0 10.01 real 1.72 user 44.90 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 511731, close 300407, bind 2060879, connect 1236735, delroute 0 10.28 real 1.50 user 45.90 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 438439, close 2984340, bind 4942192, connect 4177416, delroute 0 10.01 real 3.53 user 59.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