START sys/netinet/bindconnect 2025-03-05T19:29: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 781327, close 623516, bind 949707, connect 1883990, delroute 0 10.00 real 1.97 user 20.16 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1910153, close 1105748, bind 6370744, connect 0, delroute 0 10.00 real 4.73 user 68.57 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 259226, close 340877, bind 0, connect 2535319, delroute 0 10.00 real 1.61 user 22.68 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 352455, close 377763, bind 644843, connect 2060647, delroute 0 10.00 real 1.83 user 25.03 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 102735, close 94508, bind 320979, connect 296592, delroute 0 10.18 real 0.41 user 44.17 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 708819, close 2687984, bind 3900608, connect 3762308, delroute 0 10.00 real 6.86 user 54.93 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 841195, close 1130416, bind 3942594, connect 0, delroute 0 10.01 real 3.07 user 58.96 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 534297, close 1387719, bind 0, connect 3466206, delroute 0 10.00 real 2.77 user 42.46 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 557635, close 1443424, bind 1867775, connect 1723662, delroute 0 10.00 real 3.09 user 43.35 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 132332, close 198267, bind 542900, connect 539235, delroute 0 10.26 real 0.79 user 43.26 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 457072, close 3638880, bind 4255512, connect 4316397, delroute 0 10.01 real 7.36 user 51.55 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 2298730, close 1188851, bind 8397066, connect 0, delroute 0 10.01 real 6.18 user 74.70 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 775749, close 754576, bind 0, connect 2461991, delroute 0 10.00 real 2.00 user 46.75 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 998862, close 866828, bind 1787574, connect 1564784, delroute 0 10.00 real 2.71 user 53.53 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 824499, close 483780, bind 1585433, connect 1720031, delroute 0 10.27 real 2.68 user 49.44 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 869098, close 1740306, bind 3220380, connect 2759038, delroute 0 10.00 real 5.02 user 60.25 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 1935283, close 1030730, bind 5889924, connect 0, delroute 0 10.01 real 4.03 user 63.59 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 127406, close 139328, bind 0, connect 1399119, delroute 0 10.00 real 0.99 user 16.59 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 133757, close 133529, bind 223174, connect 1265357, delroute 0 10.00 real 0.65 user 16.29 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 153523, close 192825, bind 492990, connect 447430, delroute 0 10.15 real 0.78 user 44.56 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 552648, close 3390831, bind 4017484, connect 4072511, delroute 0 10.00 real 6.70 user 48.78 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 833907, close 1124507, bind 3880694, connect 0, delroute 0 10.01 real 3.04 user 58.03 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 484802, close 1257604, bind 0, connect 3145292, delroute 0 10.00 real 3.09 user 38.38 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 509940, close 1384233, bind 1771560, connect 1654939, delroute 0 10.00 real 2.74 user 40.78 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 156652, close 249329, bind 623409, connect 622695, delroute 0 10.23 real 0.88 user 40.30 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 429363, close 3778075, bind 4119865, connect 4348947, delroute 0 10.00 real 6.72 user 47.92 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 2122323, close 1236736, bind 8458736, connect 0, delroute 0 10.01 real 6.14 user 76.03 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 669666, close 791762, bind 0, connect 2536659, delroute 0 10.00 real 2.57 user 43.75 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 865838, close 886673, bind 1818888, connect 1572431, delroute 0 10.00 real 2.56 user 50.98 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 589467, close 381552, bind 1277877, connect 1834255, delroute 0 10.28 real 2.18 user 39.62 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 783853, close 2082074, bind 3626934, connect 3096980, delroute 0 10.01 real 5.81 user 59.03 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