START sys/netinet/bindconnect 2024-12-05T19:30:50Z ==== 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 481878, close 357708, bind 1955603, connect 1544836, delroute 0 10.00 real 2.12 user 27.80 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1254815, close 641858, bind 14224013, connect 0, delroute 0 10.00 real 9.32 user 78.11 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18846, close 11791, bind 0, connect 4079046, delroute 0 10.00 real 2.52 user 76.57 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 130499, close 74327, bind 4529366, connect 2450975, delroute 0 10.00 real 3.81 user 74.98 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 64163, close 56387, bind 880021, connect 560682, delroute 0 10.09 real 0.81 user 45.09 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 114407, close 101726, bind 4632402, connect 2541435, delroute 0 10.00 real 3.93 user 74.06 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 1217318, close 901651, bind 4752077, connect 0, delroute 0 10.01 real 3.21 user 74.90 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 476600, close 759884, bind 0, connect 3094081, delroute 0 10.00 real 2.10 user 69.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 521578, close 781830, bind 1552307, connect 1664356, delroute 0 10.00 real 2.41 user 70.14 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 102300, close 154643, bind 498753, connect 543851, delroute 0 10.46 real 0.74 user 22.80 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 420665, close 2430779, bind 3994281, connect 4063818, delroute 0 10.00 real 6.23 user 68.54 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 797602, close 416586, bind 14617155, connect 0, delroute 0 10.01 real 9.06 user 77.55 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18940, close 10644, bind 0, connect 4347185, delroute 0 10.00 real 2.91 user 77.17 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 89090, close 48361, bind 4521346, connect 2321185, delroute 0 10.00 real 3.86 user 73.18 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 187275, close 91675, bind 5313182, connect 2748193, delroute 0 10.18 real 4.33 user 74.23 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 76517, close 58355, bind 4540073, connect 2370930, delroute 0 10.00 real 4.26 user 73.41 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 1246060, close 641316, bind 14186140, connect 0, delroute 0 10.01 real 9.19 user 77.39 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6344, close 4154, bind 0, connect 2794918, delroute 0 10.00 real 1.78 user 73.97 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 50906, close 30401, bind 3430200, connect 1576443, delroute 0 10.00 real 2.48 user 72.18 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63773, close 63589, bind 1466734, connect 816586, delroute 0 10.11 real 1.49 user 48.72 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 46446, close 58808, bind 3577214, connect 1707171, delroute 0 10.01 real 2.83 user 71.87 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 1171927, close 896211, bind 4541667, connect 0, delroute 0 10.01 real 2.91 user 75.23 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 375140, close 505884, bind 0, connect 2516052, delroute 0 10.00 real 2.19 user 64.66 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 406492, close 568694, bind 1233059, connect 1424970, delroute 0 10.00 real 1.74 user 63.87 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 99084, close 162515, bind 544091, connect 611851, delroute 0 10.48 real 0.78 user 24.10 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 329695, close 2457560, bind 3592138, connect 3858591, delroute 0 10.00 real 6.02 user 64.62 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 930772, close 492975, bind 14114293, connect 0, delroute 0 10.01 real 8.91 user 78.20 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17984, close 10474, bind 0, connect 4348893, delroute 0 10.00 real 2.66 user 77.63 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 91925, close 51441, bind 4348488, connect 2173874, delroute 0 10.00 real 3.89 user 73.32 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 183762, close 101004, bind 5241940, connect 2670646, delroute 0 10.20 real 4.76 user 72.42 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 79918, close 65752, bind 4479593, connect 2283374, delroute 0 10.01 real 3.85 user 72.85 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