==== 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 46, send 384, recv 21, close 540, drop 0 10.03 real 14.60 user 9.84 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123860, accept 62904, send 162249, recv 62629, close 122089, drop 0 0m10.08s real 0m09.18s user 0m18.54s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12246, splice 5743, unsplice 0, max 0, idle 0, accept 5757, send 35229, recv 7163, close 20406, drop 0 10.12 real 13.52 user 10.26 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9224, splice 4345, unsplice 6640, max 0, idle 0, accept 4510, send 19353, recv 4995, close 13952, drop 0 10.03 real 17.10 user 15.39 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15315, splice 7015, unsplice 0, max 2396, idle 0, accept 7087, send 63564, recv 9747, close 20838, drop 0 10.03 real 14.85 user 14.64 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7778, splice 4165, unsplice 0, max 0, idle 1, accept 3747, send 47893, recv 9360, close 10582, drop 0 10.02 real 13.09 user 12.82 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3119, accept 2728, send 126568, recv 5298, close 0, drop 2719 10.02 real 13.46 user 13.26 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2686, splice 1327, unsplice 0, max 0, idle 0, accept 1509, send 178752, recv 62643, close 0, drop 3450 10.04 real 11.86 user 12.92 sys