==== 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 854, accept 72, send 384, recv 22, close 611, drop 0 10.04 real 16.35 user 5.55 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120069, accept 62040, send 157727, recv 59129, close 120449, drop 0 0m10.08s real 0m09.35s user 0m18.21s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10503, splice 5279, unsplice 0, max 0, idle 0, accept 5246, send 33010, recv 7391, close 17911, drop 0 10.02 real 14.28 user 7.07 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16928, splice 5830, unsplice 10668, max 0, idle 0, accept 6976, send 35834, recv 5949, close 24683, drop 0 10.16 real 16.59 user 13.91 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15333, splice 6614, unsplice 0, max 2363, idle 0, accept 7242, send 63374, recv 11193, close 21128, drop 0 10.21 real 15.59 user 13.79 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12617, splice 5718, unsplice 0, max 0, idle 0, accept 6336, send 54396, recv 9175, close 18695, drop 0 10.03 real 17.04 user 13.57 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2892, accept 2673, send 123146, recv 4560, close 0, drop 2664 10.02 real 17.89 user 14.49 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2208, splice 1076, unsplice 0, max 0, idle 0, accept 1407, send 197299, recv 88920, close 0, drop 3009 10.08 real 14.82 user 16.60 sys