START sys/netinet/bindconnect 2024-12-18T19:29:18Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 7030 -> 110000 ==== run-default ==== cc -O2 -pipe -g -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 492611, close 368132, bind 1899870, connect 1504949, delroute 0 10.01 real 2.32 user 28.64 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1202822, close 614028, bind 13289210, connect 0, delroute 0 10.00 real 8.54 user 78.80 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 15997, close 9730, bind 0, connect 4065801, delroute 0 10.00 real 2.62 user 77.35 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 126423, close 71546, bind 4326825, connect 2327787, delroute 0 10.00 real 4.32 user 75.86 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63800, close 54541, bind 801215, connect 532008, delroute 0 10.10 real 0.74 user 45.13 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 110628, close 96126, bind 4401970, connect 2403035, delroute 0 10.00 real 4.44 user 74.84 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 1173576, close 837194, bind 4384293, connect 0, delroute 0 10.01 real 3.10 user 76.27 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 461423, close 686419, bind 0, connect 2866146, delroute 0 10.00 real 2.03 user 71.47 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 506435, close 705728, bind 1419129, connect 1523187, delroute 0 10.00 real 2.40 user 71.41 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 101609, close 150444, bind 476808, connect 512204, delroute 0 10.42 real 0.80 user 23.08 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 405835, close 2149369, bind 3492025, connect 3671466, delroute 0 10.00 real 5.91 user 70.20 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 759023, close 398617, bind 13302930, connect 0, delroute 0 10.01 real 8.56 user 78.13 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 10130, close 5619, bind 0, connect 3940275, delroute 0 10.00 real 2.80 user 79.96 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 77883, close 41400, bind 4265833, connect 2182168, delroute 0 10.00 real 4.04 user 75.70 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 169999, close 84262, bind 4991749, connect 2532771, delroute 0 10.18 real 4.62 user 74.39 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 60576, close 45092, bind 4266426, connect 2167747, delroute 0 10.01 real 4.17 user 74.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 1198768, close 608857, bind 13234951, connect 0, delroute 0 10.01 real 8.67 user 78.05 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5073, close 3352, bind 0, connect 2768249, delroute 0 10.00 real 1.86 user 76.40 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 48020, close 28289, bind 3369992, connect 1538126, delroute 0 10.00 real 2.95 user 73.09 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63656, close 63111, bind 1420093, connect 807783, delroute 0 10.09 real 1.32 user 48.63 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 42918, close 51536, bind 3484221, connect 1653513, delroute 0 10.00 real 3.11 user 73.19 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 1129670, close 841021, bind 4287510, connect 0, delroute 0 10.01 real 2.91 user 76.60 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 367972, close 484821, bind 0, connect 2367147, delroute 0 10.00 real 1.83 user 66.70 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 406828, close 497469, bind 1127391, connect 1288047, delroute 0 10.00 real 1.96 user 67.42 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97862, close 151581, bind 521597, connect 576846, delroute 0 10.49 real 0.79 user 24.76 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 323715, close 2150577, bind 3137823, connect 3479102, delroute 0 10.00 real 5.66 user 66.46 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 909393, close 472203, bind 13116135, connect 0, delroute 0 10.01 real 8.53 user 78.39 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 9146, close 5298, bind 0, connect 3938487, delroute 0 10.00 real 2.32 user 79.74 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 75159, close 42556, bind 4165224, connect 2002698, delroute 0 10.00 real 3.50 user 73.77 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 167569, close 92282, bind 5018851, connect 2472057, delroute 0 10.19 real 4.42 user 72.98 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 62910, close 51029, bind 4231271, connect 2056420, delroute 0 10.00 real 3.73 user 73.61 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