==== 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 779, accept 82, send 358, recv 34, close 585, drop 0 10.03 real 15.41 user 8.73 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123141, accept 62999, send 154747, recv 61190, close 122803, drop 0 0m10.08s real 0m09.14s user 0m18.51s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10303, splice 5449, unsplice 0, max 0, idle 0, accept 5428, send 31355, recv 8995, close 17556, drop 0 10.06 real 13.92 user 9.73 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18555, splice 6902, unsplice 12607, max 0, idle 0, accept 7757, send 38363, recv 7810, close 26718, drop 0 10.03 real 15.70 user 15.32 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17041, splice 7502, unsplice 0, max 2543, idle 0, accept 7884, send 68921, recv 10548, close 23138, drop 0 10.22 real 15.52 user 15.34 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14690, splice 6615, unsplice 0, max 0, idle 0, accept 6964, send 62548, recv 11913, close 20328, drop 0 10.11 real 15.07 user 16.64 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2930, accept 2645, send 123332, recv 4559, close 0, drop 2627 10.02 real 17.61 user 15.71 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2343, splice 1015, unsplice 0, max 0, idle 0, accept 1429, send 195406, recv 81594, close 0, drop 3187 10.09 real 14.80 user 17.50 sys