==== run-default ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/netinet/tcpthread/tcpthread.c cc -o tcpthread tcpthread.o -lpthread time ./tcpthread count: connect 810, accept 91, send 379, recv 47, close 594, drop 0 10.02 real 14.93 user 9.39 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123963, accept 62794, send 152051, recv 60298, close 123246, drop 0 0m10.07s real 0m09.67s user 0m18.58s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11046, splice 5358, unsplice 0, max 0, idle 0, accept 5344, send 33554, recv 7145, close 18924, drop 0 10.02 real 14.30 user 9.90 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10346, splice 5081, unsplice 8163, max 0, idle 0, accept 5582, send 22478, recv 5788, close 16139, drop 0 10.12 real 17.04 user 15.00 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 18114, splice 8088, unsplice 0, max 2929, idle 0, accept 8962, send 74089, recv 10716, close 25941, drop 0 10.05 real 14.99 user 15.17 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11597, splice 5390, unsplice 0, max 0, idle 0, accept 5844, send 52733, recv 10749, close 17203, drop 0 10.04 real 15.83 user 15.43 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2858, accept 2617, send 122766, recv 4401, close 0, drop 2608 10.20 real 17.72 user 15.95 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3526, splice 1516, unsplice 0, max 0, idle 0, accept 2289, send 199198, recv 74425, close 0, drop 4926 10.02 real 14.19 user 17.27 sys