START sys/netinet/bindconnect 2024-12-29T19:32:17Z ==== 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 471795, close 351485, bind 1881301, connect 1493625, delroute 0 10.00 real 2.28 user 27.75 sys ==== run-inet-udp-bind ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 6 -c 0 count: socket 1259819, close 643313, bind 14334433, connect 0, delroute 0 10.00 real 9.07 user 78.39 sys ==== run-inet-udp-connect ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18874, close 11486, bind 0, connect 4013662, delroute 0 10.00 real 2.30 user 76.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 130516, close 75207, bind 4534559, connect 2460673, delroute 0 10.00 real 3.79 user 75.23 sys ==== run-inet-udp-100000 ==== time ./bindconnect -f inet -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63814, close 54679, bind 851757, connect 549250, delroute 0 10.09 real 0.89 user 43.80 sys ==== run-inet-udp-reuseport ==== time ./bindconnect -f inet -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 113526, close 99919, bind 4626745, connect 2520599, delroute 0 10.00 real 4.41 user 74.30 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 1041668, close 817341, bind 11706943, connect 0, delroute 0 10.01 real 7.30 user 78.32 sys ==== run-inet-tcp-connect ==== time ./bindconnect -f inet -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 470908, close 320630, bind 0, connect 5542260, delroute 0 10.00 real 4.49 user 70.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 439332, close 349774, bind 3415047, connect 3478548, delroute 0 10.00 real 5.09 user 72.41 sys ==== run-inet-tcp-100000 ==== time ./bindconnect -f inet -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 80153, close 116096, bind 1032611, connect 908419, delroute 0 10.45 real 1.40 user 36.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 355448, close 947491, bind 4695086, connect 4586020, delroute 0 10.00 real 6.43 user 71.04 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 774020, close 414054, bind 14464206, connect 0, delroute 0 10.01 real 8.37 user 77.39 sys ==== run-inet-any-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 19459, close 10945, bind 0, connect 4330189, delroute 0 10.00 real 2.61 user 77.90 sys ==== run-inet-any-bind-connect ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 88586, close 47902, bind 4466526, connect 2324992, delroute 0 10.00 real 4.10 user 73.02 sys ==== run-inet-any-100000 ==== time ./bindconnect -f inet -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 184332, close 90003, bind 5266873, connect 2751591, delroute 0 10.18 real 4.59 user 73.93 sys ==== run-inet-any-reuseport ==== time ./bindconnect -f inet -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 76204, close 59917, bind 4520046, connect 2379825, delroute 0 10.00 real 4.13 user 74.01 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 1240741, close 638508, bind 14175872, connect 0, delroute 0 10.01 real 8.91 user 77.90 sys ==== run-inet6-udp-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 5900, close 3825, bind 0, connect 2749295, delroute 0 10.00 real 1.82 user 74.31 sys ==== run-inet6-udp-bind-connect ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 50434, close 30784, bind 3419409, connect 1564023, delroute 0 10.00 real 2.94 user 71.53 sys ==== run-inet6-udp-100000 ==== time ./bindconnect -f inet6 -p udp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 63575, close 63102, bind 1570272, connect 860905, delroute 0 10.09 real 1.47 user 47.90 sys ==== run-inet6-udp-reuseport ==== time ./bindconnect -f inet6 -p udp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 45778, close 61919, bind 3575459, connect 1705141, delroute 0 10.00 real 3.01 user 71.53 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 999866, close 785400, bind 11360310, connect 0, delroute 0 10.01 real 7.61 user 78.51 sys ==== run-inet6-tcp-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 392967, close 274247, bind 0, connect 4988623, delroute 0 10.00 real 3.66 user 66.05 sys ==== run-inet6-tcp-bind-connect ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 362565, close 297093, bind 2954404, connect 3130799, delroute 0 10.00 real 4.41 user 68.23 sys ==== run-inet6-tcp-100000 ==== time ./bindconnect -f inet6 -p tcp -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 80434, close 124798, bind 1163885, connect 1036324, delroute 0 10.47 real 1.51 user 36.99 sys ==== run-inet6-tcp-reuseport ==== time ./bindconnect -f inet6 -p tcp -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 294308, close 1088411, bind 4434300, connect 4422214, delroute 0 10.00 real 6.07 user 66.37 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 930783, close 492892, bind 14048321, connect 0, delroute 0 10.01 real 8.88 user 78.19 sys ==== run-inet6-any-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 0 -c 6 count: socket 18134, close 10633, bind 0, connect 4279414, delroute 0 10.00 real 2.38 user 76.41 sys ==== run-inet6-any-bind-connect ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 count: socket 91093, close 51464, bind 4427965, connect 2204926, delroute 0 10.00 real 3.54 user 73.66 sys ==== run-inet6-any-100000 ==== time ./bindconnect -f inet6 -p any -n 100000 -s 2 -o 1 -b 3 -c 3 count: socket 182632, close 98492, bind 5180255, connect 2633472, delroute 0 10.20 real 4.69 user 72.63 sys ==== run-inet6-any-reuseport ==== time ./bindconnect -f inet6 -p any -n 16 -s 2 -o 1 -b 3 -c 3 -r count: socket 79074, close 66248, bind 4526683, connect 2288834, delroute 0 10.01 real 3.77 user 72.33 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