==== 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 804, accept 71, send 387, recv 37, close 562, drop 0 10.01 real 14.92 user 8.90 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124121, accept 62704, send 159706, recv 65662, close 121474, drop 0 0m10.08s real 0m09.18s user 0m18.06s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12865, splice 6062, unsplice 0, max 0, idle 0, accept 6251, send 37011, recv 9213, close 21499, drop 0 10.02 real 13.44 user 10.95 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17772, splice 6589, unsplice 10514, max 0, idle 0, accept 7170, send 35936, recv 7422, close 24382, drop 0 10.03 real 16.72 user 14.21 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13659, splice 6060, unsplice 0, max 2302, idle 0, accept 6520, send 52550, recv 9943, close 18137, drop 0 10.11 real 15.88 user 15.40 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12018, splice 5615, unsplice 0, max 0, idle 1, accept 6037, send 59202, recv 11539, close 16932, drop 0 10.06 real 16.47 user 14.85 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2907, accept 2673, send 124276, recv 4427, close 0, drop 2663 10.02 real 18.08 user 15.46 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2549, splice 1074, unsplice 0, max 0, idle 0, accept 1589, send 178472, recv 62238, close 0, drop 3452 10.04 real 15.69 user 16.72 sys