==== 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 747, accept 56, send 349, recv 32, close 506, drop 0 10.01 real 15.54 user 8.92 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123494, accept 63475, send 154755, recv 61457, close 123097, drop 0 0m10.07s real 0m09.18s user 0m18.81s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10107, splice 5157, unsplice 0, max 0, idle 0, accept 5074, send 34518, recv 9243, close 16438, drop 0 10.11 real 14.32 user 9.71 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15067, splice 5560, unsplice 9628, max 0, idle 0, accept 6563, send 32812, recv 5452, close 22906, drop 0 10.02 real 16.78 user 14.60 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11697, splice 5272, unsplice 0, max 1900, idle 0, accept 5933, send 46048, recv 8576, close 16624, drop 0 10.02 real 16.70 user 15.18 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13432, splice 6147, unsplice 0, max 0, idle 0, accept 6639, send 62224, recv 9436, close 20308, drop 0 10.09 real 15.67 user 15.39 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2913, accept 2605, send 122575, recv 4303, close 0, drop 2586 10.02 real 17.94 user 15.82 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2846, splice 1417, unsplice 0, max 0, idle 0, accept 1875, send 153399, recv 42275, close 0, drop 3966 10.02 real 16.33 user 15.90 sys