START sys/netinet/bindconnect 2025-03-16T19:30:01Z ==== 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 724005, close 615270, bind 944139, connect 1934180, delroute 0 10.00 real 1.57 user 20.73 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1871615, close 1153285, bind 6321520, connect 0, delroute 0 10.00 real 4.42 user 66.80 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 259884, close 387252, bind 0, connect 2599274, delroute 0 10.00 real 1.56 user 23.97 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 352784, close 431284, bind 706818, connect 2077331, delroute 0 10.00 real 1.78 user 26.51 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 184491, close 232371, bind 496953, connect 470643, delroute 0 10.15 real 0.68 user 45.36 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 717279, close 2831117, bind 4194095, connect 4008228, delroute 0 10.00 real 6.28 user 55.81 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 858216, close 1156009, bind 4032175, connect 0, delroute 0 10.01 real 3.14 user 58.48 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 547350, close 1460830, bind 0, connect 3626514, delroute 0 10.00 real 3.28 user 42.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 562410, close 1555977, bind 1991765, connect 1824492, delroute 0 10.00 real 3.25 user 43.51 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 133761, close 203744, bind 558838, connect 553953, delroute 0 10.29 real 0.72 user 42.80 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 460938, close 3869540, bind 4536618, connect 4503236, delroute 0 10.00 real 8.03 user 51.23 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 2304132, close 1227926, bind 8669039, connect 0, delroute 0 10.01 real 6.38 user 76.01 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 786487, close 817756, bind 0, connect 2491638, delroute 0 10.00 real 2.43 user 48.53 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 996906, close 935641, bind 1851805, connect 1588847, delroute 0 10.00 real 2.75 user 53.53 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 887609, close 505221, bind 1745969, connect 1664853, delroute 0 10.27 real 2.76 user 50.93 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 877574, close 1883916, bind 3425430, connect 2920201, delroute 0 10.00 real 4.80 user 59.97 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 1827061, close 1128419, bind 5925457, connect 0, delroute 0 10.01 real 4.14 user 65.25 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 136173, close 212084, bind 0, connect 1509104, delroute 0 10.00 real 0.94 user 16.80 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 140030, close 184451, bind 280045, connect 1298461, delroute 0 10.00 real 0.97 user 16.73 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 110927, close 120072, bind 403490, connect 352388, delroute 0 10.20 real 0.46 user 44.35 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 555693, close 3608752, bind 4257752, connect 4267280, delroute 0 10.00 real 6.72 user 48.68 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 845973, close 1140382, bind 3912222, connect 0, delroute 0 10.01 real 2.91 user 56.26 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 491178, close 1406038, bind 0, connect 3409738, delroute 0 10.00 real 2.81 user 38.21 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 515170, close 1479303, bind 1869888, connect 1728820, delroute 0 10.00 real 2.51 user 40.12 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 137774, close 221701, bind 589625, connect 583395, delroute 0 10.23 real 0.88 user 42.29 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 433910, close 4053883, bind 4443252, connect 4570417, delroute 0 10.00 real 7.40 user 47.80 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 2075110, close 1239145, bind 8417744, connect 0, delroute 0 10.01 real 6.03 user 75.24 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 693916, close 844177, bind 0, connect 2571974, delroute 0 10.00 real 2.22 user 46.38 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 878882, close 924059, bind 1856932, connect 1566773, delroute 0 10.00 real 2.65 user 50.57 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 621396, close 401629, bind 1366997, connect 1777537, delroute 0 10.29 real 2.32 user 42.64 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 793851, close 2198761, bind 3845332, connect 3245974, delroute 0 10.00 real 5.28 user 58.64 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