START sys/netinet/bindconnect 2024-12-27T19:26:24Z ==== 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 470175, close 352511, bind 1913830, connect 1510164, delroute 0 10.00 real 2.01 user 28.10 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1229495, close 631581, bind 14170590, connect 0, delroute 0 10.00 real 8.99 user 77.46 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17767, close 10879, bind 0, connect 4017422, delroute 0 10.00 real 2.51 user 76.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 125506, close 72435, bind 4515940, connect 2430354, delroute 0 10.00 real 3.97 user 76.02 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63758, close 55192, bind 896874, connect 575140, delroute 0 10.09 real 0.82 user 43.91 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 108265, close 102084, bind 4664943, connect 2549236, delroute 0 10.00 real 4.35 user 75.11 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 1022060, close 801501, bind 12038202, connect 0, delroute 0 10.01 real 7.86 user 78.85 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 470398, close 323839, bind 0, connect 5579077, delroute 0 10.00 real 4.15 user 70.26 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 432773, close 351301, bind 3440930, connect 3489984, delroute 0 10.00 real 5.04 user 71.33 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 81099, close 118910, bind 1045218, connect 924871, delroute 0 10.43 real 1.28 user 37.47 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 352505, close 1009739, bind 4807130, connect 4693710, delroute 0 10.01 real 6.31 user 71.37 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 795511, close 416447, bind 14529447, connect 0, delroute 0 10.01 real 8.58 user 78.02 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18019, close 9747, bind 0, connect 4339464, delroute 0 10.00 real 2.61 user 77.38 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 88813, close 47934, bind 4494422, connect 2333017, delroute 0 10.00 real 3.78 user 74.54 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 186296, close 91003, bind 5256115, connect 2731644, delroute 0 10.18 real 5.02 user 73.05 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 77214, close 59376, bind 4596744, connect 2402306, delroute 0 10.00 real 3.82 user 73.46 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 1215463, close 633490, bind 14394393, connect 0, delroute 0 10.01 real 9.19 user 77.91 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5826, close 3771, bind 0, connect 2771026, delroute 0 10.00 real 1.76 user 73.74 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 48582, close 29155, bind 3436771, connect 1579184, delroute 0 10.00 real 2.99 user 71.34 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63796, close 65008, bind 1624429, connect 897736, delroute 0 10.12 real 1.57 user 48.93 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 44786, close 59748, bind 3598523, connect 1704080, delroute 0 10.00 real 3.21 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 989235, close 783802, bind 11641915, connect 0, delroute 0 10.01 real 6.94 user 78.60 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 385352, close 284209, bind 0, connect 5006546, delroute 0 10.00 real 3.55 user 67.29 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 356686, close 302096, bind 2975413, connect 3139178, delroute 0 10.00 real 4.07 user 67.59 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 80673, close 125065, bind 1188272, connect 1054252, delroute 0 10.47 real 1.52 user 37.64 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 295296, close 1162015, bind 4625087, connect 4601898, delroute 0 10.01 real 6.56 user 67.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 974413, close 515909, bind 14124550, connect 0, delroute 0 10.01 real 8.05 user 78.88 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17064, close 10098, bind 0, connect 4311418, delroute 0 10.00 real 2.50 user 78.10 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 93859, close 53021, bind 4460049, connect 2223669, delroute 0 10.00 real 3.89 user 73.54 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 181500, close 99274, bind 5305923, connect 2688214, delroute 0 10.19 real 4.45 user 73.10 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 80515, close 66882, bind 4503736, connect 2289456, delroute 0 10.00 real 3.46 user 72.77 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