==== 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 797, accept 118, send 400, recv 61, close 602, drop 0 10.01 real 16.01 user 5.86 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123972, accept 63389, send 167536, recv 63767, close 122514, drop 0 0m10.07s real 0m09.02s user 0m18.38s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 18237, splice 7877, unsplice 0, max 0, idle 0, accept 7891, send 51969, recv 10012, close 29263, drop 0 10.23 real 13.93 user 8.73 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14514, splice 5563, unsplice 9677, max 0, idle 0, accept 6213, send 33870, recv 6906, close 20197, drop 0 10.02 real 16.59 user 14.08 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12239, splice 5244, unsplice 0, max 1705, idle 0, accept 5646, send 51439, recv 7519, close 16920, drop 0 10.04 real 16.89 user 15.40 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9584, splice 4498, unsplice 0, max 0, idle 0, accept 4790, send 46460, recv 9501, close 13929, drop 0 10.02 real 17.36 user 14.27 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2907, accept 2652, send 124108, recv 4286, close 0, drop 2637 10.02 real 18.45 user 14.68 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2165, splice 1026, unsplice 0, max 0, idle 0, accept 1376, send 200490, recv 95811, close 0, drop 2981 10.08 real 15.30 user 17.16 sys