==== 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 807, accept 44, send 329, recv 21, close 566, drop 0 10.03 real 14.61 user 9.33 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123636, accept 63816, send 153525, recv 62354, close 123526, drop 0 0m10.08s real 0m09.44s user 0m17.50s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11202, splice 5556, unsplice 0, max 0, idle 0, accept 5586, send 33069, recv 8208, close 18588, drop 0 10.01 real 13.59 user 10.02 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11448, splice 4782, unsplice 8423, max 0, idle 0, accept 5412, send 24925, recv 5765, close 16955, drop 0 10.01 real 17.16 user 14.66 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 7937, splice 4552, unsplice 0, max 1854, idle 0, accept 4525, send 31468, recv 8372, close 11524, drop 0 10.04 real 16.82 user 15.34 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10442, splice 5452, unsplice 0, max 0, idle 0, accept 5597, send 46507, recv 10061, close 15632, drop 0 10.13 real 16.32 user 15.37 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2875, accept 2647, send 123056, recv 4269, close 0, drop 2633 10.02 real 18.95 user 15.37 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2411, splice 892, unsplice 0, max 0, idle 0, accept 1465, send 183373, recv 77336, close 0, drop 3350 10.14 real 15.49 user 16.96 sys