==== 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 799, accept 71, send 368, recv 22, close 581, drop 0 10.02 real 15.73 user 5.59 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120536, accept 62998, send 152989, recv 62449, close 121003, drop 0 0m10.07s real 0m08.90s user 0m18.52s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12975, splice 6201, unsplice 0, max 0, idle 0, accept 6303, send 39971, recv 9635, close 21168, drop 0 10.04 real 14.34 user 7.73 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17286, splice 5663, unsplice 11364, max 0, idle 0, accept 6304, send 36344, recv 5878, close 25088, drop 0 10.06 real 16.10 user 13.65 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8576, splice 4312, unsplice 0, max 1576, idle 0, accept 4409, send 36677, recv 7374, close 12085, drop 0 10.02 real 15.05 user 13.66 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7407, splice 4047, unsplice 0, max 0, idle 0, accept 3678, send 42248, recv 7960, close 10531, drop 0 10.04 real 12.79 user 12.49 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3156, accept 2646, send 124588, recv 4774, close 0, drop 2638 10.02 real 13.54 user 12.67 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2599, splice 1287, unsplice 0, max 0, idle 0, accept 1427, send 176079, recv 63322, close 0, drop 3265 10.08 real 11.47 user 13.43 sys