==== 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 54, send 355, recv 23, close 530, drop 0 10.02 real 15.41 user 8.36 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126926, accept 62923, send 163990, recv 63414, close 123396, drop 0 0m10.07s real 0m09.14s user 0m18.97s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11722, splice 5977, unsplice 0, max 0, idle 0, accept 6052, send 33652, recv 9024, close 19876, drop 0 10.01 real 13.88 user 10.54 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16066, splice 5281, unsplice 10404, max 0, idle 0, accept 6276, send 31616, recv 5472, close 23812, drop 0 10.14 real 16.01 user 14.96 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15434, splice 6569, unsplice 0, max 2273, idle 0, accept 7483, send 62399, recv 10284, close 21662, drop 0 10.04 real 15.65 user 15.87 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9906, splice 4730, unsplice 0, max 0, idle 0, accept 5232, send 48928, recv 10157, close 14434, drop 0 10.02 real 16.60 user 15.86 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2893, accept 2659, send 123635, recv 4657, close 0, drop 2641 10.02 real 17.40 user 16.36 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1955, splice 920, unsplice 0, max 0, idle 0, accept 1226, send 207962, recv 102086, close 0, drop 2644 10.08 real 14.54 user 17.67 sys