==== 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 784, accept 75, send 362, recv 34, close 557, drop 0 10.01 real 15.56 user 6.97 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125131, accept 62515, send 147671, recv 60608, close 123067, drop 0 0m10.08s real 0m09.48s user 0m18.13s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10312, splice 5369, unsplice 0, max 0, idle 0, accept 5328, send 31317, recv 6779, close 18254, drop 0 10.16 real 13.81 user 7.97 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12885, splice 4793, unsplice 9378, max 0, idle 0, accept 6217, send 26050, recv 6011, close 19601, drop 0 10.09 real 17.23 user 13.60 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14840, splice 7156, unsplice 0, max 2593, idle 0, accept 7461, send 68215, recv 10434, close 21058, drop 0 10.14 real 13.08 user 13.03 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8023, splice 4068, unsplice 0, max 0, idle 0, accept 3587, send 43355, recv 8346, close 10283, drop 0 10.03 real 12.55 user 13.25 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3096, accept 2646, send 123961, recv 5105, close 0, drop 2635 10.02 real 14.38 user 12.10 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2578, splice 1270, unsplice 0, max 0, idle 0, accept 1467, send 187423, recv 68212, close 0, drop 3367 10.03 real 11.64 user 12.89 sys