==== 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 783, accept 46, send 339, recv 17, close 524, drop 0 10.03 real 15.98 user 6.17 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 133644, accept 62359, send 148806, recv 61960, close 127276, drop 0 0m10.09s real 0m09.68s user 0m18.22s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10033, splice 5473, unsplice 0, max 0, idle 0, accept 5437, send 31708, recv 9053, close 17121, drop 0 10.02 real 14.42 user 7.30 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13865, splice 5738, unsplice 10093, max 0, idle 0, accept 6379, send 33862, recv 6203, close 20517, drop 0 10.03 real 15.63 user 14.04 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14644, splice 6315, unsplice 0, max 2169, idle 0, accept 6843, send 60524, recv 8965, close 20123, drop 0 10.05 real 14.33 user 14.00 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11934, splice 4459, unsplice 0, max 0, idle 0, accept 4976, send 64129, recv 6509, close 15994, drop 0 10.04 real 12.66 user 12.41 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5650, accept 5017, send 120249, recv 9567, close 0, drop 5009 10.03 real 13.35 user 12.72 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1976, splice 948, unsplice 0, max 0, idle 0, accept 1150, send 198359, recv 84850, close 0, drop 2625 10.04 real 11.55 user 13.76 sys