START sys/netinet/bindconnect 2025-03-05T02:54:44Z ==== 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 2134941, close 1704437, bind 3366597, connect 1937756, delroute 0 10.00 real 3.80 user 33.58 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 3671869, close 462129, bind 4728866, connect 0, delroute 0 10.01 real 7.99 user 52.20 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2201656, close 257762, bind 0, connect 3116065, delroute 0 10.01 real 5.22 user 46.35 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3638589, close 134832, bind 1208447, connect 909453, delroute 0 10.01 real 7.54 user 50.53 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 86085, close 2767, bind 83495, connect 61447, delroute 0 10.14 real 0.16 user 16.79 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3967684, close 138827, bind 646103, connect 546799, delroute 0 10.00 real 8.04 user 51.51 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 1309096, close 714081, bind 3057374, connect 0, delroute 0 10.00 real 5.14 user 51.90 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1183660, close 518884, bind 0, connect 2655427, delroute 0 10.01 real 4.63 user 49.07 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1204718, close 604139, bind 1599082, connect 1217082, delroute 0 10.01 real 4.09 user 49.89 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 87021, close 7955, bind 77979, connect 52571, delroute 0 10.24 real 0.19 user 15.36 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1242433, close 882825, bind 1546261, connect 1290895, delroute 0 10.00 real 5.75 user 50.58 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 4377798, close 48570, bind 292101, connect 0, delroute 0 10.00 real 8.02 user 52.17 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4068793, close 75167, bind 0, connect 793979, delroute 0 10.01 real 7.67 user 51.95 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4212221, close 63824, bind 234813, connect 183938, delroute 0 10.01 real 7.55 user 52.42 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4395781, close 28119, bind 187687, connect 150814, delroute 0 10.17 real 8.17 user 51.77 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4221549, close 92292, bind 276019, connect 219708, delroute 0 10.00 real 7.54 user 52.27 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 4321219, close 42654, bind 269584, connect 0, delroute 0 10.00 real 8.27 user 51.56 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1673416, close 250880, bind 0, connect 2754711, delroute 0 10.01 real 3.85 user 40.78 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3991729, close 69757, bind 481833, connect 358346, delroute 0 10.01 real 7.43 user 50.90 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 82495, close 6248, bind 123578, connect 78617, delroute 0 10.14 real 0.17 user 19.32 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3860501, close 115921, bind 583527, connect 447357, delroute 0 10.01 real 7.48 user 51.09 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 1333382, close 701880, bind 3055797, connect 0, delroute 0 10.00 real 5.56 user 51.46 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1120991, close 514576, bind 0, connect 2895638, delroute 0 10.01 real 4.22 user 48.85 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1115326, close 607225, bind 1761936, connect 1283920, delroute 0 10.01 real 4.12 user 48.45 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 108728, close 10746, bind 72064, connect 40864, delroute 0 10.39 real 0.30 user 13.85 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1168312, close 962275, bind 1728147, connect 1415488, delroute 0 10.00 real 5.83 user 50.87 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 3804876, close 29197, bind 169745, connect 0, delroute 0 10.00 real 7.90 user 51.88 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3447944, close 82230, bind 0, connect 947538, delroute 0 10.01 real 7.17 user 52.01 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3704568, close 54891, bind 208518, connect 162731, delroute 0 10.01 real 7.39 user 52.50 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3601447, close 14881, bind 171150, connect 119473, delroute 0 10.17 real 8.06 user 52.01 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3612972, close 106481, bind 349345, connect 286516, delroute 0 10.05 real 7.61 user 52.60 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