START sys/netinet/bindconnect 2024-09-15T19:14:47Z ==== 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 482416, close 359610, bind 1869760, connect 1504320, delroute 0 10.01 real 1.78 user 28.28 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1304415, close 664978, bind 13925700, connect 0, delroute 0 10.00 real 8.70 user 78.48 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 20509, close 12689, bind 0, connect 4031883, delroute 0 10.00 real 2.61 user 76.85 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 137526, close 79276, bind 4376958, connect 2380855, delroute 0 10.00 real 4.19 user 74.40 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 64141, close 55597, bind 840040, connect 540484, delroute 0 10.09 real 0.76 user 44.64 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 123258, close 110981, bind 4553082, connect 2529053, delroute 0 10.00 real 4.13 user 74.89 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 1220202, close 899152, bind 4639506, connect 0, delroute 0 10.01 real 3.15 user 76.70 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 470741, close 734200, bind 0, connect 3021205, delroute 0 10.00 real 2.33 user 69.16 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 515078, close 774238, bind 1524108, connect 1636232, delroute 0 10.00 real 2.52 user 69.48 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103054, close 158084, bind 508136, connect 542796, delroute 0 10.42 real 0.56 user 22.91 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 413792, close 2347341, bind 3929742, connect 3952807, delroute 0 10.01 real 6.01 user 69.79 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 840233, close 442411, bind 13914322, connect 0, delroute 0 10.01 real 7.95 user 77.92 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 20731, close 11602, bind 0, connect 4273003, delroute 0 10.00 real 2.69 user 78.18 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 96191, close 52689, bind 4342521, connect 2286265, delroute 0 10.00 real 3.45 user 72.75 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 192656, close 93312, bind 5103177, connect 2693738, delroute 0 10.18 real 4.31 user 73.43 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 86455, close 66071, bind 4403183, connect 2382541, delroute 0 10.00 real 3.86 user 73.39 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 1267350, close 646692, bind 13925880, connect 0, delroute 0 10.01 real 8.64 user 78.48 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6307, close 3925, bind 0, connect 2748885, delroute 0 10.00 real 1.84 user 74.41 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 54472, close 33129, bind 3321876, connect 1545184, delroute 0 10.00 real 2.64 user 71.33 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63953, close 63699, bind 1534253, connect 850126, delroute 0 10.09 real 1.33 user 47.79 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 47403, close 63492, bind 3463398, connect 1684307, delroute 0 10.00 real 2.81 user 71.50 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 1188145, close 905707, bind 4515279, connect 0, delroute 0 10.01 real 3.09 user 75.54 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 374498, close 487457, bind 0, connect 2456786, delroute 0 10.00 real 1.80 user 63.48 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 411821, close 554137, bind 1213259, connect 1401066, delroute 0 10.00 real 1.75 user 65.47 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 98801, close 163612, bind 544010, connect 618294, delroute 0 10.46 real 0.78 user 24.48 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 329105, close 2451773, bind 3651614, connect 3895857, delroute 0 10.00 real 5.56 user 65.84 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 981355, close 513726, bind 13543978, connect 0, delroute 0 10.01 real 8.14 user 79.28 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18844, close 10870, bind 0, connect 4254900, delroute 0 10.00 real 2.41 user 78.06 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 98387, close 56756, bind 4221293, connect 2136790, delroute 0 10.00 real 3.60 user 72.21 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 185424, close 99281, bind 5048792, connect 2611965, delroute 0 10.20 real 4.68 user 72.73 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 83991, close 70159, bind 4352217, connect 2239456, delroute 0 10.00 real 3.95 user 73.39 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