==== 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 817, accept 54, send 349, recv 20, close 567, drop 0 10.04 real 15.90 user 5.58 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124504, accept 65888, send 168484, recv 66665, close 124654, drop 0 0m10.06s real 0m09.23s user 0m18.07s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17793, splice 6720, unsplice 0, max 0, idle 0, accept 7117, send 42514, recv 8655, close 28852, drop 0 10.03 real 14.11 user 9.05 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13865, splice 4025, unsplice 9510, max 0, idle 0, accept 5228, send 27300, recv 4582, close 20273, drop 0 10.03 real 16.76 user 13.74 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12972, splice 6185, unsplice 0, max 2140, idle 0, accept 6825, send 54725, recv 9866, close 19356, drop 0 10.01 real 16.14 user 13.43 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13177, splice 6182, unsplice 0, max 0, idle 6, accept 6684, send 56971, recv 9366, close 20178, drop 0 10.04 real 15.90 user 15.32 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2945, accept 2670, send 125227, recv 4371, close 0, drop 2659 10.02 real 17.76 user 15.42 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2277, splice 1140, unsplice 0, max 0, idle 0, accept 1512, send 195426, recv 87476, close 0, drop 3220 10.22 real 14.78 user 17.26 sys