START sys/netinet/bindconnect 2024-11-25T03:02:10Z ==== 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 571221, close 473129, bind 2324692, connect 2029294, delroute 0 10.01 real 2.39 user 28.06 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3868001, close 4129, bind 110803, connect 0, delroute 0 10.01 real 7.55 user 52.62 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3854406, close 1606, bind 0, connect 83385, delroute 0 10.00 real 7.62 user 52.37 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3915529, close 2166, bind 49089, connect 33999, delroute 0 10.00 real 7.95 user 52.01 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1630636, close 1356, bind 38880, connect 33493, delroute 0 10.17 real 3.50 user 36.91 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3838877, close 2838, bind 47781, connect 36634, delroute 0 10.00 real 7.51 user 52.48 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 1984249, close 821665, bind 6093041, connect 0, delroute 0 10.00 real 4.50 user 54.61 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2009701, close 93877, bind 0, connect 2635282, delroute 0 10.00 real 5.67 user 52.53 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1983952, close 102510, bind 1389015, connect 1382779, delroute 0 10.00 real 5.45 user 52.87 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 129657, close 21605, bind 63289, connect 66792, delroute 0 10.44 real 0.30 user 13.27 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1942555, close 116619, bind 930022, connect 850219, delroute 0 10.00 real 6.20 user 52.17 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 4026851, close 3261, bind 84021, connect 0, delroute 0 10.18 real 7.97 user 53.33 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3798774, close 2152, bind 0, connect 135802, delroute 0 10.00 real 7.59 user 52.22 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3913777, close 2386, bind 49559, connect 37597, delroute 0 10.00 real 7.47 user 52.33 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3806435, close 5392, bind 63237, connect 53888, delroute 0 10.14 real 7.46 user 52.16 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3919823, close 3244, bind 62453, connect 47474, delroute 0 10.03 real 7.98 user 52.22 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 3809496, close 2386, bind 71391, connect 0, delroute 0 10.00 real 7.97 user 52.13 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3629385, close 1448, bind 0, connect 103810, delroute 0 10.01 real 7.46 user 52.53 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3823373, close 1385, bind 32929, connect 23157, delroute 0 10.00 real 8.06 user 51.96 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1690016, close 1766, bind 41603, connect 35484, delroute 0 10.21 real 3.79 user 40.38 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3765021, close 2574, bind 44611, connect 32694, delroute 0 10.00 real 7.62 user 52.37 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 1959603, close 620346, bind 4884267, connect 0, delroute 0 10.00 real 4.21 user 54.68 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1984389, close 94930, bind 0, connect 2682249, delroute 0 10.00 real 5.30 user 52.58 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1899908, close 115413, bind 1219672, connect 1176384, delroute 0 10.01 real 5.38 user 52.28 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 119134, close 18423, bind 57179, connect 59465, delroute 0 10.46 real 0.27 user 13.55 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1908865, close 161447, bind 852073, connect 693498, delroute 0 10.00 real 6.49 user 52.16 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 3171468, close 3778, bind 110765, connect 0, delroute 0 10.00 real 7.32 user 52.81 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3155609, close 2102, bind 0, connect 128935, delroute 0 10.00 real 7.54 user 52.35 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3195010, close 2368, bind 55150, connect 41578, delroute 0 10.00 real 7.58 user 52.27 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3083022, close 2931, bind 40386, connect 31422, delroute 0 10.15 real 7.46 user 52.09 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3116831, close 2639, bind 54301, connect 41202, delroute 0 10.00 real 7.58 user 52.37 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