==== 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 801, accept 81, send 365, recv 40, close 582, drop 0 10.02 real 15.72 user 9.48 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122649, accept 63665, send 155416, recv 63321, close 122242, drop 0 0m10.09s real 0m09.10s user 0m18.87s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10730, splice 5583, unsplice 0, max 0, idle 0, accept 5591, send 32447, recv 8474, close 18270, drop 0 10.02 real 14.03 user 10.82 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13411, splice 5690, unsplice 9857, max 0, idle 0, accept 6636, send 31058, recv 6787, close 20098, drop 0 10.03 real 17.14 user 15.53 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8213, splice 4694, unsplice 0, max 1996, idle 0, accept 4843, send 35460, recv 8559, close 12319, drop 0 10.08 real 17.69 user 16.12 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13527, splice 6074, unsplice 0, max 0, idle 0, accept 6962, send 65662, recv 10779, close 20360, drop 0 10.04 real 16.00 user 15.79 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2898, accept 2692, send 124209, recv 4346, close 0, drop 2681 10.02 real 18.08 user 16.70 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2324, splice 1089, unsplice 0, max 0, idle 0, accept 1468, send 180676, recv 77140, close 0, drop 3253 10.04 real 15.47 user 17.59 sys