START sys/netinet/bindconnect 2024-12-28T19:27:02Z ==== 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 478505, close 360695, bind 1984174, connect 1530099, delroute 0 10.00 real 2.09 user 28.51 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1223782, close 629015, bind 14591217, connect 0, delroute 0 10.00 real 8.71 user 77.81 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17577, close 10828, bind 0, connect 4083524, delroute 0 10.00 real 2.53 user 77.27 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 123222, close 70371, bind 4555700, connect 2437500, delroute 0 10.00 real 3.88 user 74.24 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63794, close 56286, bind 908963, connect 572683, delroute 0 10.10 real 0.78 user 45.44 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 111827, close 100696, bind 4668058, connect 2545316, delroute 0 10.01 real 4.36 user 75.10 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 1041897, close 787356, bind 11818856, connect 0, delroute 0 10.00 real 7.04 user 79.16 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 474701, close 324366, bind 0, connect 5606731, delroute 0 10.00 real 4.46 user 69.86 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 437414, close 354550, bind 3442418, connect 3492755, delroute 0 10.00 real 4.60 user 72.60 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 79910, close 116181, bind 1040453, connect 911232, delroute 0 10.43 real 1.24 user 37.37 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 354191, close 981847, bind 4811898, connect 4675798, delroute 0 10.00 real 6.53 user 70.85 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 795452, close 417363, bind 14284720, connect 0, delroute 0 10.01 real 8.09 user 78.31 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17785, close 9730, bind 0, connect 4308286, delroute 0 10.00 real 2.64 user 77.49 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 85280, close 45994, bind 4496292, connect 2299915, delroute 0 10.00 real 3.36 user 74.79 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 183815, close 92435, bind 5288309, connect 2735474, delroute 0 10.18 real 4.73 user 72.61 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 74242, close 58095, bind 4525784, connect 2361378, delroute 0 10.00 real 3.97 user 73.76 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 1233894, close 630852, bind 14366829, connect 0, delroute 0 10.01 real 8.86 user 78.36 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5589, close 3578, bind 0, connect 2779937, delroute 0 10.00 real 1.86 user 75.17 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 48050, close 28771, bind 3428453, connect 1550917, delroute 0 10.00 real 2.70 user 71.99 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63853, close 65613, bind 1642414, connect 894266, delroute 0 10.09 real 1.55 user 48.54 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 45181, close 63153, bind 3630205, connect 1717520, delroute 0 10.00 real 2.96 user 72.55 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 1010910, close 783003, bind 11491746, connect 0, delroute 0 10.00 real 7.21 user 78.98 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 394555, close 280617, bind 0, connect 5052009, delroute 0 10.00 real 3.76 user 66.86 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 364642, close 300824, bind 3003519, connect 3184259, delroute 0 10.00 real 3.91 user 69.01 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 80829, close 125979, bind 1178119, connect 1042767, delroute 0 10.47 real 1.47 user 36.59 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 296118, close 1128108, bind 4587885, connect 4564841, delroute 0 10.00 real 6.19 user 67.37 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 943197, close 493380, bind 14162467, connect 0, delroute 0 10.00 real 9.28 user 77.16 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 15982, close 9410, bind 0, connect 4278054, delroute 0 10.00 real 2.67 user 77.22 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 88152, close 50102, bind 4345006, connect 2146987, delroute 0 10.00 real 3.64 user 72.32 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 180085, close 98369, bind 5310820, connect 2673447, delroute 0 10.19 real 4.72 user 73.38 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 77717, close 65043, bind 4509423, connect 2274675, delroute 0 10.01 real 3.50 user 73.41 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