==== 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 802, accept 69, send 368, recv 27, close 548, drop 0 10.01 real 16.54 user 5.88 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122553, accept 62232, send 166351, recv 66178, close 119789, drop 0 0m10.09s real 0m09.35s user 0m18.12s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14212, splice 6462, unsplice 0, max 0, idle 0, accept 6653, send 43923, recv 10045, close 23389, drop 0 10.10 real 13.91 user 8.30 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10696, splice 5020, unsplice 8536, max 0, idle 0, accept 5651, send 23993, recv 7408, close 15573, drop 0 10.04 real 17.38 user 13.33 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11725, splice 5663, unsplice 0, max 2093, idle 0, accept 6087, send 50016, recv 9299, close 16922, drop 0 10.09 real 16.19 user 14.42 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14798, splice 6573, unsplice 0, max 0, idle 0, accept 7052, send 67892, recv 11203, close 21246, drop 0 10.05 real 15.36 user 15.27 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2885, accept 2659, send 123691, recv 4255, close 0, drop 2643 10.02 real 17.81 user 14.68 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2405, splice 1026, unsplice 0, max 0, idle 0, accept 1555, send 182584, recv 73884, close 0, drop 3353 10.04 real 14.88 user 16.43 sys