==== 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 788, accept 58, send 338, recv 39, close 549, drop 0 10.02 real 15.00 user 9.32 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128462, accept 63988, send 150948, recv 62552, close 126370, drop 0 0m10.08s real 0m09.88s user 0m18.43s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9448, splice 4701, unsplice 0, max 0, idle 0, accept 4883, send 24200, recv 7429, close 16810, drop 0 10.04 real 14.28 user 9.53 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18703, splice 7431, unsplice 12949, max 0, idle 0, accept 8901, send 35802, recv 7971, close 28392, drop 0 10.14 real 15.55 user 15.37 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11951, splice 5473, unsplice 0, max 1837, idle 0, accept 6139, send 44885, recv 7028, close 17917, drop 0 10.21 real 16.48 user 16.04 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9537, splice 4808, unsplice 0, max 0, idle 0, accept 5323, send 35652, recv 9132, close 15321, drop 0 10.07 real 16.37 user 16.32 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2885, accept 2632, send 123019, recv 4435, close 0, drop 2624 10.02 real 18.29 user 15.93 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3608, splice 1585, unsplice 0, max 0, idle 0, accept 2248, send 197032, recv 68025, close 0, drop 4861 10.04 real 14.40 user 17.05 sys