START sys/netinet/bindconnect 2024-12-17T19:24:54Z ==== 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 486500, close 369122, bind 1901812, connect 1514820, delroute 0 10.00 real 2.42 user 27.15 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1250565, close 633288, bind 13012298, connect 0, delroute 0 10.00 real 9.08 user 78.73 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 20340, close 12766, bind 0, connect 4052325, delroute 0 10.00 real 2.85 user 76.62 sys ==== run-inet-udp-bind-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 141734, close 80608, bind 4296233, connect 2351300, delroute 0 10.00 real 4.19 user 74.27 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 64156, close 54524, bind 770751, connect 505746, delroute 0 10.09 real 0.85 user 43.28 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 120455, close 102219, bind 4424842, connect 2458793, delroute 0 10.01 real 4.33 user 74.50 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 1208188, close 856581, bind 4471280, connect 0, delroute 0 10.01 real 3.07 user 76.16 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 472637, close 704686, bind 0, connect 2927819, delroute 0 10.00 real 2.47 user 69.77 sys ==== run-inet-tcp-bind-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 516887, close 725110, bind 1464537, connect 1562981, delroute 0 10.00 real 2.16 user 70.68 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 103340, close 153433, bind 486223, connect 521667, delroute 0 10.44 real 0.69 user 22.55 sys ==== run-inet-tcp-reuseport ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 414394, close 2154203, bind 3579862, connect 3672993, delroute 0 10.00 real 5.74 user 69.42 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 815790, close 427383, bind 12955359, connect 0, delroute 0 10.01 real 8.53 user 78.67 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18664, close 10386, bind 0, connect 4187714, delroute 0 10.00 real 2.79 user 76.87 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 92278, close 49147, bind 4183288, connect 2191430, delroute 0 10.00 real 3.84 user 74.80 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 187292, close 89932, bind 4910851, connect 2579096, delroute 0 10.18 real 4.67 user 74.00 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 80871, close 62013, bind 4212742, connect 2253777, delroute 0 10.00 real 3.97 user 72.42 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 1246773, close 634791, bind 12904060, connect 0, delroute 0 10.01 real 9.11 user 78.41 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 6451, close 4185, bind 0, connect 2754425, delroute 0 10.00 real 1.93 user 74.59 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 55695, close 33106, bind 3305284, connect 1530990, delroute 0 10.00 real 2.89 user 70.56 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63684, close 61914, bind 1385163, connect 781616, delroute 0 10.10 real 1.33 user 47.91 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 49308, close 56788, bind 3443911, connect 1651371, delroute 0 10.00 real 3.30 user 72.74 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 1160390, close 857304, bind 4314142, connect 0, delroute 0 10.01 real 3.07 user 76.38 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 375596, close 481741, bind 0, connect 2432889, delroute 0 10.00 real 2.07 user 64.44 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 414510, close 523885, bind 1178180, connect 1355768, delroute 0 10.00 real 2.12 user 66.37 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 97807, close 155006, bind 522298, connect 588553, delroute 0 10.46 real 0.72 user 24.44 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 331961, close 2167918, bind 3191154, connect 3458491, delroute 0 10.00 real 5.72 user 65.29 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 913784, close 490220, bind 12799182, connect 0, delroute 0 10.01 real 8.63 user 78.74 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 17019, close 9970, bind 0, connect 4162522, delroute 0 10.00 real 2.38 user 78.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 94438, close 53122, bind 4151832, connect 2096808, delroute 0 10.00 real 4.14 user 73.30 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 183851, close 100143, bind 4918095, connect 2527811, delroute 0 10.19 real 4.73 user 73.37 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 81571, close 66416, bind 4207736, connect 2160686, delroute 0 10.01 real 4.08 user 72.55 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