==== 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 780, accept 81, send 364, recv 41, close 570, drop 0 10.04 real 15.89 user 5.61 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126032, accept 62157, send 153206, recv 62677, close 122228, drop 0 0m10.08s real 0m09.51s user 0m18.04s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 9816, splice 5239, unsplice 0, max 0, idle 0, accept 5143, send 28219, recv 9119, close 15923, drop 0 10.01 real 14.11 user 7.58 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15297, splice 5402, unsplice 9495, max 0, idle 0, accept 6283, send 33007, recv 5687, close 22188, drop 0 10.10 real 16.57 user 13.45 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13884, splice 6806, unsplice 0, max 2355, idle 0, accept 7079, send 56828, recv 9689, close 19757, drop 0 10.04 real 16.51 user 14.15 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12722, splice 4885, unsplice 0, max 0, idle 4, accept 5003, send 55587, recv 7304, close 15966, drop 0 10.02 real 15.91 user 13.72 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2885, accept 2647, send 123331, recv 4277, close 0, drop 2628 10.02 real 17.55 user 15.02 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2721, splice 1163, unsplice 0, max 0, idle 0, accept 1697, send 161760, recv 46486, close 0, drop 3718 10.11 real 16.29 user 16.25 sys