START sys/netinet/bindconnect 2024-05-26T01:57:39Z ==== 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 895945, close 957279, bind 2811257, connect 2313930, delroute 0 10.01 real 3.40 user 30.11 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3349033, close 22019, bind 5086381, connect 0, delroute 0 10.00 real 7.31 user 52.63 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4057524, close 2231, bind 0, connect 139825, delroute 0 10.00 real 7.51 user 52.32 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4108283, close 4885, bind 70840, connect 57319, delroute 0 10.03 real 7.26 user 52.77 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1217771, close 2320, bind 44381, connect 39201, delroute 0 10.15 real 2.13 user 33.08 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4074205, close 4963, bind 34134, connect 40581, delroute 0 10.00 real 7.29 user 52.83 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 2010977, close 610354, bind 5547181, connect 0, delroute 0 10.00 real 3.88 user 55.14 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2117167, close 108907, bind 0, connect 2186996, delroute 0 10.00 real 5.22 user 52.60 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2047888, close 132053, bind 1762535, connect 1716744, delroute 0 10.00 real 4.80 user 53.23 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 128516, close 23927, bind 57200, connect 73210, delroute 0 10.41 real 0.22 user 14.21 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2054190, close 175790, bind 1423731, connect 1380535, delroute 0 10.01 real 5.30 user 52.72 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 2688088, close 136009, bind 8972997, connect 0, delroute 0 10.01 real 7.46 user 52.66 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4037167, close 3251, bind 0, connect 196702, delroute 0 10.01 real 7.25 user 52.83 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4091811, close 5752, bind 74148, connect 72327, delroute 0 10.00 real 7.51 user 52.41 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4026278, close 9578, bind 126853, connect 133841, delroute 0 10.14 real 7.18 user 52.49 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4074201, close 9182, bind 81658, connect 80929, delroute 0 10.01 real 7.24 user 52.66 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 3606451, close 8293, bind 3142429, connect 0, delroute 0 10.00 real 8.02 user 52.01 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3929800, close 1400, bind 0, connect 148818, delroute 0 10.02 real 7.08 user 53.08 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4048103, close 2017, bind 42331, connect 38981, delroute 0 10.00 real 7.39 user 52.52 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1184494, close 2794, bind 46353, connect 36609, delroute 0 10.15 real 2.05 user 33.92 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4021665, close 5038, bind 50429, connect 47222, delroute 0 10.00 real 7.23 user 52.68 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 1963118, close 708874, bind 6022758, connect 0, delroute 0 10.00 real 3.88 user 55.09 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2039915, close 108616, bind 0, connect 2345811, delroute 0 10.00 real 4.94 user 52.84 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1995289, close 120106, bind 1694859, connect 1679803, delroute 0 10.01 real 5.22 user 52.88 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 128062, close 20513, bind 51006, connect 63735, delroute 0 10.44 real 0.33 user 13.71 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2015949, close 155719, bind 1016973, connect 1000383, delroute 0 10.00 real 5.73 user 52.50 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 2700380, close 109457, bind 5384329, connect 0, delroute 0 10.00 real 6.98 user 53.02 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3364090, close 3334, bind 0, connect 194001, delroute 0 10.00 real 7.02 user 52.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 3400578, close 6317, bind 81963, connect 76600, delroute 0 10.00 real 7.36 user 52.46 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3335121, close 8556, bind 83580, connect 85517, delroute 0 10.14 real 7.24 user 52.70 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3371601, close 6573, bind 58484, connect 58466, delroute 0 10.01 real 7.30 user 52.81 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