START sys/netinet/bindconnect 2024-03-25T03:03:06Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 7030 -> 110000 ==== run-default ==== cc -O2 -pipe -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 871694, close 842669, bind 2631093, connect 2141777, delroute 0 10.00 real 2.94 user 30.82 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3558428, close 22994, bind 5758724, connect 0, delroute 0 10.01 real 7.35 user 52.69 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4470003, close 1701, bind 0, connect 98199, delroute 0 10.01 real 6.63 user 53.42 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4579348, close 3909, bind 60891, connect 51472, delroute 0 10.01 real 6.67 user 53.27 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2572234, close 2065, bind 38424, connect 34183, delroute 0 10.17 real 4.47 user 41.89 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4552241, close 4206, bind 37824, connect 43542, delroute 0 10.00 real 7.26 user 52.77 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 2076234, close 562535, bind 5611123, connect 0, delroute 0 10.00 real 4.24 user 54.62 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2232331, close 95910, bind 0, connect 3155080, delroute 0 10.01 real 5.04 user 53.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 2140823, close 118770, bind 1731375, connect 1671511, delroute 0 10.01 real 4.70 user 53.44 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 142519, close 14921, bind 47546, connect 45875, delroute 0 10.44 real 0.35 user 14.33 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2173195, close 152040, bind 1414187, connect 1359779, delroute 0 10.01 real 4.85 user 53.41 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 3430835, close 54582, bind 5973618, connect 0, delroute 0 10.08 real 6.83 user 53.64 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4493117, close 2869, bind 0, connect 169264, delroute 0 10.01 real 7.39 user 52.74 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4556781, close 5033, bind 62923, connect 62754, delroute 0 10.01 real 6.70 user 53.26 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4310890, close 8952, bind 121074, connect 125124, delroute 0 10.18 real 7.06 user 53.11 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4495312, close 7870, bind 70499, connect 72229, delroute 0 10.00 real 6.61 user 53.22 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 3030077, close 8825, bind 8575191, connect 0, delroute 0 10.00 real 7.40 user 52.46 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4287756, close 1108, bind 0, connect 109689, delroute 0 10.01 real 7.27 user 52.74 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4451874, close 2100, bind 42412, connect 39108, delroute 0 10.01 real 7.44 user 52.36 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1650663, close 1222, bind 39682, connect 31224, delroute 0 10.22 real 3.02 user 38.20 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4386646, close 3646, bind 38209, connect 35685, delroute 0 10.01 real 7.17 user 52.62 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 2024421, close 591410, bind 6189245, connect 0, delroute 0 10.00 real 4.40 user 54.51 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2135928, close 84086, bind 0, connect 2832658, delroute 0 10.01 real 4.93 user 53.18 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2064055, close 101108, bind 1910539, connect 1844192, delroute 0 10.01 real 4.55 user 53.87 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 125094, close 16825, bind 49747, connect 55521, delroute 0 10.48 real 0.26 user 13.95 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2133584, close 113863, bind 1307554, connect 1236741, delroute 0 10.00 real 4.73 user 53.51 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 3202707, close 51234, bind 2882294, connect 0, delroute 0 10.00 real 6.40 user 53.58 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3548239, close 3647, bind 0, connect 146187, delroute 0 10.01 real 7.28 user 52.82 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3542983, close 10186, bind 111612, connect 123227, delroute 0 10.01 real 6.34 user 53.34 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3462751, close 4717, bind 59862, connect 64939, delroute 0 10.17 real 6.61 user 53.32 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3498979, close 13377, bind 104614, connect 110439, delroute 0 10.01 real 6.31 user 53.84 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