START sys/netinet/bindconnect 2025-03-17T02:50:29Z ==== 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 3259417, close 2386047, bind 4409785, connect 2588818, delroute 0 10.01 real 5.64 user 31.50 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 6566956, close 314115, bind 3515097, connect 0, delroute 0 10.00 real 11.35 user 48.62 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5275317, close 158055, bind 0, connect 1836494, delroute 0 10.00 real 8.91 user 47.17 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 7074997, close 43974, bind 261233, connect 230416, delroute 0 10.06 real 11.95 user 48.28 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 85789, close 2238, bind 67088, connect 82084, delroute 0 10.09 real 0.15 user 19.62 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 6773662, close 90695, bind 434978, connect 406951, delroute 0 10.01 real 11.14 user 48.63 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 2222115, close 864286, bind 3464895, connect 0, delroute 0 10.00 real 6.88 user 49.94 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 2196559, close 485002, bind 0, connect 2372949, delroute 0 10.00 real 6.39 user 48.86 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 2193137, close 593320, bind 1462383, connect 1146090, delroute 0 10.00 real 6.55 user 48.41 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 109791, close 8839, bind 56032, connect 35880, delroute 0 10.22 real 0.26 user 13.06 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2189850, close 820172, bind 1585204, connect 1317958, delroute 0 10.00 real 7.63 user 48.94 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 7163700, close 40320, bind 223356, connect 0, delroute 0 10.00 real 11.11 user 48.87 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 7209143, close 33205, bind 0, connect 183209, delroute 0 10.00 real 11.29 user 48.52 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 7170090, close 30038, bind 81538, connect 67924, delroute 0 10.00 real 11.43 user 48.60 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 7332767, close 13288, bind 44443, connect 37364, delroute 0 10.08 real 11.57 user 48.45 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 7165469, close 56754, bind 137891, connect 115994, delroute 0 10.00 real 11.18 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 7033524, close 20024, bind 104845, connect 0, delroute 0 10.00 real 11.10 user 49.02 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 3611920, close 257063, bind 0, connect 2528145, delroute 0 10.00 real 6.76 user 43.67 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 6571108, close 58604, bind 372522, connect 276694, delroute 0 10.00 real 10.82 user 48.64 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 79804, close 1224, bind 144132, connect 93673, delroute 0 10.10 real 0.17 user 25.38 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 6449682, close 99976, bind 488152, connect 384620, delroute 0 10.03 real 10.60 user 48.58 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 2198587, close 900854, bind 3719400, connect 0, delroute 0 10.00 real 6.58 user 49.63 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 1825962, close 596324, bind 0, connect 3231348, delroute 0 10.00 real 5.57 user 48.02 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 1878754, close 676766, bind 1829916, connect 1386265, delroute 0 10.00 real 5.44 user 48.27 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 88354, close 11367, bind 88401, connect 59050, delroute 0 10.16 real 0.19 user 15.42 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 2027321, close 952496, bind 1967562, connect 1542344, delroute 0 10.00 real 7.66 user 48.05 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 6188303, close 14095, bind 77782, connect 0, delroute 0 10.00 real 10.44 user 49.60 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5948112, close 39056, bind 0, connect 236413, delroute 0 10.00 real 10.65 user 49.64 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 6069127, close 25032, bind 85078, connect 66708, delroute 0 10.00 real 10.51 user 49.50 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 6165709, close 13290, bind 328380, connect 166900, delroute 0 10.10 real 11.30 user 48.75 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 6050319, close 61869, bind 170911, connect 137086, delroute 0 10.00 real 10.07 user 49.96 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