==== 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 802, accept 77, send 362, recv 42, close 577, drop 0 10.01 real 16.14 user 6.56 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127822, accept 63022, send 165037, recv 63425, close 124144, drop 0 0m10.08s real 0m09.12s user 0m18.30s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15920, splice 6687, unsplice 0, max 0, idle 0, accept 6603, send 45279, recv 9766, close 25001, drop 0 10.03 real 13.95 user 8.47 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 20621, splice 6790, unsplice 12020, max 0, idle 0, accept 7613, send 44945, recv 6127, close 29138, drop 0 10.03 real 16.21 user 14.41 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11059, splice 5091, unsplice 0, max 1877, idle 0, accept 5171, send 48450, recv 8075, close 14621, drop 0 10.06 real 15.71 user 14.28 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12999, splice 5700, unsplice 0, max 0, idle 0, accept 5340, send 67403, recv 10350, close 16248, drop 0 10.14 real 12.84 user 12.77 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3005, accept 2669, send 123781, recv 5057, close 0, drop 2655 10.02 real 14.17 user 12.24 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2733, splice 1371, unsplice 0, max 0, idle 0, accept 1654, send 177158, recv 55915, close 0, drop 3676 10.06 real 12.44 user 12.73 sys