==== 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 838, accept 45, send 359, recv 21, close 571, drop 0 10.01 real 16.10 user 5.55 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123561, accept 62747, send 165013, recv 61906, close 121481, drop 0 0m10.07s real 0m08.86s user 0m18.40s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15618, splice 6509, unsplice 0, max 0, idle 0, accept 6639, send 43815, recv 8604, close 24694, drop 0 10.06 real 13.71 user 8.17 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11871, splice 4906, unsplice 8673, max 0, idle 0, accept 5627, send 26385, recv 7166, close 16542, drop 0 10.02 real 17.34 user 13.04 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16235, splice 7104, unsplice 0, max 2388, idle 0, accept 7993, send 65550, recv 9301, close 23779, drop 0 10.05 real 15.36 user 14.98 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13402, splice 6276, unsplice 0, max 0, idle 4, accept 6257, send 58324, recv 10751, close 18755, drop 0 10.16 real 15.86 user 14.39 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2880, accept 2648, send 123442, recv 4465, close 0, drop 2637 10.16 real 18.32 user 13.62 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2686, splice 1155, unsplice 0, max 0, idle 0, accept 1706, send 154675, recv 37925, close 0, drop 3749 10.04 real 16.18 user 15.84 sys