START sys/netinet/bindconnect 2024-11-25T19:27:29Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=110000 kern.maxfiles: 7030 -> 110000 ==== run-default ==== cc -O2 -pipe -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 486488, close 367296, bind 1899555, connect 1521761, delroute 0 10.00 real 2.13 user 28.48 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1284189, close 648532, bind 13647488, connect 0, delroute 0 10.00 real 8.81 user 77.81 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 20243, close 12277, bind 0, connect 4073798, delroute 0 10.00 real 2.48 user 75.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 138473, close 78532, bind 4333262, connect 2384767, delroute 0 10.00 real 3.97 user 73.52 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 64405, close 55823, bind 822277, connect 533566, delroute 0 10.10 real 0.76 user 44.47 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 120411, close 108270, bind 4510274, connect 2513331, delroute 0 10.00 real 4.40 user 74.68 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 1204413, close 877374, bind 4576661, connect 0, delroute 0 10.00 real 3.08 user 76.21 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 476754, close 739452, bind 0, connect 3006917, delroute 0 10.00 real 2.49 user 69.65 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 523331, close 753885, bind 1494623, connect 1592478, delroute 0 10.00 real 2.55 user 69.45 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103140, close 157295, bind 495287, connect 531278, delroute 0 10.43 real 0.58 user 22.87 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 418733, close 2276963, bind 3707980, connect 3803616, delroute 0 10.00 real 5.66 user 70.31 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 845870, close 440563, bind 13672883, connect 0, delroute 0 10.00 real 8.15 user 77.28 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 20895, close 11640, bind 0, connect 4272850, delroute 0 10.00 real 2.59 user 76.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 99034, close 53356, bind 4271233, connect 2264752, delroute 0 10.00 real 3.99 user 73.61 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 191613, close 92834, bind 5042281, connect 2654130, delroute 0 10.18 real 4.44 user 73.67 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 83861, close 62906, bind 4377281, connect 2328591, delroute 0 10.00 real 3.76 user 73.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 1246632, close 636011, bind 13779413, connect 0, delroute 0 10.01 real 8.97 user 77.98 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6285, close 4109, bind 0, connect 2767279, delroute 0 10.00 real 1.88 user 73.99 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 52348, close 31326, bind 3356906, connect 1548148, delroute 0 10.00 real 3.10 user 71.07 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63521, close 62342, bind 1472577, connect 821768, delroute 0 10.09 real 1.22 user 47.38 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 47184, close 56439, bind 3465304, connect 1660223, delroute 0 10.00 real 3.11 user 71.72 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 1191798, close 883182, bind 4397509, connect 0, delroute 0 10.01 real 2.82 user 75.45 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 376097, close 505496, bind 0, connect 2479117, delroute 0 10.00 real 1.89 user 63.47 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 415668, close 533350, bind 1186332, connect 1379008, delroute 0 10.00 real 2.00 user 65.98 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98277, close 155683, bind 532563, connect 589772, delroute 0 10.45 real 0.92 user 24.18 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 331372, close 2329298, bind 3408937, connect 3715312, delroute 0 10.00 real 5.73 user 64.99 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 981085, close 512274, bind 13373543, connect 0, delroute 0 10.01 real 8.54 user 79.18 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17981, close 10398, bind 0, connect 4167098, delroute 0 10.00 real 2.44 user 76.99 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 100633, close 56883, bind 4262718, connect 2174125, delroute 0 10.00 real 3.64 user 73.35 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 189088, close 100546, bind 5089106, connect 2606837, delroute 0 10.20 real 4.61 user 72.90 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 84356, close 67702, bind 4364576, connect 2223873, delroute 0 10.00 real 3.70 user 72.88 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