START sys/netinet/bindconnect 2025-01-11T06:39:16Z ==== 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 1450931, close 1939117, bind 791342, connect 524520, delroute 0 10.00 real 3.47 user 24.37 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1292040, close 685983, bind 4014844, connect 0, delroute 0 10.00 real 4.76 user 35.21 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2014055, close 259948, bind 0, connect 1468263, delroute 0 10.01 real 4.88 user 34.49 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2070773, close 554508, bind 773286, connect 507161, delroute 0 10.00 real 4.08 user 35.86 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 181187, close 32709, bind 56038, connect 54223, delroute 0 10.37 real 0.36 user 17.42 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1726094, close 800683, bind 735815, connect 528965, delroute 0 10.01 real 4.19 user 35.85 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 968658, close 466149, bind 1187717, connect 0, delroute 0 10.01 real 2.70 user 36.46 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1077439, close 275920, bind 0, connect 948098, delroute 0 10.01 real 3.44 user 32.78 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1182176, close 270168, bind 453593, connect 345402, delroute 0 10.01 real 3.41 user 33.12 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 199445, close 60924, bind 86626, connect 76533, delroute 0 10.47 real 0.59 user 17.40 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1222884, close 326385, bind 468881, connect 382707, delroute 0 10.00 real 4.42 user 32.61 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 1934763, close 686794, bind 1325422, connect 0, delroute 0 10.01 real 3.40 user 36.67 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1894188, close 815664, bind 0, connect 971100, delroute 0 10.00 real 3.19 user 36.76 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1851153, close 743851, bind 653069, connect 615389, delroute 0 10.01 real 3.08 user 36.88 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1746941, close 548065, bind 540668, connect 544673, delroute 0 10.40 real 3.45 user 36.34 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1637268, close 784521, bind 725509, connect 640925, delroute 0 10.01 real 4.05 user 35.97 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 1808624, close 689059, bind 1339606, connect 0, delroute 0 10.00 real 2.93 user 37.06 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2147644, close 235810, bind 0, connect 1029927, delroute 0 10.01 real 5.23 user 34.12 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2134904, close 560569, bind 603548, connect 336426, delroute 0 10.00 real 4.43 user 35.43 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 105898, close 46645, bind 86222, connect 87648, delroute 0 10.32 real 0.40 user 18.74 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1823270, close 846370, bind 646257, connect 433140, delroute 0 10.01 real 4.31 user 35.83 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 1104655, close 398320, bind 706990, connect 0, delroute 0 10.00 real 2.76 user 35.93 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1117759, close 273736, bind 0, connect 735031, delroute 0 10.01 real 3.34 user 31.42 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1139505, close 277239, bind 435287, connect 321745, delroute 0 10.01 real 3.17 user 32.45 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 150624, close 56491, bind 94602, connect 71819, delroute 0 10.50 real 0.62 user 17.53 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1167093, close 386520, bind 552126, connect 408996, delroute 0 10.00 real 4.39 user 32.42 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 1708692, close 498304, bind 1216756, connect 0, delroute 0 10.01 real 2.92 user 37.04 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1796898, close 462601, bind 0, connect 741955, delroute 0 10.00 real 3.94 user 36.00 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1694037, close 513828, bind 475565, connect 457187, delroute 0 10.01 real 3.39 user 36.72 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 1754915, close 445733, bind 458296, connect 423517, delroute 0 10.42 real 3.92 user 35.61 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 1408178, close 743139, bind 570282, connect 499951, delroute 0 10.01 real 3.36 user 36.65 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