==== 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 844, accept 393, send 685, recv 115, close 843, drop 0 10.02 real 18.53 user 11.68 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 44975, accept 34976, send 78822, recv 37389, close 52389, drop 0 0m10.04s real 0m10.43s user 0m20.05s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 23189, splice 7705, unsplice 0, max 0, idle 0, accept 10837, send 57536, recv 11896, close 38040, drop 0 10.03 real 14.10 user 13.10 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 33814, splice 5652, unsplice 19500, max 0, idle 0, accept 8132, send 53311, recv 7233, close 41905, drop 0 10.04 real 14.61 user 17.81 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 24618, splice 8287, unsplice 0, max 2132, idle 0, accept 10391, send 89503, recv 11559, close 34368, drop 0 10.03 real 14.07 user 18.63 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22807, splice 7991, unsplice 0, max 0, idle 0, accept 10045, send 89497, recv 13327, close 31673, drop 0 10.03 real 14.24 user 18.65 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2938, accept 2776, send 125518, recv 4667, close 0, drop 2755 10.01 real 19.12 user 19.45 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2422, splice 550, unsplice 0, max 0, idle 0, accept 1750, send 213114, recv 92339, close 0, drop 3682 10.05 real 16.55 user 19.06 sys