==== 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 828, accept 396, send 598, recv 134, close 853, drop 0 10.01 real 18.46 user 11.45 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 42692, accept 34059, send 75069, recv 34620, close 50672, drop 0 0m10.05s real 0m10.19s user 0m20.85s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 23087, splice 7956, unsplice 0, max 0, idle 0, accept 11098, send 54451, recv 12124, close 38618, drop 0 10.02 real 13.96 user 13.97 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 54414, splice 4889, unsplice 20731, max 0, idle 0, accept 7530, send 61902, recv 6463, close 52143, drop 0 10.03 real 13.69 user 18.38 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 22540, splice 7386, unsplice 0, max 2007, idle 0, accept 10063, send 79571, recv 11411, close 31388, drop 0 10.12 real 15.15 user 18.50 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22045, splice 7550, unsplice 0, max 0, idle 0, accept 10222, send 84310, recv 12815, close 31296, drop 0 10.02 real 15.02 user 18.40 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2878, accept 2727, send 124510, recv 4637, close 0, drop 2706 10.02 real 18.66 user 19.99 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3000, splice 607, unsplice 0, max 0, idle 0, accept 2208, send 144343, recv 32806, close 0, drop 4607 10.21 real 18.75 user 18.28 sys