START sys/netinet/bindconnect 2024-12-18T02:38:39Z ==== 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 1107222, close 999930, bind 2687466, connect 2472314, delroute 0 10.01 real 3.61 user 25.90 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 6141732, close 2985, bind 58517, connect 0, delroute 0 10.00 real 12.49 user 47.51 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6134043, close 2034, bind 0, connect 57101, delroute 0 10.00 real 13.26 user 46.85 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 6195129, close 2660, bind 31770, connect 22106, delroute 0 10.00 real 12.86 user 46.97 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3539212, close 2470, bind 37737, connect 33181, delroute 0 10.16 real 8.36 user 40.06 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 6119938, close 2380, bind 27234, connect 21065, delroute 0 10.00 real 12.42 user 47.62 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 3226401, close 732492, bind 8705008, connect 0, delroute 0 10.00 real 6.82 user 52.33 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3493199, close 48176, bind 0, connect 3534282, delroute 0 10.00 real 10.55 user 48.22 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3346116, close 68558, bind 1958454, connect 1660765, delroute 0 10.00 real 9.45 user 49.06 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 154397, close 14477, bind 39949, connect 41483, delroute 0 10.32 real 0.26 user 12.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 3298508, close 98347, bind 1508486, connect 1166431, delroute 0 10.00 real 9.73 user 48.61 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 6241896, close 935, bind 14637, connect 0, delroute 0 10.00 real 13.54 user 46.61 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6098830, close 2336, bind 0, connect 61611, delroute 0 10.00 real 12.78 user 47.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 6103401, close 3119, bind 34764, connect 27162, delroute 0 10.00 real 12.36 user 47.57 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 5710569, close 2350, bind 20996, connect 19182, delroute 0 10.10 real 12.77 user 47.21 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 6020485, close 3691, bind 33026, connect 26023, delroute 0 10.00 real 13.23 user 46.80 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 6031854, close 838, bind 16606, connect 0, delroute 0 10.00 real 13.13 user 46.92 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5889402, close 2792, bind 0, connect 85829, delroute 0 10.00 real 12.72 user 47.09 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 5971604, close 1991, bind 29555, connect 21973, delroute 0 10.00 real 13.17 user 46.79 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2128591, close 1329, bind 39110, connect 30434, delroute 0 10.15 real 5.04 user 34.02 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 5787028, close 3736, bind 40737, connect 29504, delroute 0 10.00 real 12.57 user 47.39 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 3167434, close 729253, bind 8344196, connect 0, delroute 0 10.00 real 6.18 user 53.04 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3353147, close 46486, bind 0, connect 3142463, delroute 0 10.00 real 10.20 user 48.48 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3241047, close 84003, bind 1696466, connect 1455918, delroute 0 10.00 real 9.86 user 48.89 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 130341, close 16380, bind 51369, connect 56024, delroute 0 10.35 real 0.28 user 12.60 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3245182, close 108227, bind 1236185, connect 977416, delroute 0 10.00 real 10.46 user 48.05 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 5029182, close 1346, bind 16220, connect 0, delroute 0 10.00 real 12.35 user 47.73 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5028538, close 2556, bind 0, connect 68661, delroute 0 10.00 real 12.11 user 47.90 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 5033634, close 3684, bind 43734, connect 32648, delroute 0 10.00 real 13.25 user 46.73 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4724170, close 1851, bind 17221, connect 13528, delroute 0 10.10 real 13.12 user 46.93 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4969039, close 4094, bind 37017, connect 28389, delroute 0 10.00 real 12.66 user 47.12 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