START sys/netinet/bindconnect 2024-10-25T18:31:25Z ==== 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 470036, close 352787, bind 1889611, connect 1498500, delroute 0 10.00 real 1.76 user 28.42 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1183217, close 609957, bind 14608652, connect 0, delroute 0 10.00 real 8.49 user 78.13 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17996, close 11355, bind 0, connect 3999747, delroute 0 10.00 real 2.66 user 76.13 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 121412, close 70141, bind 4526308, connect 2426149, delroute 0 10.00 real 3.88 user 75.18 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 64062, close 56530, bind 898134, connect 569575, delroute 0 10.09 real 0.80 user 45.85 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 108652, close 96459, bind 4634954, connect 2524466, delroute 0 10.00 real 4.07 user 74.66 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 1185438, close 901319, bind 4671037, connect 0, delroute 0 10.00 real 2.79 user 75.32 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 467316, close 753796, bind 0, connect 3094137, delroute 0 10.00 real 2.27 user 69.73 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 508645, close 770910, bind 1519746, connect 1626404, delroute 0 10.00 real 2.31 user 70.27 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 101988, close 153609, bind 489574, connect 524221, delroute 0 10.42 real 0.61 user 22.79 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 407151, close 2349429, bind 3847702, connect 3897018, delroute 0 10.01 real 6.25 user 69.66 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 761250, close 398408, bind 14147521, connect 0, delroute 0 10.01 real 8.03 user 77.75 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18190, close 9962, bind 0, connect 4261972, delroute 0 10.00 real 2.90 user 77.18 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 85424, close 46323, bind 4459496, connect 2310875, delroute 0 10.00 real 3.68 user 72.90 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 184268, close 90728, bind 5231833, connect 2702408, delroute 0 10.21 real 4.83 user 72.94 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 74889, close 56892, bind 4515381, connect 2362346, delroute 0 10.01 real 3.92 user 74.70 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 1184926, close 618646, bind 14445910, connect 0, delroute 0 10.01 real 8.59 user 77.98 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6022, close 3910, bind 0, connect 2754022, delroute 0 10.00 real 1.73 user 74.62 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 47947, close 28993, bind 3410297, connect 1561999, delroute 0 10.00 real 2.57 user 71.55 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63658, close 63864, bind 1612720, connect 890006, delroute 0 10.10 real 1.47 user 48.39 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 42203, close 51699, bind 3527138, connect 1669013, delroute 0 10.00 real 2.75 user 71.01 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 1149872, close 888986, bind 4522047, connect 0, delroute 0 10.01 real 3.14 user 75.89 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 369744, close 501180, bind 0, connect 2490583, delroute 0 10.00 real 1.64 user 64.87 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 409690, close 538015, bind 1203903, connect 1390767, delroute 0 10.00 real 2.12 user 66.43 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98905, close 162566, bind 541877, connect 597549, delroute 0 10.50 real 0.84 user 24.42 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 325911, close 2421190, bind 3536360, connect 3757912, delroute 0 10.01 real 5.74 user 65.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 965293, close 517257, bind 14103411, connect 0, delroute 0 10.01 real 8.33 user 78.85 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17768, close 10248, bind 0, connect 4273805, delroute 0 10.00 real 2.24 user 77.85 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 92038, close 52378, bind 4414400, connect 2190052, delroute 0 10.00 real 3.79 user 73.16 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 181773, close 98476, bind 5224771, connect 2645362, delroute 0 10.20 real 4.25 user 73.63 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 76530, close 63121, bind 4473231, connect 2237633, delroute 0 10.01 real 3.59 user 73.25 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