==== 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 834, accept 58, send 392, recv 30, close 571, drop 0 10.03 real 16.36 user 5.11 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121793, accept 63232, send 160351, recv 65906, close 121238, drop 0 0m10.07s real 0m09.02s user 0m18.26s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15471, splice 6893, unsplice 0, max 0, idle 0, accept 6976, send 45057, recv 8906, close 25111, drop 0 10.04 real 14.28 user 8.28 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13624, splice 5456, unsplice 9682, max 0, idle 0, accept 6155, send 30980, recv 5935, close 20127, drop 0 10.06 real 16.99 user 13.50 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10935, splice 4979, unsplice 0, max 1863, idle 0, accept 5406, send 42382, recv 6649, close 16362, drop 0 10.08 real 16.36 user 14.21 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10015, splice 4824, unsplice 0, max 0, idle 0, accept 5228, send 44840, recv 7858, close 15228, drop 0 10.02 real 16.75 user 14.19 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2908, accept 2642, send 123346, recv 4290, close 0, drop 2623 10.02 real 17.74 user 15.03 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2564, splice 1316, unsplice 0, max 0, idle 0, accept 1664, send 177153, recv 66492, close 0, drop 3538 10.18 real 16.01 user 15.93 sys