START sys/netinet/bindconnect 2025-04-01T18:29:49Z ==== 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 787684, close 642038, bind 972710, connect 1881702, delroute 0 10.00 real 1.91 user 20.50 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1938329, close 1144808, bind 6243132, connect 0, delroute 0 10.00 real 4.68 user 67.17 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 295535, close 361942, bind 0, connect 2513441, delroute 0 10.00 real 1.41 user 23.37 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 402599, close 405991, bind 656866, connect 2012969, delroute 0 10.00 real 1.73 user 25.93 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 111554, close 103596, bind 324757, connect 301233, delroute 0 10.14 real 0.46 user 45.28 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 714877, close 2588136, bind 3846738, connect 3726872, delroute 0 10.00 real 6.31 user 54.57 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 847526, close 1124845, bind 3927569, connect 0, delroute 0 10.01 real 3.37 user 59.48 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 539917, close 1408746, bind 0, connect 3504702, delroute 0 10.00 real 3.29 user 43.44 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 564812, close 1452046, bind 1868269, connect 1736863, delroute 0 10.00 real 3.06 user 43.79 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 185648, close 283569, bind 643288, connect 658549, delroute 0 10.23 real 1.04 user 43.33 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 459638, close 3727862, bind 4248843, connect 4335535, delroute 0 10.00 real 7.38 user 51.04 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 2381990, close 1203346, bind 8446817, connect 0, delroute 0 10.01 real 6.25 user 74.68 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 874394, close 755775, bind 0, connect 2367595, delroute 0 10.00 real 2.06 user 45.71 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1080873, close 941547, bind 1721693, connect 1476635, delroute 0 10.00 real 2.47 user 51.43 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 930969, close 525031, bind 1731923, connect 1636542, delroute 0 10.27 real 2.72 user 51.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 887765, close 1699895, bind 3164644, connect 2684848, delroute 0 10.00 real 5.12 user 60.26 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 1954773, close 1046637, bind 5785885, connect 0, delroute 0 10.01 real 4.27 user 63.54 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 190945, close 162052, bind 0, connect 1393808, delroute 0 10.00 real 0.87 user 16.18 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 211852, close 150674, bind 218514, connect 1235013, delroute 0 10.00 real 0.97 user 16.59 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 173325, close 225428, bind 530092, connect 484503, delroute 0 10.16 real 0.83 user 43.29 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 549938, close 3310361, bind 3881441, connect 3949941, delroute 0 10.00 real 7.32 user 47.96 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 840567, close 1099414, bind 3809020, connect 0, delroute 0 10.01 real 3.28 user 57.10 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 492402, close 1346393, bind 0, connect 3298938, delroute 0 10.00 real 2.89 user 38.97 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 517781, close 1429646, bind 1792652, connect 1676241, delroute 0 10.00 real 3.09 user 40.85 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 145103, close 224007, bind 577820, connect 580490, delroute 0 10.22 real 0.94 user 41.33 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 429563, close 3817169, bind 4106520, connect 4342107, delroute 0 10.00 real 7.54 user 47.21 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 2129915, close 1230164, bind 8280815, connect 0, delroute 0 10.01 real 6.37 user 75.66 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 706980, close 834385, bind 0, connect 2534937, delroute 0 10.00 real 2.37 user 45.69 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 900918, close 935184, bind 1835940, connect 1529485, delroute 0 10.00 real 2.39 user 51.75 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 674734, close 443114, bind 1432381, connect 1744570, delroute 0 10.29 real 2.46 user 42.76 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 790748, close 2008804, bind 3550051, connect 2993154, delroute 0 10.00 real 5.35 user 60.15 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