==== 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 75, send 373, recv 29, close 535, drop 0 10.03 real 15.81 user 5.64 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123794, accept 62758, send 165743, recv 61868, close 121954, drop 0 0m10.07s real 0m09.12s user 0m18.61s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12277, splice 6057, unsplice 0, max 0, idle 0, accept 6140, send 36415, recv 8717, close 20842, drop 0 10.06 real 14.46 user 7.71 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17394, splice 6298, unsplice 12037, max 0, idle 0, accept 7282, send 37939, recv 7037, close 25130, drop 0 10.03 real 15.92 user 14.64 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12717, splice 5589, unsplice 0, max 1899, idle 0, accept 5499, send 54546, recv 8478, close 16064, drop 0 10.02 real 14.40 user 13.88 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7007, splice 3961, unsplice 0, max 0, idle 0, accept 3549, send 42308, recv 8781, close 9752, drop 0 10.12 real 13.31 user 12.28 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5659, accept 4997, send 125308, recv 9511, close 0, drop 4982 10.22 real 13.60 user 12.47 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2108, splice 929, unsplice 0, max 0, idle 0, accept 1179, send 217948, recv 91126, close 0, drop 2722 10.12 real 11.07 user 13.31 sys