==== 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 842, accept 34, send 345, recv 20, close 550, drop 0 10.04 real 15.12 user 9.42 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121661, accept 61717, send 162073, recv 63061, close 119527, drop 0 0m10.07s real 0m09.40s user 0m18.04s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13302, splice 4808, unsplice 0, max 0, idle 0, accept 5255, send 32999, recv 6023, close 21553, drop 0 10.02 real 14.20 user 9.88 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13172, splice 3913, unsplice 8533, max 0, idle 0, accept 4694, send 26718, recv 4322, close 19099, drop 0 10.03 real 16.56 user 15.07 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13951, splice 6783, unsplice 0, max 2322, idle 0, accept 6954, send 64116, recv 9109, close 19874, drop 0 10.04 real 13.26 user 13.16 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11201, splice 4438, unsplice 0, max 0, idle 0, accept 4211, send 54230, recv 5291, close 14135, drop 0 10.04 real 12.93 user 12.43 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3071, accept 2697, send 123958, recv 4987, close 0, drop 2687 10.02 real 13.50 user 12.78 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1903, splice 889, unsplice 0, max 0, idle 0, accept 1088, send 209724, recv 106232, close 0, drop 2475 10.08 real 11.01 user 13.10 sys