==== 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 784, accept 72, send 363, recv 29, close 546, drop 0 10.04 real 15.02 user 9.49 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124949, accept 62248, send 164506, recv 61221, close 122078, drop 0 0m10.09s real 0m08.90s user 0m18.17s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14932, splice 7002, unsplice 0, max 0, idle 0, accept 7001, send 46448, recv 9108, close 24785, drop 0 10.03 real 13.40 user 10.94 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14998, splice 5340, unsplice 9600, max 0, idle 0, accept 6025, send 35635, recv 6833, close 20147, drop 0 10.02 real 17.84 user 14.98 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 7828, splice 4219, unsplice 0, max 1765, idle 0, accept 4124, send 37283, recv 7685, close 10588, drop 0 10.02 real 15.36 user 13.20 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11845, splice 6474, unsplice 0, max 0, idle 0, accept 6227, send 69630, recv 10908, close 17476, drop 0 10.03 real 12.22 user 12.62 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3112, accept 2715, send 126152, recv 5120, close 0, drop 2707 10.02 real 13.55 user 12.98 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2409, splice 1105, unsplice 0, max 0, idle 0, accept 1396, send 201270, recv 73799, close 0, drop 3078 10.06 real 11.40 user 13.08 sys