START sys/netinet/bindconnect 2025-03-12T19:31:07Z ==== 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 748824, close 657238, bind 998443, connect 1909598, delroute 0 10.00 real 2.09 user 20.80 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1941380, close 1173317, bind 6791858, connect 0, delroute 0 10.00 real 5.01 user 69.54 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 259458, close 402107, bind 0, connect 2603994, delroute 0 10.00 real 1.80 user 24.76 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 348704, close 424452, bind 710513, connect 2064881, delroute 0 10.00 real 1.70 user 25.89 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 116986, close 117078, bind 360647, connect 331087, delroute 0 10.19 real 0.36 user 44.34 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 721676, close 2827258, bind 4215402, connect 4050316, delroute 0 10.01 real 6.31 user 56.18 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 863457, close 1186377, bind 4125289, connect 0, delroute 0 10.01 real 2.83 user 58.17 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 539351, close 1506567, bind 0, connect 3718754, delroute 0 10.00 real 3.22 user 42.66 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 565963, close 1544454, bind 1989482, connect 1835462, delroute 0 10.00 real 3.22 user 44.34 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 156336, close 240858, bind 606509, connect 612148, delroute 0 10.27 real 0.77 user 44.00 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 462130, close 3911840, bind 4620931, connect 4624853, delroute 0 10.00 real 7.54 user 51.95 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 2328875, close 1252036, bind 8785001, connect 0, delroute 0 10.01 real 5.95 user 76.09 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 758713, close 782709, bind 0, connect 2542494, delroute 0 10.00 real 2.13 user 48.38 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 977460, close 900061, bind 1872055, connect 1620374, delroute 0 10.00 real 2.64 user 54.50 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 851606, close 501182, bind 1663145, connect 1711020, delroute 0 10.32 real 2.26 user 51.06 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 882962, close 1869794, bind 3452893, connect 2948974, delroute 0 10.00 real 5.30 user 59.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 1883895, close 1163292, bind 6506866, connect 0, delroute 0 10.01 real 4.77 user 67.33 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 117241, close 202197, bind 0, connect 1504778, delroute 0 10.00 real 0.82 user 16.01 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 120848, close 157224, bind 245925, connect 1277751, delroute 0 10.00 real 0.96 user 16.35 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 130013, close 151341, bind 450528, connect 401173, delroute 0 10.15 real 0.58 user 43.88 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 559850, close 3631908, bind 4334061, connect 4352672, delroute 0 10.00 real 6.69 user 49.20 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 851220, close 1148850, bind 3946343, connect 0, delroute 0 10.01 real 2.79 user 58.49 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 493817, close 1377623, bind 0, connect 3408892, delroute 0 10.00 real 3.33 user 38.77 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 519780, close 1457767, bind 1843293, connect 1717687, delroute 0 10.00 real 2.79 user 40.13 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 160716, close 256889, bind 640395, connect 643158, delroute 0 10.26 real 0.93 user 42.89 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 433875, close 4009042, bind 4412186, connect 4625088, delroute 0 10.00 real 7.39 user 47.51 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 1977724, close 1234115, bind 7877699, connect 0, delroute 0 10.01 real 5.55 user 73.29 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 658859, close 811732, bind 0, connect 2531303, delroute 0 10.00 real 2.24 user 45.15 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 842561, close 907027, bind 1790091, connect 1563906, delroute 0 10.00 real 2.27 user 50.46 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 533345, close 348775, bind 1175804, connect 1842797, delroute 0 10.28 real 1.73 user 37.46 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 783015, close 2270278, bind 3895811, connect 3333536, delroute 0 10.00 real 5.91 user 58.38 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