START sys/netinet/bindconnect 2024-12-24T19:31:20Z ==== 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 472201, close 357782, bind 1910807, connect 1509834, delroute 0 10.00 real 1.90 user 28.46 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1253080, close 644328, bind 14654909, connect 0, delroute 0 10.00 real 9.14 user 77.26 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 19319, close 12020, bind 0, connect 4090699, delroute 0 10.00 real 2.57 user 77.06 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 128658, close 75803, bind 4519729, connect 2450587, delroute 0 10.00 real 3.69 user 75.22 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 64137, close 56628, bind 884256, connect 565330, delroute 0 10.11 real 0.96 user 44.13 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 114107, close 105182, bind 4670158, connect 2552256, delroute 0 10.00 real 3.69 user 74.93 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 1203774, close 890936, bind 4743953, connect 0, delroute 0 10.01 real 3.28 user 74.90 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 477944, close 780442, bind 0, connect 3138265, delroute 0 10.00 real 2.43 user 69.43 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 531988, close 792320, bind 1548885, connect 1668445, delroute 0 10.00 real 2.52 user 70.93 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 102133, close 154516, bind 494953, connect 532385, delroute 0 10.42 real 0.70 user 22.12 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 420794, close 2345990, bind 3853296, connect 3946633, delroute 0 10.00 real 5.77 user 70.29 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 819006, close 435043, bind 14421134, connect 0, delroute 0 10.01 real 8.63 user 77.05 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 19704, close 11083, bind 0, connect 4351467, delroute 0 10.00 real 2.57 user 77.74 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 93287, close 50528, bind 4504031, connect 2347251, delroute 0 10.00 real 3.94 user 73.87 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 187034, close 92689, bind 5278397, connect 2767891, delroute 0 10.18 real 4.87 user 73.82 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 78334, close 60310, bind 4547381, connect 2376722, delroute 0 10.00 real 3.55 user 73.11 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 1259053, close 651459, bind 14025651, connect 0, delroute 0 10.01 real 8.77 user 76.87 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6109, close 3803, bind 0, connect 2750959, delroute 0 10.00 real 1.79 user 74.53 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 50557, close 30524, bind 3365901, connect 1551832, delroute 0 10.00 real 2.75 user 71.93 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 64011, close 64519, bind 1564911, connect 861762, delroute 0 10.10 real 1.43 user 48.48 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 48423, close 70126, bind 3544731, connect 1720967, delroute 0 10.00 real 2.79 user 71.25 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 1171525, close 879638, bind 4537605, connect 0, delroute 0 10.01 real 3.34 user 75.75 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 377588, close 523601, bind 0, connect 2553771, delroute 0 10.00 real 2.04 user 64.59 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 415066, close 550940, bind 1222444, connect 1426676, delroute 0 10.00 real 1.70 user 65.84 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 99238, close 164472, bind 552000, connect 619536, delroute 0 10.47 real 0.74 user 24.07 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 335687, close 2445326, bind 3575651, connect 3835060, delroute 0 10.01 real 5.59 user 65.03 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 976269, close 521850, bind 14139054, connect 0, delroute 0 10.01 real 7.97 user 78.55 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 19390, close 11273, bind 0, connect 4283152, delroute 0 10.00 real 2.62 user 76.89 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 102668, close 58885, bind 4472665, connect 2258576, delroute 0 10.00 real 3.49 user 73.51 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 186623, close 101650, bind 5217635, connect 2661128, delroute 0 10.20 real 4.22 user 72.49 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 86243, close 69580, bind 4460791, connect 2291080, delroute 0 10.01 real 4.06 user 72.94 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