START sys/netinet/bindconnect 2024-05-16T01:28:59Z ==== 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 878637, close 938228, bind 2818287, connect 2309894, delroute 0 10.01 real 3.11 user 30.76 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3651805, close 27692, bind 3482886, connect 0, delroute 0 10.04 real 7.24 user 52.96 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4042294, close 2175, bind 0, connect 139976, delroute 0 10.00 real 6.85 user 53.02 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4140266, close 4344, bind 62695, connect 52110, delroute 0 10.00 real 7.22 user 52.55 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2052117, close 1981, bind 41662, connect 32653, delroute 0 10.13 real 4.07 user 38.37 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4136712, close 5339, bind 41976, connect 46136, delroute 0 10.01 real 7.25 user 52.63 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 1976464, close 979878, bind 6876236, connect 0, delroute 0 10.00 real 3.95 user 55.02 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2132273, close 90782, bind 0, connect 3229377, delroute 0 10.00 real 4.85 user 53.08 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2046443, close 118438, bind 1868471, connect 1833094, delroute 0 10.00 real 4.44 user 53.67 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 125946, close 23327, bind 59114, connect 64919, delroute 0 10.43 real 0.36 user 13.38 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2064148, close 145551, bind 1735232, connect 1708163, delroute 0 10.01 real 4.78 user 53.60 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 3392167, close 29602, bind 5036134, connect 0, delroute 0 10.00 real 7.74 user 52.41 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4104650, close 4336, bind 0, connect 250103, delroute 0 10.00 real 7.14 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 4187159, close 5460, bind 72027, connect 68955, delroute 0 10.00 real 7.40 user 52.50 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4093653, close 14194, bind 168314, connect 166149, delroute 0 10.14 real 7.04 user 53.01 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4179614, close 9352, bind 76626, connect 74955, delroute 0 10.00 real 7.22 user 52.68 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 3160522, close 13899, bind 6476043, connect 0, delroute 0 10.00 real 6.57 user 53.46 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4016642, close 1339, bind 0, connect 134323, delroute 0 10.00 real 7.22 user 52.68 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4091325, close 3308, bind 64568, connect 58313, delroute 0 10.00 real 6.58 user 53.28 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1432886, close 1504, bind 40730, connect 32586, delroute 0 10.15 real 2.49 user 34.33 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4076694, close 4800, bind 48298, connect 43028, delroute 0 10.00 real 7.08 user 52.95 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 1997098, close 909649, bind 6003742, connect 0, delroute 0 10.00 real 3.83 user 55.01 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2068462, close 87132, bind 0, connect 3161622, delroute 0 10.00 real 4.94 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 2005577, close 107408, bind 1656826, connect 1677915, delroute 0 10.00 real 4.77 user 53.30 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 119890, close 23723, bind 61309, connect 73762, delroute 0 10.45 real 0.25 user 13.59 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2035191, close 136770, bind 1236053, connect 1197589, delroute 0 10.00 real 5.49 user 52.65 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 2986857, close 94434, bind 3982404, connect 0, delroute 0 10.01 real 6.87 user 53.10 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3379928, close 3737, bind 0, connect 230443, delroute 0 10.00 real 7.05 user 52.76 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3481165, close 4880, bind 67494, connect 66215, delroute 0 10.00 real 6.45 user 53.35 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3422471, close 7323, bind 77782, connect 85216, delroute 0 10.14 real 6.74 user 52.99 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3445753, close 9708, bind 68931, connect 70315, delroute 0 10.00 real 7.02 user 52.83 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