START sys/netinet/bindconnect 2024-03-15T03:06:26Z ==== 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 875909, close 832175, bind 2604695, connect 2151497, delroute 0 10.01 real 3.05 user 30.30 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3421708, close 29146, bind 6084496, connect 0, delroute 0 10.01 real 7.30 user 52.78 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4481235, close 1678, bind 0, connect 108725, delroute 0 10.01 real 6.54 user 53.40 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4543164, close 4462, bind 69105, connect 59311, delroute 0 10.01 real 6.87 user 53.15 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2431262, close 2746, bind 44994, connect 35883, delroute 0 10.19 real 3.88 user 42.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 4492444, close 4750, bind 38755, connect 43380, delroute 0 10.01 real 6.26 user 53.80 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 2002901, close 659382, bind 6706412, connect 0, delroute 0 10.00 real 4.40 user 54.74 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2194166, close 95541, bind 0, connect 2797598, delroute 0 10.01 real 4.94 user 53.34 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2083737, close 118992, bind 1920937, connect 1856320, delroute 0 10.01 real 4.62 user 53.58 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 141576, close 13332, bind 37000, connect 43550, delroute 0 10.46 real 0.31 user 14.44 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2112089, close 149736, bind 1579412, connect 1499966, delroute 0 10.01 real 5.03 user 53.45 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 3603516, close 42334, bind 4647560, connect 0, delroute 0 10.00 real 6.49 user 53.63 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4444063, close 2976, bind 0, connect 157028, delroute 0 10.01 real 7.00 user 52.91 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4485715, close 6466, bind 83719, connect 87107, delroute 0 10.01 real 6.53 user 53.57 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4641282, close 9109, bind 116964, connect 117187, delroute 0 10.18 real 6.73 user 53.43 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4465763, close 10799, bind 80674, connect 80056, delroute 0 10.00 real 6.89 user 52.93 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 3277575, close 10905, bind 6856370, connect 0, delroute 0 10.00 real 7.20 user 52.75 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4331727, close 1023, bind 0, connect 90123, delroute 0 10.01 real 7.04 user 53.10 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4472858, close 2519, bind 47562, connect 44616, delroute 0 10.01 real 6.91 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 1829286, close 2050, bind 43461, connect 34784, delroute 0 10.19 real 3.34 user 39.12 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4359104, close 3814, bind 38809, connect 36346, delroute 0 10.00 real 6.86 user 53.16 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 2005034, close 498836, bind 5942861, connect 0, delroute 0 10.00 real 4.38 user 54.71 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2150224, close 83212, bind 0, connect 2967306, delroute 0 10.01 real 4.59 user 53.55 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2040944, close 116628, bind 1960835, connect 1840863, delroute 0 10.01 real 4.54 user 53.60 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 126523, close 20692, bind 66767, connect 67966, delroute 0 10.45 real 0.34 user 14.05 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2106568, close 124330, bind 1257163, connect 1157715, delroute 0 10.00 real 5.43 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 3420671, close 6140, bind 1487057, connect 0, delroute 0 10.10 real 6.26 user 54.49 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3575389, close 2443, bind 0, connect 107805, delroute 0 10.01 real 6.67 user 53.40 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3555837, close 7388, bind 84761, connect 85756, delroute 0 10.01 real 6.71 user 53.43 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3511103, close 5852, bind 66943, connect 64853, delroute 0 10.16 real 6.70 user 53.38 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3491664, close 7495, bind 66769, connect 70922, delroute 0 10.00 real 6.83 user 53.26 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