START sys/netinet/bindconnect 2024-12-21T00:51:31Z ==== 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 1136848, close 976058, bind 2688840, connect 2451493, delroute 0 10.00 real 3.38 user 25.44 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 6118081, close 5151, bind 115766, connect 0, delroute 0 10.00 real 10.38 user 49.69 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6035486, close 1491, bind 0, connect 54219, delroute 0 10.00 real 10.74 user 49.42 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 6067613, close 3020, bind 46805, connect 33863, delroute 0 10.00 real 10.53 user 49.38 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 3320477, close 1970, bind 41297, connect 31900, delroute 0 10.13 real 5.99 user 39.24 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 5985225, close 2814, bind 40478, connect 30661, delroute 0 10.01 real 11.10 user 48.90 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 3222541, close 705238, bind 9122967, connect 0, delroute 0 10.01 real 5.06 user 54.17 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3378535, close 60402, bind 0, connect 3936502, delroute 0 10.00 real 8.05 user 50.84 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3335022, close 89706, bind 2071349, connect 1787432, delroute 0 10.00 real 8.30 user 50.30 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 136234, close 15097, bind 45727, connect 44235, delroute 0 10.30 real 0.43 user 13.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 3297595, close 94618, bind 1499108, connect 1181772, delroute 0 10.00 real 8.25 user 50.24 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 6118222, close 3093, bind 49238, connect 0, delroute 0 10.04 real 11.52 user 48.73 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6056621, close 2200, bind 0, connect 90828, delroute 0 10.00 real 10.94 user 49.11 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 6092610, close 3267, bind 52003, connect 38228, delroute 0 10.00 real 10.97 user 49.04 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 5494904, close 4864, bind 42969, connect 38717, delroute 0 10.10 real 10.09 user 49.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 5970265, close 2571, bind 39028, connect 29984, delroute 0 10.00 real 11.14 user 48.83 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 5905257, close 2218, bind 56603, connect 0, delroute 0 10.01 real 10.60 user 49.32 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5922368, close 1877, bind 0, connect 81633, delroute 0 10.00 real 10.49 user 49.64 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 5927292, close 2711, bind 50078, connect 35912, delroute 0 10.00 real 10.47 user 49.60 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 2265438, close 1676, bind 41588, connect 31848, delroute 0 10.15 real 4.32 user 37.71 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 5792500, close 3520, bind 44447, connect 32673, delroute 0 10.01 real 10.86 user 49.01 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 3163327, close 752125, bind 8423021, connect 0, delroute 0 10.01 real 5.35 user 53.82 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3324776, close 52907, bind 0, connect 3612750, delroute 0 10.00 real 8.44 user 50.52 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 3183396, close 109406, bind 2312572, connect 1878277, delroute 0 10.00 real 7.81 user 50.58 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 119504, close 14065, bind 36820, connect 44156, delroute 0 10.32 real 0.45 user 13.09 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 3141023, close 140401, bind 1328030, connect 1070934, delroute 0 10.00 real 8.70 user 50.08 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 5012854, close 1868, bind 41486, connect 0, delroute 0 10.01 real 10.36 user 49.77 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 4997581, close 1704, bind 0, connect 74646, delroute 0 10.00 real 10.53 user 49.49 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 4961763, close 2884, bind 47637, connect 36091, delroute 0 10.00 real 10.72 user 49.32 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 4596717, close 1740, bind 29142, connect 22597, delroute 0 10.11 real 10.11 user 49.88 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 4947400, close 2264, bind 34266, connect 25115, delroute 0 10.00 real 10.18 user 49.68 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