==== 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 807, accept 72, send 377, recv 22, close 587, drop 0 10.03 real 15.37 user 6.16 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123909, accept 61844, send 149664, recv 59225, close 122015, drop 0 0m10.07s real 0m09.83s user 0m17.53s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12481, splice 5973, unsplice 0, max 0, idle 0, accept 5987, send 39831, recv 8532, close 21184, drop 0 10.05 real 14.26 user 7.83 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10147, splice 5044, unsplice 8034, max 0, idle 0, accept 5197, send 21590, recv 5781, close 15326, drop 0 10.02 real 17.63 user 14.64 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12308, splice 5788, unsplice 0, max 2114, idle 0, accept 6180, send 59760, recv 9305, close 17073, drop 0 10.08 real 13.21 user 12.10 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8831, splice 4437, unsplice 0, max 0, idle 1, accept 4106, send 91161, recv 9081, close 11847, drop 0 10.02 real 10.15 user 8.21 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2819, accept 2661, send 96456, recv 6038, close 0, drop 2649 10.02 real 11.19 user 7.74 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 4301, splice 1723, unsplice 0, max 0, idle 0, accept 1935, send 176326, recv 27363, close 0, drop 4670 10.05 real 9.10 user 8.72 sys