==== 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 778, accept 65, send 324, recv 31, close 571, drop 0 10.01 real 16.30 user 5.78 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129166, accept 61982, send 148604, recv 62566, close 124238, drop 0 0m10.09s real 0m09.36s user 0m18.22s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15836, splice 6346, unsplice 0, max 0, idle 0, accept 6941, send 37811, recv 7223, close 26490, drop 0 10.02 real 14.10 user 8.49 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15494, splice 6315, unsplice 11128, max 0, idle 0, accept 7462, send 31304, recv 6684, close 23236, drop 0 10.05 real 15.83 user 14.50 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8969, splice 4543, unsplice 0, max 1558, idle 0, accept 5141, send 34851, recv 8261, close 13778, drop 0 10.21 real 16.71 user 14.40 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9833, splice 4521, unsplice 0, max 0, idle 0, accept 5239, send 39940, recv 7683, close 15688, drop 0 10.02 real 16.36 user 14.84 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2899, accept 2651, send 123439, recv 4438, close 0, drop 2639 10.02 real 17.50 user 15.39 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2918, splice 1141, unsplice 0, max 0, idle 0, accept 1804, send 214286, recv 98001, close 0, drop 3972 10.12 real 13.98 user 17.65 sys