==== 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 767, accept 49, send 338, recv 23, close 512, drop 0 10.01 real 16.01 user 6.16 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129204, accept 62359, send 155467, recv 63639, close 124699, drop 0 0m10.08s real 0m09.38s user 0m18.24s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14956, splice 6059, unsplice 0, max 0, idle 0, accept 6496, send 35546, recv 6617, close 25832, drop 0 10.03 real 14.54 user 8.01 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15388, splice 5838, unsplice 10855, max 0, idle 0, accept 6976, send 30645, recv 6246, close 22817, drop 0 10.02 real 16.99 user 14.51 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8356, splice 4566, unsplice 0, max 1593, idle 0, accept 4733, send 33099, recv 7223, close 12782, drop 0 10.06 real 17.65 user 14.38 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14299, splice 6643, unsplice 0, max 0, idle 0, accept 7415, send 56801, recv 11696, close 21885, drop 0 10.12 real 15.77 user 15.08 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2895, accept 2676, send 123220, recv 4700, close 0, drop 2667 10.02 real 18.03 user 15.34 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2833, splice 1156, unsplice 0, max 0, idle 0, accept 1749, send 152086, recv 30366, close 0, drop 3794 10.10 real 16.20 user 16.46 sys