START sys/netinet/bindconnect 2024-10-06T02:57:08Z ==== 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 573321, close 461298, bind 2375926, connect 2041500, delroute 0 10.01 real 2.67 user 27.74 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3896646, close 9207, bind 266503, connect 0, delroute 0 10.00 real 8.03 user 51.97 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3856194, close 1999, bind 0, connect 138465, delroute 0 10.00 real 7.36 user 52.51 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3953625, close 2650, bind 52383, connect 38275, delroute 0 10.00 real 7.43 user 52.43 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1467775, close 1054, bind 40787, connect 30692, delroute 0 10.18 real 2.87 user 36.34 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3867936, close 4148, bind 65878, connect 48978, delroute 0 10.00 real 7.97 user 51.91 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 2005422, close 676653, bind 5488367, connect 0, delroute 0 10.00 real 3.99 user 55.04 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1977528, close 110086, bind 0, connect 2323310, delroute 0 10.00 real 5.94 user 52.26 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1920622, close 146694, bind 1301643, connect 1296983, delroute 0 10.00 real 5.36 user 52.55 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 124608, close 20085, bind 52308, connect 57223, delroute 0 10.42 real 0.21 user 13.54 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1912711, close 158233, bind 965112, connect 854318, delroute 0 10.00 real 5.43 user 52.94 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 3952064, close 7107, bind 200891, connect 0, delroute 0 10.00 real 7.64 user 52.48 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3742028, close 3066, bind 0, connect 229436, delroute 0 10.00 real 7.02 user 52.60 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3852603, close 4387, bind 102964, connect 76666, delroute 0 10.00 real 7.33 user 52.21 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3799010, close 3796, bind 73850, connect 61098, delroute 0 10.15 real 7.44 user 52.31 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3832152, close 6578, bind 109628, connect 82456, delroute 0 10.00 real 6.94 user 52.94 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 3912382, close 6486, bind 186347, connect 0, delroute 0 10.00 real 7.04 user 53.02 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3633712, close 1276, bind 0, connect 137966, delroute 0 10.00 real 6.96 user 52.70 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3921105, close 2905, bind 74975, connect 52989, delroute 0 10.00 real 7.28 user 52.68 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1338290, close 1382, bind 42398, connect 33344, delroute 0 10.20 real 2.56 user 35.70 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3814675, close 6399, bind 69621, connect 53151, delroute 0 10.00 real 7.33 user 52.50 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 2018926, close 643997, bind 4884382, connect 0, delroute 0 10.00 real 4.03 user 54.91 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1941662, close 108616, bind 0, connect 2445785, delroute 0 10.00 real 5.38 user 52.59 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1856562, close 149482, bind 1272607, connect 1256202, delroute 0 10.00 real 5.15 user 52.73 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 121118, close 23391, bind 69650, connect 75274, delroute 0 10.50 real 0.28 user 13.31 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1882333, close 156692, bind 726410, connect 701560, delroute 0 10.01 real 5.75 user 52.90 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 3181329, close 8573, bind 253616, connect 0, delroute 0 10.00 real 7.28 user 52.65 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2960230, close 2925, bind 0, connect 263051, delroute 0 10.00 real 6.69 user 53.11 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3119830, close 5169, bind 128964, connect 95327, delroute 0 10.01 real 7.15 user 52.55 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3076938, close 3527, bind 78240, connect 62051, delroute 0 10.16 real 7.03 user 52.61 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3071726, close 8869, bind 123596, connect 96079, delroute 0 10.00 real 7.29 user 52.46 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