START sys/netinet/bindconnect 2025-02-25T19:41:08Z ==== 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 835989, close 703771, bind 1003054, connect 1858051, delroute 0 10.01 real 1.94 user 20.97 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1982157, close 1126145, bind 6497184, connect 0, delroute 0 10.00 real 5.21 user 68.58 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 276689, close 412420, bind 0, connect 2597473, delroute 0 10.00 real 1.64 user 23.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 364147, close 416504, bind 682369, connect 2061794, delroute 0 10.00 real 1.76 user 26.26 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 164271, close 198335, bind 444503, connect 417013, delroute 0 10.16 real 0.71 user 45.02 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 719863, close 2681745, bind 3945910, connect 3787823, delroute 0 10.01 real 7.05 user 55.82 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 838316, close 1183965, bind 3993118, connect 0, delroute 0 10.00 real 2.93 user 59.13 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 537550, close 1393602, bind 0, connect 3432231, delroute 0 10.00 real 2.94 user 42.37 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 563827, close 1466316, bind 1856141, connect 1711294, delroute 0 10.00 real 2.76 user 44.01 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 183788, close 279467, bind 627858, connect 637462, delroute 0 10.31 real 0.91 user 43.73 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 456463, close 3683777, bind 4284313, connect 4345996, delroute 0 10.00 real 7.08 user 51.39 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 2342652, close 1221758, bind 8477001, connect 0, delroute 0 10.01 real 6.75 user 75.29 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 765062, close 762510, bind 0, connect 2466882, delroute 0 10.00 real 2.38 user 47.86 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 976701, close 876573, bind 1796656, connect 1572212, delroute 0 10.00 real 2.58 user 53.16 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 870597, close 501695, bind 1674976, connect 1674689, delroute 0 10.28 real 2.61 user 52.12 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 876624, close 1795337, bind 3240201, connect 2784004, delroute 0 10.00 real 5.08 user 59.25 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 2011314, close 1019124, bind 6031746, connect 0, delroute 0 10.01 real 4.89 user 63.63 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 147127, close 149130, bind 0, connect 1404563, delroute 0 10.00 real 0.90 user 15.86 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 186827, close 139884, bind 224013, connect 1243357, delroute 0 10.00 real 0.97 user 16.83 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103053, close 103434, bind 362229, connect 317727, delroute 0 10.18 real 0.39 user 44.07 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 554503, close 3355693, bind 3961129, connect 4038061, delroute 0 10.00 real 7.08 user 48.08 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 825356, close 1152527, bind 3913313, connect 0, delroute 0 10.01 real 2.98 user 58.72 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 488367, close 1285339, bind 0, connect 3151066, delroute 0 10.00 real 2.93 user 38.28 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 514644, close 1363259, bind 1715772, connect 1599298, delroute 0 10.00 real 2.84 user 38.92 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 134986, close 208773, bind 561351, connect 553613, delroute 0 10.25 real 0.76 user 42.74 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 426930, close 3835293, bind 4143655, connect 4352505, delroute 0 10.01 real 7.57 user 46.42 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 2128262, close 1234400, bind 8375647, connect 0, delroute 0 10.01 real 6.43 user 75.80 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 657756, close 807546, bind 0, connect 2575258, delroute 0 10.00 real 2.34 user 44.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 857604, close 902712, bind 1816619, connect 1577762, delroute 0 10.00 real 3.01 user 50.93 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 594034, close 377230, bind 1289061, connect 1801879, delroute 0 10.30 real 2.24 user 40.04 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 789040, close 2075263, bind 3586864, connect 3063385, delroute 0 10.00 real 5.69 user 58.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