START sys/netinet/bindconnect 2025-03-06T02:52:57Z ==== 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 2210643, close 1727831, bind 3552153, connect 2026553, delroute 0 10.00 real 3.95 user 33.32 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3832795, close 362020, bind 5015221, connect 0, delroute 0 10.01 real 8.54 user 51.54 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2559824, close 231206, bind 0, connect 2823865, delroute 0 10.01 real 5.55 user 47.36 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3647117, close 142312, bind 1431671, connect 1097340, delroute 0 10.01 real 7.70 user 49.72 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 74653, close 4091, bind 160749, connect 99330, delroute 0 10.11 real 0.17 user 21.23 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4129733, close 146980, bind 705294, connect 599785, delroute 0 10.01 real 7.52 user 51.64 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 1310582, close 980529, bind 4167822, connect 0, delroute 0 10.00 real 4.90 user 50.00 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1232937, close 532165, bind 0, connect 2797818, delroute 0 10.01 real 4.26 user 48.67 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1307766, close 518263, bind 1374565, connect 1065938, delroute 0 10.01 real 4.31 user 49.66 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 132038, close 11240, bind 68732, connect 39530, delroute 0 10.33 real 0.39 user 14.40 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1282933, close 971886, bind 1855348, connect 1530886, delroute 0 10.00 real 5.81 user 49.92 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 4593762, close 23428, bind 139118, connect 0, delroute 0 10.00 real 8.80 user 51.24 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4360794, close 49732, bind 0, connect 574351, delroute 0 10.06 real 8.51 user 51.44 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4507865, close 37348, bind 136936, connect 108502, delroute 0 10.01 real 7.94 user 52.17 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4551249, close 16184, bind 140189, connect 156271, delroute 0 10.15 real 8.69 user 51.45 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4379384, close 90713, bind 276042, connect 225616, delroute 0 10.00 real 7.60 user 52.40 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 4521563, close 16659, bind 108510, connect 0, delroute 0 10.00 real 7.91 user 52.11 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1974547, close 223266, bind 0, connect 2455479, delroute 0 10.01 real 4.66 user 41.27 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4213781, close 49966, bind 335391, connect 252643, delroute 0 10.01 real 8.09 user 50.70 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 87211, close 1597, bind 74523, connect 51789, delroute 0 10.16 real 0.21 user 16.98 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4013660, close 118132, bind 599036, connect 449862, delroute 0 10.00 real 8.26 user 50.14 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 1353193, close 813961, bind 3480630, connect 0, delroute 0 10.00 real 5.65 user 50.58 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1137180, close 539959, bind 0, connect 3016318, delroute 0 10.01 real 4.20 user 48.20 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1273969, close 450296, bind 1262264, connect 989659, delroute 0 10.01 real 4.73 user 49.94 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 91394, close 12225, bind 89959, connect 47903, delroute 0 10.34 real 0.33 user 16.00 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1301023, close 811949, bind 1532819, connect 1222356, delroute 0 10.00 real 6.17 user 50.27 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 3813250, close 14956, bind 86042, connect 0, delroute 0 10.00 real 8.10 user 51.95 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3587195, close 64090, bind 0, connect 812063, delroute 0 10.01 real 7.27 user 51.92 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3754693, close 41363, bind 164999, connect 129509, delroute 0 10.01 real 7.92 user 52.06 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3723190, close 16483, bind 130732, connect 106181, delroute 0 10.16 real 7.70 user 52.17 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3726208, close 70179, bind 251344, connect 200011, delroute 0 10.00 real 7.82 user 52.04 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