START sys/netinet/bindconnect 2024-02-15T03:08:36Z ==== 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 865968, close 832325, bind 2601299, connect 2123025, delroute 0 10.01 real 2.95 user 31.08 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 4161452, close 16230, bind 2060484, connect 0, delroute 0 10.01 real 7.08 user 53.09 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4524286, close 988, bind 0, connect 58973, delroute 0 10.01 real 7.22 user 53.05 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4609168, close 2770, bind 40397, connect 36060, delroute 0 10.01 real 7.12 user 52.95 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3169309, close 2339, bind 43259, connect 34259, delroute 0 10.18 real 5.24 user 47.28 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4537208, close 4609, bind 33317, connect 39936, delroute 0 10.00 real 6.70 user 53.29 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 1954004, close 935260, bind 7353626, connect 0, delroute 0 10.00 real 4.62 user 54.46 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2171246, close 86930, bind 0, connect 2696865, delroute 0 10.01 real 4.87 user 53.21 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2111608, close 105262, bind 1581039, connect 1511158, delroute 0 10.01 real 5.05 user 53.10 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 133912, close 16136, bind 50878, connect 52013, delroute 0 10.43 real 0.33 user 14.25 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2093491, close 144164, bind 1360276, connect 1271492, delroute 0 10.01 real 5.48 user 52.87 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 4320456, close 25040, bind 1306458, connect 0, delroute 0 10.00 real 7.02 user 53.02 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4526743, close 2379, bind 0, connect 121663, delroute 0 10.00 real 7.29 user 52.75 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4545717, close 4991, bind 65819, connect 66315, delroute 0 10.01 real 7.16 user 52.86 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4355318, close 7726, bind 80729, connect 71244, delroute 0 10.17 real 6.88 user 53.30 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4480458, close 6191, bind 55649, connect 54556, delroute 0 10.01 real 7.20 user 52.90 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 4226681, close 4699, bind 1641853, connect 0, delroute 0 10.00 real 7.23 user 52.84 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4344714, close 844, bind 0, connect 79385, delroute 0 10.01 real 7.23 user 52.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 4460924, close 1793, bind 36514, connect 33965, delroute 0 10.01 real 7.13 user 52.96 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2234746, close 1230, bind 40460, connect 33041, delroute 0 10.18 real 4.10 user 41.28 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4337784, close 3208, bind 39333, connect 35646, delroute 0 10.00 real 7.39 user 52.57 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 2020520, close 608558, bind 4933750, connect 0, delroute 0 10.00 real 4.46 user 54.39 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2105201, close 78839, bind 0, connect 2826745, delroute 0 10.01 real 5.12 user 53.16 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2049971, close 88847, bind 1772433, connect 1658755, delroute 0 10.01 real 4.54 user 53.66 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 123733, close 17558, bind 53861, connect 62139, delroute 0 10.45 real 0.31 user 13.52 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2053871, close 119327, bind 1333535, connect 1238557, delroute 0 10.00 real 5.13 user 53.14 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 3490735, close 39993, bind 893381, connect 0, delroute 0 10.00 real 6.89 user 53.20 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3556005, close 2325, bind 0, connect 95659, delroute 0 10.00 real 7.10 user 53.03 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3581003, close 6894, bind 83865, connect 77721, delroute 0 10.01 real 6.62 user 53.33 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3480214, close 5448, bind 60818, connect 70317, delroute 0 10.17 real 7.17 user 52.80 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3504129, close 4965, bind 55476, connect 54135, delroute 0 10.00 real 6.51 user 53.40 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