START sys/netinet/bindconnect 2024-11-15T02:45:48Z ==== setup-maxfiles ==== [[ $(sysctl -n kern.maxfiles) -ge 110000 ]] || sysctl kern.maxfiles=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 1712943, close 1527001, bind 2538380, connect 1419420, delroute 0 10.01 real 3.09 user 32.27 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 2005548, close 1370088, bind 8880911, connect 0, delroute 0 10.01 real 5.90 user 54.23 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1259714, close 339160, bind 0, connect 4490815, delroute 0 10.01 real 4.17 user 49.24 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2096854, close 392432, bind 3037233, connect 2238272, delroute 0 10.01 real 5.75 user 51.60 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 91285, close 66420, bind 206083, connect 183546, delroute 0 10.19 real 0.27 user 14.20 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2257343, close 424902, bind 2215365, connect 2005799, delroute 0 10.00 real 6.22 user 51.48 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 2062263, close 811970, bind 7062751, connect 0, delroute 0 10.00 real 4.56 user 54.56 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1853195, close 305966, bind 0, connect 3898581, delroute 0 10.01 real 4.61 user 52.93 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1828955, close 310943, bind 1612345, connect 1679197, delroute 0 10.01 real 5.31 user 52.35 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 112825, close 42398, bind 81769, connect 104689, delroute 0 10.40 real 0.33 user 12.26 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1338135, close 2566479, bind 5793040, connect 6264068, delroute 0 10.00 real 8.63 user 48.26 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 2786702, close 1550276, bind 4513459, connect 0, delroute 0 10.00 real 3.89 user 55.95 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1927897, close 547254, bind 0, connect 4498533, delroute 0 10.01 real 5.02 user 53.77 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1954337, close 1117992, bind 2486267, connect 2158595, delroute 0 10.00 real 3.80 user 55.50 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1863607, close 957214, bind 2462263, connect 2079050, delroute 0 10.27 real 3.82 user 55.30 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1679547, close 1162169, bind 2775821, connect 2374894, delroute 0 10.01 real 4.36 user 55.00 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 2570859, close 1578833, bind 4914466, connect 0, delroute 0 10.00 real 4.43 user 55.55 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1157018, close 369856, bind 0, connect 3481511, delroute 0 10.01 real 3.11 user 45.83 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2182647, close 362488, bind 1918809, connect 1525069, delroute 0 10.01 real 5.34 user 50.16 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 85859, close 57397, bind 210130, connect 178831, delroute 0 10.15 real 0.40 user 16.18 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1831491, close 455142, bind 2504386, connect 1882024, delroute 0 10.01 real 5.42 user 50.14 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 2003279, close 779859, bind 7071062, connect 0, delroute 0 10.00 real 4.55 user 54.49 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1847005, close 255477, bind 0, connect 3827712, delroute 0 10.01 real 4.70 user 52.63 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1781902, close 338223, bind 1869251, connect 1999388, delroute 0 10.01 real 4.59 user 52.90 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 106181, close 34094, bind 83822, connect 124025, delroute 0 10.40 real 0.33 user 12.90 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1476202, close 2010570, bind 4260071, connect 4222144, delroute 0 10.00 real 7.61 user 49.64 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 2342800, close 1438037, bind 3506399, connect 0, delroute 0 10.00 real 3.42 user 56.43 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1767048, close 425267, bind 0, connect 3690547, delroute 0 10.01 real 5.69 user 52.28 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1718611, close 986432, bind 2114884, connect 1832352, delroute 0 10.01 real 3.21 user 55.54 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1531071, close 769673, bind 2146685, connect 1727123, delroute 0 10.30 real 2.97 user 53.89 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1408607, close 1053004, bind 2525229, connect 2187551, delroute 0 10.00 real 4.15 user 54.61 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