==== 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 808, accept 92, send 359, recv 45, close 620, drop 0 10.03 real 15.98 user 9.61 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127010, accept 62077, send 170058, recv 60693, close 122985, drop 0 0m10.08s real 0m09.29s user 0m18.34s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14370, splice 6435, unsplice 0, max 0, idle 0, accept 6456, send 42371, recv 8830, close 22743, drop 0 10.05 real 14.15 user 10.84 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17388, splice 5347, unsplice 10109, max 0, idle 0, accept 6169, send 39139, recv 5471, close 23704, drop 0 10.13 real 16.20 user 15.66 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16532, splice 7001, unsplice 0, max 2434, idle 0, accept 7366, send 73619, recv 10743, close 21493, drop 0 10.03 real 14.47 user 14.90 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9126, splice 4081, unsplice 0, max 0, idle 0, accept 3895, send 53374, recv 6699, close 12545, drop 0 10.11 real 12.59 user 12.64 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2942, accept 2654, send 125025, recv 5162, close 0, drop 2649 10.02 real 13.66 user 12.95 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2219, splice 1005, unsplice 0, max 0, idle 0, accept 1251, send 195714, recv 79327, close 0, drop 2849 10.06 real 10.90 user 13.32 sys