==== 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 862, accept 104, send 421, recv 57, close 627, drop 0 10.04 real 15.67 user 5.72 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122539, accept 62609, send 162651, recv 61151, close 121403, drop 0 0m10.09s real 0m09.03s user 0m18.49s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17302, splice 7267, unsplice 0, max 0, idle 0, accept 7199, send 51142, recv 9449, close 26829, drop 0 10.04 real 13.56 user 7.75 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13974, splice 5015, unsplice 8848, max 0, idle 0, accept 5603, send 30686, recv 5955, close 18975, drop 0 10.02 real 16.93 user 13.76 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12191, splice 5475, unsplice 0, max 2039, idle 0, accept 5857, send 57331, recv 9000, close 16270, drop 0 10.04 real 13.77 user 13.14 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11751, splice 5066, unsplice 0, max 0, idle 1, accept 5104, send 66248, recv 8098, close 15439, drop 0 10.20 real 12.45 user 12.24 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3139, accept 2720, send 128042, recv 5119, close 0, drop 2716 10.02 real 14.06 user 12.29 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2439, splice 1148, unsplice 0, max 0, idle 0, accept 1437, send 183955, recv 72843, close 0, drop 3154 10.04 real 12.04 user 13.08 sys