START sys/netinet/bindconnect 2025-03-30T02:48:23Z ==== 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 2158372, close 1685749, bind 3477768, connect 1974309, delroute 0 10.00 real 3.70 user 33.25 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3699495, close 427861, bind 4426160, connect 0, delroute 0 10.01 real 7.75 user 52.40 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2106279, close 267866, bind 0, connect 3119171, delroute 0 10.01 real 5.23 user 44.80 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4038753, close 66290, bind 475150, connect 388585, delroute 0 10.01 real 7.60 user 51.43 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 75701, close 2170, bind 166319, connect 111991, delroute 0 10.12 real 0.18 user 21.23 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3853706, close 173937, bind 817693, connect 687402, delroute 0 10.01 real 7.59 user 51.50 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 1275883, close 887242, bind 3674093, connect 0, delroute 0 10.00 real 4.90 user 50.83 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1189037, close 533858, bind 0, connect 2782133, delroute 0 10.01 real 3.92 user 49.05 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1205602, close 572876, bind 1560358, connect 1217191, delroute 0 10.01 real 3.77 user 48.83 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 105642, close 7673, bind 59556, connect 31487, delroute 0 10.38 real 0.31 user 14.39 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1231833, close 1016673, bind 1896256, connect 1534572, delroute 0 10.00 real 5.21 user 50.44 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 4334486, close 49948, bind 290215, connect 0, delroute 0 10.00 real 8.05 user 52.00 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3916634, close 96935, bind 0, connect 1095017, delroute 0 10.01 real 7.41 user 52.11 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4317488, close 51619, bind 196114, connect 152507, delroute 0 10.10 real 8.20 user 52.15 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4397116, close 22620, bind 87145, connect 73871, delroute 0 10.16 real 8.01 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 4242972, close 94750, bind 287878, connect 234443, delroute 0 10.01 real 8.03 user 51.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 4299068, close 41882, bind 275807, connect 0, delroute 0 10.00 real 8.38 user 51.55 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1344306, close 236560, bind 0, connect 2925489, delroute 0 10.01 real 3.42 user 37.80 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3913503, close 80822, bind 540732, connect 412612, delroute 0 10.01 real 7.31 user 50.57 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 82360, close 1054, bind 196464, connect 105510, delroute 0 10.14 real 0.16 user 24.47 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3731459, close 157359, bind 763737, connect 578122, delroute 0 10.01 real 7.19 user 51.47 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 1319312, close 861966, bind 3668438, connect 0, delroute 0 10.00 real 4.79 user 50.62 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1094151, close 567881, bind 0, connect 3152231, delroute 0 10.01 real 4.08 user 48.02 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1090077, close 647607, bind 1871716, connect 1382718, delroute 0 10.01 real 4.05 user 47.55 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 89933, close 11173, bind 81213, connect 43281, delroute 0 10.31 real 0.17 user 14.88 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1285627, close 878396, bind 1656327, connect 1307172, delroute 0 10.00 real 6.10 user 50.44 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 3742348, close 26199, bind 151113, connect 0, delroute 0 10.00 real 7.41 user 52.54 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3405874, close 89682, bind 0, connect 1113908, delroute 0 10.01 real 7.32 user 52.05 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3646272, close 53152, bind 206340, connect 162654, delroute 0 10.01 real 7.30 user 52.55 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3654088, close 22589, bind 112170, connect 90524, delroute 0 10.17 real 7.65 user 52.26 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3601598, close 87618, bind 316342, connect 251017, delroute 0 10.00 real 7.88 user 51.90 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