==== 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 756, accept 85, send 369, recv 40, close 542, drop 0 10.02 real 15.68 user 5.97 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123526, accept 62926, send 157629, recv 63026, close 121888, drop 0 0m10.07s real 0m09.40s user 0m17.75s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15347, splice 7168, unsplice 0, max 0, idle 0, accept 7242, send 44158, recv 10222, close 24867, drop 0 10.02 real 13.51 user 8.62 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14968, splice 6157, unsplice 9653, max 0, idle 0, accept 6185, send 30629, recv 6741, close 21206, drop 0 10.22 real 15.96 user 13.96 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19920, splice 8987, unsplice 0, max 3017, idle 0, accept 9332, send 81124, recv 12132, close 27584, drop 0 10.04 real 14.98 user 14.74 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14343, splice 6375, unsplice 0, max 0, idle 0, accept 6623, send 65662, recv 10071, close 20636, drop 0 10.02 real 15.69 user 15.03 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2926, accept 2668, send 124712, recv 4475, close 0, drop 2651 10.02 real 18.01 user 15.05 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1991, splice 960, unsplice 0, max 0, idle 0, accept 1286, send 209388, recv 106027, close 0, drop 2764 10.08 real 14.48 user 16.98 sys