==== 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 756, accept 45, send 341, recv 18, close 513, drop 0 10.01 real 14.43 user 10.28 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129002, accept 61406, send 145068, recv 61655, close 124362, drop 0 0m10.08s real 0m10.10s user 0m17.66s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13654, splice 5550, unsplice 0, max 0, idle 0, accept 5922, send 31558, recv 7244, close 23428, drop 0 10.02 real 13.69 user 10.69 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15391, splice 4367, unsplice 10219, max 0, idle 0, accept 6232, send 30142, recv 4826, close 23297, drop 0 10.03 real 16.43 user 15.51 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9028, splice 4778, unsplice 0, max 1736, idle 0, accept 5406, send 32968, recv 8991, close 14001, drop 0 10.01 real 16.89 user 16.13 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8882, splice 4658, unsplice 0, max 0, idle 0, accept 4887, send 33291, recv 8506, close 14156, drop 0 10.05 real 16.53 user 16.15 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5523, accept 5044, send 183122, recv 8444, close 0, drop 5030 10.02 real 16.99 user 16.60 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 4949, splice 944, unsplice 0, max 0, idle 0, accept 2312, send 106153, recv 5934, close 0, drop 6463 10.04 real 16.75 user 16.07 sys