==== 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 849, accept 73, send 396, recv 29, close 587, drop 0 10.04 real 15.38 user 9.60 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125854, accept 62424, send 167429, recv 64444, close 122212, drop 0 0m10.08s real 0m09.60s user 0m17.94s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10185, splice 5451, unsplice 0, max 0, idle 0, accept 5273, send 34146, recv 9387, close 17224, drop 0 10.02 real 14.63 user 10.05 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15481, splice 4326, unsplice 10100, max 0, idle 0, accept 5658, send 30996, recv 4783, close 22607, drop 0 10.15 real 16.47 user 15.68 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10993, splice 5529, unsplice 0, max 2141, idle 0, accept 5993, send 47151, recv 9699, close 15839, drop 0 10.02 real 16.72 user 15.71 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14488, splice 6825, unsplice 0, max 0, idle 0, accept 7238, send 65541, recv 12032, close 20731, drop 0 10.05 real 15.64 user 16.05 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2962, accept 2694, send 124698, recv 4276, close 0, drop 2675 10.02 real 18.22 user 15.89 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3025, splice 1490, unsplice 0, max 0, idle 0, accept 2023, send 137372, recv 28240, close 0, drop 4311 10.18 real 17.08 user 16.00 sys