==== 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 757, accept 106, send 353, recv 45, close 568, drop 0 10.03 real 15.45 user 5.69 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123067, accept 63623, send 178175, recv 68212, close 120642, drop 0 0m10.07s real 0m08.52s user 0m18.58s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13105, splice 6201, unsplice 0, max 0, idle 0, accept 6261, send 40590, recv 8656, close 21532, drop 0 10.20 real 14.26 user 7.32 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19002, splice 5449, unsplice 11709, max 0, idle 0, accept 6573, send 43910, recv 6455, close 25750, drop 0 10.03 real 15.94 user 14.59 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 18992, splice 7677, unsplice 0, max 2500, idle 0, accept 8348, send 83372, recv 10382, close 25008, drop 0 10.22 real 15.75 user 14.71 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 15532, splice 6299, unsplice 0, max 0, idle 0, accept 6447, send 66620, recv 9247, close 20598, drop 0 10.02 real 16.14 user 15.38 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3013, accept 2638, send 122482, recv 4290, close 0, drop 2621 10.02 real 17.93 user 14.94 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2717, splice 1262, unsplice 0, max 0, idle 0, accept 1792, send 163371, recv 52120, close 0, drop 3850 10.04 real 15.84 user 16.36 sys