==== 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 773, accept 38, send 325, recv 16, close 534, drop 0 10.04 real 15.84 user 5.92 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125910, accept 61244, send 151699, recv 63085, close 121706, drop 0 0m10.08s real 0m09.88s user 0m17.60s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12541, splice 6176, unsplice 0, max 0, idle 0, accept 6274, send 35943, recv 7363, close 21488, drop 0 10.02 real 14.59 user 7.70 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14241, splice 5440, unsplice 10519, max 0, idle 0, accept 6106, send 34114, recv 6684, close 20881, drop 0 10.02 real 17.23 user 14.25 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15992, splice 7540, unsplice 0, max 2593, idle 0, accept 8087, send 68339, recv 10325, close 23456, drop 0 10.14 real 14.19 user 14.12 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11404, splice 5276, unsplice 0, max 0, idle 2, accept 4755, send 65818, recv 8332, close 14748, drop 0 10.12 real 12.45 user 12.27 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3239, accept 2679, send 124369, recv 5505, close 0, drop 2659 10.08 real 14.08 user 12.37 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2411, splice 1176, unsplice 0, max 0, idle 0, accept 1353, send 190388, recv 69082, close 0, drop 3048 10.05 real 11.55 user 13.09 sys