==== 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 796, accept 76, send 363, recv 25, close 578, drop 0 10.04 real 15.32 user 5.81 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124448, accept 62590, send 155738, recv 62682, close 122424, drop 0 0m10.07s real 0m08.82s user 0m18.85s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14154, splice 6080, unsplice 0, max 0, idle 0, accept 6129, send 40985, recv 9505, close 22547, drop 0 10.02 real 14.15 user 7.66 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12549, splice 5824, unsplice 9677, max 0, idle 0, accept 6403, send 30170, recv 8228, close 18001, drop 0 10.02 real 16.47 user 14.19 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17273, splice 8097, unsplice 0, max 2848, idle 0, accept 8340, send 67993, recv 11766, close 23787, drop 0 10.03 real 15.38 user 14.42 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9607, splice 4690, unsplice 0, max 0, idle 0, accept 4997, send 45460, recv 9447, close 14314, drop 0 10.02 real 16.09 user 14.80 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2928, accept 2663, send 123427, recv 4336, close 0, drop 2658 10.16 real 17.87 user 14.92 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2707, splice 1317, unsplice 0, max 0, idle 0, accept 1704, send 165407, recv 56591, close 0, drop 3812 10.06 real 16.29 user 16.28 sys