START sys/netinet/bindconnect 2024-06-05T21:54:02Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 2950 -> 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 99887, close 128080, bind 194138, connect 143891, delroute 0 10.01 real 0.49 user 22.68 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 309926, close 257193, bind 2846202, connect 0, delroute 0 10.01 real 2.10 user 78.52 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5288, close 13096, bind 0, connect 137424, delroute 0 10.01 real 0.25 user 32.44 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 14131, close 17552, bind 215554, connect 90067, delroute 0 10.01 real 0.41 user 37.10 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 55858, close 76240, bind 650869, connect 322733, delroute 0 10.40 real 0.71 user 44.66 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 20997, close 143820, bind 380568, connect 208792, delroute 0 10.02 real 0.57 user 39.19 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 46060, close 35103, bind 510185, connect 0, delroute 0 10.01 real 0.40 user 43.39 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 27812, close 27243, bind 0, connect 268332, delroute 0 10.01 real 0.42 user 31.72 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 27350, close 83480, bind 201718, connect 160897, delroute 0 10.01 real 0.47 user 30.81 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 58558, close 94014, bind 513268, connect 319842, delroute 0 10.72 real 0.83 user 36.95 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 27371, close 208530, bind 323107, connect 259299, delroute 0 10.02 real 0.62 user 34.49 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 287954, close 254682, bind 3030107, connect 0, delroute 0 10.01 real 2.05 user 78.46 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4428, close 4258, bind 0, connect 88200, delroute 0 10.01 real 0.05 user 29.29 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 10484, close 17204, bind 130509, connect 64168, delroute 0 10.01 real 0.25 user 28.98 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 40183, close 57221, bind 610873, connect 297906, delroute 0 10.31 real 0.62 user 37.54 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 11730, close 147974, bind 293011, connect 192106, delroute 0 10.02 real 0.51 user 31.70 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 304028, close 258968, bind 2899194, connect 0, delroute 0 10.01 real 2.25 user 78.13 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5658, close 10914, bind 0, connect 131677, delroute 0 10.01 real 0.20 user 31.61 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 18830, close 25667, bind 226868, connect 91732, delroute 0 10.01 real 0.27 user 37.68 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 56111, close 80354, bind 699553, connect 334222, delroute 0 10.40 real 0.89 user 45.86 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 22634, close 140220, bind 374573, connect 201582, delroute 0 10.02 real 0.51 user 39.20 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 46509, close 36714, bind 521523, connect 0, delroute 0 10.02 real 0.33 user 43.99 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 27474, close 45463, bind 0, connect 234178, delroute 0 10.02 real 0.34 user 30.42 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 27371, close 27635, bind 138556, connect 104439, delroute 0 10.01 real 0.25 user 31.32 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 54837, close 92554, bind 534153, connect 331304, delroute 0 10.65 real 0.83 user 35.27 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 26702, close 131301, bind 251187, connect 205274, delroute 0 10.01 real 0.57 user 32.40 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 265603, close 240063, bind 2793006, connect 0, delroute 0 10.02 real 2.37 user 78.26 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4488, close 11089, bind 0, connect 99261, delroute 0 10.01 real 0.19 user 29.20 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 10469, close 18383, bind 151284, connect 67227, delroute 0 10.01 real 0.27 user 31.50 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 37029, close 64652, bind 625254, connect 315991, delroute 0 10.30 real 0.81 user 36.82 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 15346, close 254345, bind 445966, connect 298019, delroute 0 10.02 real 0.77 user 35.12 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