START sys/netinet/bindconnect 2024-11-05T02:43:06Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=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 564130, close 438560, bind 2335008, connect 2046693, delroute 0 10.00 real 2.58 user 27.68 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3939378, close 9163, bind 258577, connect 0, delroute 0 10.01 real 7.81 user 52.17 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3920413, close 1916, bind 0, connect 116002, delroute 0 10.01 real 7.81 user 52.15 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3971465, close 3400, bind 77850, connect 54067, delroute 0 10.01 real 7.88 user 52.23 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 783359, close 1150, bind 37732, connect 32485, delroute 0 10.17 real 1.60 user 29.59 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3942871, close 2220, bind 41904, connect 30691, delroute 0 10.00 real 7.88 user 52.20 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 2026995, close 815300, bind 6271058, connect 0, delroute 0 10.00 real 4.11 user 55.07 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2091561, close 104460, bind 0, connect 2908062, delroute 0 10.01 real 5.55 user 52.50 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2009849, close 136170, bind 1536501, connect 1534422, delroute 0 10.01 real 5.81 user 52.45 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 126397, close 18686, bind 58621, connect 56516, delroute 0 10.43 real 0.32 user 13.54 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2043698, close 166069, bind 1179375, connect 1005046, delroute 0 10.02 real 6.28 user 52.21 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 4123719, close 7310, bind 182042, connect 0, delroute 0 10.00 real 8.23 user 51.68 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3870421, close 2523, bind 0, connect 181974, delroute 0 10.01 real 8.10 user 51.65 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4009842, close 2972, bind 75134, connect 56686, delroute 0 10.01 real 8.12 user 51.90 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3914011, close 3115, bind 58362, connect 50524, delroute 0 10.16 real 8.16 user 51.88 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3984090, close 2806, bind 61824, connect 47288, delroute 0 10.01 real 8.24 user 51.56 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 3956018, close 4468, bind 152930, connect 0, delroute 0 10.00 real 7.83 user 52.20 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3779889, close 1182, bind 0, connect 112177, delroute 0 10.01 real 7.31 user 52.57 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3906661, close 2523, bind 67379, connect 49714, delroute 0 10.01 real 8.02 user 51.76 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1369080, close 1103, bind 39068, connect 30534, delroute 0 10.17 real 3.09 user 34.86 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3952663, close 2554, bind 53498, connect 39090, delroute 0 10.08 real 7.73 user 52.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 1966484, close 837341, bind 6629103, connect 0, delroute 0 10.00 real 4.33 user 54.70 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2023409, close 89124, bind 0, connect 2455734, delroute 0 10.01 real 5.88 user 52.53 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1920432, close 133790, bind 2040976, connect 1767407, delroute 0 10.01 real 5.38 user 52.84 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 130910, close 24820, bind 70819, connect 74598, delroute 0 10.47 real 0.26 user 13.53 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1964999, close 163423, bind 939172, connect 831796, delroute 0 10.00 real 6.98 user 51.35 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 3292927, close 6589, bind 163333, connect 0, delroute 0 10.00 real 7.54 user 52.40 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3153220, close 2247, bind 0, connect 180034, delroute 0 10.01 real 7.09 user 52.78 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3226166, close 2815, bind 76073, connect 56890, delroute 0 10.01 real 7.40 user 52.67 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3167066, close 2127, bind 51956, connect 42825, delroute 0 10.17 real 7.94 user 52.23 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3175561, close 3719, bind 86312, connect 65003, delroute 0 10.00 real 7.41 user 52.54 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