==== 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 845, accept 46, send 399, recv 22, close 549, drop 0 10.03 real 15.11 user 9.38 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122329, accept 62312, send 160328, recv 61865, close 120466, drop 0 0m10.07s real 0m08.87s user 0m18.53s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13703, splice 6531, unsplice 0, max 0, idle 0, accept 6648, send 38693, recv 8976, close 23236, drop 0 10.03 real 13.51 user 10.06 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15438, splice 6169, unsplice 10415, max 0, idle 0, accept 6386, send 32768, recv 6889, close 22151, drop 0 10.22 real 16.28 user 15.08 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15988, splice 7095, unsplice 0, max 2540, idle 0, accept 7246, send 62289, recv 10961, close 20947, drop 0 10.12 real 15.33 user 15.27 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10912, splice 4998, unsplice 0, max 0, idle 0, accept 5305, send 51982, recv 10126, close 15488, drop 0 10.06 real 15.83 user 15.69 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2883, accept 2610, send 122974, recv 4448, close 0, drop 2593 10.02 real 17.90 user 15.81 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2565, splice 1072, unsplice 0, max 0, idle 0, accept 1642, send 163142, recv 62730, close 0, drop 3632 10.12 real 16.14 user 16.14 sys