==== 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 758, accept 64, send 328, recv 31, close 544, drop 0 10.03 real 15.01 user 8.76 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125623, accept 62388, send 155748, recv 61976, close 122498, drop 0 0m10.09s real 0m09.49s user 0m17.99s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 7269, splice 4587, unsplice 0, max 0, idle 0, accept 4517, send 24673, recv 8609, close 12922, drop 0 10.02 real 14.34 user 9.86 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13128, splice 4685, unsplice 9322, max 0, idle 0, accept 5388, send 27237, recv 5326, close 19562, drop 0 10.02 real 16.09 user 15.40 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11035, splice 5094, unsplice 0, max 1855, idle 0, accept 5445, send 42826, recv 6520, close 15977, drop 0 10.02 real 16.30 user 14.93 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13007, splice 6170, unsplice 0, max 0, idle 0, accept 6607, send 53220, recv 9799, close 18787, drop 0 10.19 real 16.42 user 14.88 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2891, accept 2652, send 123713, recv 4583, close 0, drop 2642 10.02 real 18.48 user 15.10 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2307, splice 1127, unsplice 0, max 0, idle 0, accept 1493, send 184769, recv 82151, close 0, drop 3219 10.08 real 15.34 user 16.37 sys