==== 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 786, accept 58, send 326, recv 24, close 563, drop 0 10.02 real 15.80 user 5.78 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122497, accept 62396, send 160778, recv 63235, close 119885, drop 0 0m10.07s real 0m08.89s user 0m18.09s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12241, splice 6229, unsplice 0, max 0, idle 0, accept 6106, send 36672, recv 9400, close 20336, drop 0 10.04 real 13.77 user 9.43 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13338, splice 5404, unsplice 9914, max 0, idle 0, accept 6498, send 28791, recv 7379, close 19593, drop 0 10.01 real 16.62 user 13.73 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16599, splice 7941, unsplice 0, max 2825, idle 0, accept 8429, send 70088, recv 10658, close 24540, drop 0 10.02 real 15.52 user 14.49 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17647, splice 8039, unsplice 0, max 0, idle 0, accept 8114, send 77252, recv 11374, close 24731, drop 0 10.04 real 14.73 user 14.50 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2882, accept 2599, send 123211, recv 4418, close 0, drop 2592 10.02 real 18.00 user 14.75 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2410, splice 1268, unsplice 0, max 0, idle 0, accept 1545, send 178823, recv 66658, close 0, drop 3293 10.06 real 15.88 user 16.18 sys