==== 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 798, accept 71, send 368, recv 37, close 573, drop 0 10.01 real 14.44 user 10.62 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121878, accept 62737, send 158940, recv 63448, close 120506, drop 0 0m10.07s real 0m08.93s user 0m18.60s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12038, splice 5855, unsplice 0, max 0, idle 0, accept 5912, send 33372, recv 6841, close 20759, drop 0 10.02 real 13.51 user 10.79 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13678, splice 5960, unsplice 10190, max 0, idle 0, accept 6539, send 28966, recv 7721, close 20083, drop 0 10.05 real 17.65 user 14.86 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9030, splice 4734, unsplice 0, max 1853, idle 0, accept 4400, send 45839, recv 8049, close 12404, drop 0 10.04 real 13.62 user 12.23 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12603, splice 5801, unsplice 0, max 0, idle 0, accept 5208, send 63322, recv 10071, close 15668, drop 0 10.03 real 13.19 user 12.85 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3247, accept 2697, send 126536, recv 4836, close 0, drop 2678 10.02 real 14.09 user 12.90 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2411, splice 1162, unsplice 0, max 0, idle 0, accept 1365, send 227122, recv 100876, close 0, drop 3037 10.08 real 10.10 user 14.10 sys