START sys/netinet/bindconnect 2024-07-06T02:01:23Z ==== 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 838803, close 1274295, bind 3201442, connect 2733486, delroute 0 10.00 real 3.77 user 27.30 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3957424, close 14454, bind 285334, connect 0, delroute 0 10.00 real 6.97 user 53.05 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3934452, close 3387, bind 0, connect 131130, delroute 0 10.00 real 7.15 user 52.72 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4006368, close 6002, bind 77703, connect 53702, delroute 0 10.00 real 7.32 user 52.63 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1358796, close 2015, bind 43240, connect 34193, delroute 0 10.13 real 2.33 user 33.68 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3976016, close 6816, bind 51229, connect 40243, delroute 0 10.01 real 7.08 user 52.84 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 1955149, close 784484, bind 6296425, connect 0, delroute 0 10.00 real 4.01 user 55.11 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1975719, close 97394, bind 0, connect 2307430, delroute 0 10.00 real 5.63 user 52.39 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1875688, close 126675, bind 1364945, connect 1256691, delroute 0 10.00 real 5.06 user 53.11 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 130773, close 30964, bind 112466, connect 96296, delroute 0 10.44 real 0.36 user 14.11 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1881770, close 166800, bind 1001851, connect 991869, delroute 0 10.00 real 5.56 user 52.77 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 4140952, close 7836, bind 143399, connect 0, delroute 0 10.00 real 7.69 user 52.28 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3858263, close 4234, bind 0, connect 199790, delroute 0 10.00 real 6.33 user 53.35 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4007855, close 6706, bind 95061, connect 70860, delroute 0 10.05 real 7.35 user 52.70 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4063535, close 4208, bind 60484, connect 51499, delroute 0 10.12 real 7.20 user 52.84 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4073083, close 13547, bind 87185, connect 69811, delroute 0 10.01 real 7.50 user 52.61 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 4003427, close 5743, bind 109368, connect 0, delroute 0 10.00 real 7.40 user 52.57 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3807193, close 2271, bind 0, connect 103520, delroute 0 10.00 real 6.84 user 53.05 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3967213, close 3155, bind 46505, connect 33180, delroute 0 10.00 real 7.09 user 52.84 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1482915, close 2262, bind 43987, connect 34403, delroute 0 10.12 real 2.73 user 35.80 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3930875, close 9214, bind 57782, connect 45284, delroute 0 10.00 real 6.87 user 53.03 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 1895497, close 890791, bind 7013485, connect 0, delroute 0 10.00 real 4.61 user 54.55 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1872730, close 111403, bind 0, connect 2361865, delroute 0 10.00 real 5.32 user 52.58 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1832758, close 125464, bind 1205087, connect 1163050, delroute 0 10.01 real 5.27 user 52.67 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 130363, close 22368, bind 51749, connect 59159, delroute 0 10.42 real 0.28 user 14.57 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1817133, close 136599, bind 583956, connect 555227, delroute 0 10.01 real 5.59 user 53.23 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 3413999, close 8769, bind 163556, connect 0, delroute 0 10.00 real 6.99 user 53.11 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3265680, close 4544, bind 0, connect 174037, delroute 0 10.00 real 6.72 user 53.18 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3353958, close 7151, bind 99965, connect 73844, delroute 0 10.00 real 7.20 user 52.56 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3368268, close 3041, bind 47838, connect 37373, delroute 0 10.12 real 7.04 user 52.81 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3347813, close 9009, bind 58960, connect 47662, delroute 0 10.00 real 6.67 user 53.34 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