==== 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 777, accept 59, send 332, recv 33, close 533, drop 0 10.02 real 15.72 user 5.98 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120775, accept 61969, send 155652, recv 61172, close 119813, drop 0 0m10.07s real 0m09.59s user 0m17.91s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11355, splice 5705, unsplice 0, max 0, idle 0, accept 5624, send 34067, recv 7022, close 19659, drop 0 10.09 real 14.02 user 7.53 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15065, splice 5555, unsplice 9750, max 0, idle 0, accept 6538, send 33229, recv 5653, close 22475, drop 0 10.04 real 15.98 user 13.92 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16221, splice 7399, unsplice 0, max 2756, idle 0, accept 8060, send 62787, recv 11054, close 22494, drop 0 10.02 real 15.64 user 14.03 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16964, splice 7387, unsplice 0, max 0, idle 0, accept 7694, send 74364, recv 12074, close 23921, drop 0 10.16 real 15.52 user 15.05 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2874, accept 2632, send 123994, recv 4392, close 0, drop 2626 10.02 real 17.92 user 14.60 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2170, splice 1154, unsplice 0, max 0, idle 0, accept 1452, send 199254, recv 93292, close 0, drop 3077 10.06 real 15.69 user 16.10 sys