==== 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 838, accept 75, send 355, recv 36, close 603, drop 0 10.02 real 16.06 user 5.93 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123312, accept 61841, send 160825, recv 62769, close 120790, drop 0 0m10.08s real 0m09.40s user 0m18.30s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17569, splice 7276, unsplice 0, max 0, idle 0, accept 7357, send 49095, recv 9643, close 27184, drop 0 10.03 real 13.92 user 8.00 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16826, splice 4339, unsplice 9803, max 0, idle 0, accept 5199, send 35721, recv 4754, close 22522, drop 0 10.03 real 15.78 user 14.78 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14591, splice 6286, unsplice 0, max 2241, idle 0, accept 6779, send 61514, recv 8814, close 20009, drop 0 10.03 real 16.11 user 14.74 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 21151, splice 8471, unsplice 0, max 0, idle 0, accept 8713, send 94379, recv 12387, close 27848, drop 0 10.03 real 15.14 user 14.99 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3038, accept 2669, send 121955, recv 4418, close 0, drop 2658 10.02 real 17.86 user 15.13 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2196, splice 1011, unsplice 0, max 0, idle 0, accept 1413, send 190803, recv 88741, close 0, drop 3085 10.15 real 14.92 user 17.11 sys