==== 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 795, accept 37, send 342, recv 15, close 511, drop 0 10.02 real 15.06 user 8.89 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121799, accept 62206, send 155541, recv 61304, close 121371, drop 0 0m10.07s real 0m09.85s user 0m17.65s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12034, splice 5940, unsplice 0, max 0, idle 0, accept 5901, send 35424, recv 8831, close 20199, drop 0 10.02 real 13.68 user 9.70 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 8224, splice 4562, unsplice 7590, max 0, idle 0, accept 4973, send 17859, recv 7063, close 12143, drop 0 10.02 real 17.40 user 15.12 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11895, splice 5001, unsplice 0, max 1667, idle 0, accept 5318, send 57147, recv 7055, close 16367, drop 0 10.05 real 10.92 user 10.27 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7146, splice 3802, unsplice 0, max 0, idle 4, accept 3451, send 77438, recv 9551, close 9792, drop 0 10.14 real 10.10 user 8.56 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3088, accept 2693, send 87223, recv 6804, close 0, drop 2682 10.02 real 10.48 user 8.65 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3378, splice 1661, unsplice 0, max 0, idle 0, accept 1840, send 178937, recv 27659, close 0, drop 4140 10.12 real 9.05 user 8.38 sys