==== 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 833, accept 41, send 353, recv 22, close 557, drop 0 10.01 real 15.66 user 6.13 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 119494, accept 61975, send 163815, recv 62780, close 118725, drop 0 0m10.09s real 0m09.48s user 0m18.14s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15101, splice 6917, unsplice 0, max 0, idle 0, accept 7036, send 39865, recv 8835, close 24527, drop 0 10.14 real 13.68 user 7.99 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11578, splice 5100, unsplice 9311, max 0, idle 0, accept 5976, send 27267, recv 7529, close 16649, drop 0 10.06 real 16.92 user 14.47 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14862, splice 7117, unsplice 0, max 2556, idle 0, accept 7440, send 57089, recv 10738, close 20952, drop 0 10.05 real 15.79 user 14.45 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8621, splice 4624, unsplice 0, max 0, idle 0, accept 4689, send 40651, recv 9835, close 12745, drop 0 10.06 real 16.58 user 14.99 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2909, accept 2650, send 123248, recv 4388, close 0, drop 2633 10.02 real 17.61 user 15.64 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2112, splice 1038, unsplice 0, max 0, idle 0, accept 1376, send 201794, recv 101758, close 0, drop 3002 10.12 real 15.57 user 16.32 sys