==== 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 797, accept 63, send 309, recv 24, close 594, drop 0 10.03 real 15.09 user 9.09 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123998, accept 61817, send 151206, recv 61918, close 121395, drop 0 0m10.08s real 0m09.53s user 0m18.02s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10620, splice 5677, unsplice 0, max 0, idle 0, accept 5754, send 30227, recv 8911, close 18109, drop 0 10.22 real 13.57 user 10.43 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15106, splice 4693, unsplice 9565, max 0, idle 0, accept 5377, send 32344, recv 5028, close 21768, drop 0 10.06 real 16.56 user 14.31 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17974, splice 8031, unsplice 0, max 2821, idle 0, accept 8151, send 71133, recv 12103, close 24052, drop 0 10.16 real 15.18 user 15.23 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12256, splice 6054, unsplice 0, max 0, idle 0, accept 6072, send 52398, recv 10663, close 17101, drop 0 10.17 real 16.49 user 15.72 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2915, accept 2679, send 124398, recv 4212, close 0, drop 2664 10.02 real 18.40 user 15.56 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2703, splice 1343, unsplice 0, max 0, idle 0, accept 1743, send 162555, recv 48010, close 0, drop 3719 10.02 real 15.72 user 16.61 sys