START sys/netinet/bindconnect 2024-05-06T01:58:18Z ==== 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 889992, close 1015150, bind 2941654, connect 2407484, delroute 0 10.00 real 3.47 user 29.36 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3177373, close 25236, bind 6674996, connect 0, delroute 0 10.00 real 7.40 user 52.57 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4095229, close 2114, bind 0, connect 142098, delroute 0 10.00 real 6.89 user 52.99 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4131671, close 4230, bind 62453, connect 57784, delroute 0 10.00 real 7.42 user 52.56 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1812568, close 1716, bind 41837, connect 32568, delroute 0 10.11 real 3.17 user 38.12 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4121687, close 4960, bind 42717, connect 46847, delroute 0 10.00 real 6.91 user 53.03 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 2018938, close 904211, bind 7274982, connect 0, delroute 0 10.00 real 4.24 user 54.93 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2184242, close 106029, bind 0, connect 3353815, delroute 0 10.00 real 4.66 user 53.52 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2098565, close 125555, bind 1952533, connect 1939127, delroute 0 10.00 real 4.34 user 53.66 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 167539, close 20452, bind 49157, connect 53926, delroute 0 10.42 real 0.44 user 15.02 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2093427, close 206653, bind 1759266, connect 1693092, delroute 0 10.00 real 5.09 user 53.12 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 2835917, close 84448, bind 8284957, connect 0, delroute 0 10.00 real 7.87 user 52.04 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4105707, close 3150, bind 0, connect 201228, delroute 0 10.00 real 6.99 user 53.04 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4186645, close 4706, bind 66711, connect 63530, delroute 0 10.00 real 6.99 user 52.92 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4113930, close 10627, bind 129125, connect 127847, delroute 0 10.14 real 6.81 user 53.12 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4155369, close 7952, bind 69852, connect 68791, delroute 0 10.01 real 7.26 user 52.78 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 3573021, close 5059, bind 3952235, connect 0, delroute 0 10.00 real 7.59 user 52.43 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4023584, close 1768, bind 0, connect 147313, delroute 0 10.00 real 6.95 user 52.85 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4111422, close 2636, bind 51865, connect 44164, delroute 0 10.00 real 7.38 user 52.55 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1553596, close 1885, bind 43923, connect 34709, delroute 0 10.12 real 2.79 user 36.50 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4114136, close 4312, bind 44129, connect 40091, delroute 0 10.01 real 7.25 user 52.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 1967588, close 797361, bind 7565473, connect 0, delroute 0 10.00 real 4.33 user 54.67 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2119990, close 85322, bind 0, connect 3078000, delroute 0 10.00 real 4.94 user 53.21 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2054546, close 110310, bind 1956106, connect 1922000, delroute 0 10.01 real 4.19 user 54.04 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 123227, close 39980, bind 114613, connect 92222, delroute 0 10.47 real 0.35 user 13.60 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2074869, close 125788, bind 1360882, connect 1331762, delroute 0 10.01 real 5.16 user 52.99 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 2837885, close 8375, bind 5073203, connect 0, delroute 0 10.00 real 7.47 user 52.53 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3486787, close 3342, bind 0, connect 192889, delroute 0 10.03 real 6.86 user 53.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 3519722, close 5764, bind 75932, connect 73024, delroute 0 10.00 real 7.32 user 52.80 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3437054, close 6451, bind 77330, connect 74195, delroute 0 10.14 real 7.47 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 3485222, close 6801, bind 59478, connect 58351, delroute 0 10.00 real 6.33 user 53.80 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