==== 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 780, accept 49, send 331, recv 32, close 551, drop 0 10.03 real 16.39 user 5.77 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122523, accept 62447, send 167215, recv 64964, close 120676, drop 0 0m10.06s real 0m09.01s user 0m17.81s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12352, splice 5980, unsplice 0, max 0, idle 0, accept 6003, send 37852, recv 9491, close 20268, drop 0 10.02 real 14.13 user 8.16 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13935, splice 4361, unsplice 9424, max 0, idle 0, accept 5248, send 27451, recv 5231, close 20093, drop 0 10.03 real 16.79 user 13.72 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11497, splice 4775, unsplice 0, max 1586, idle 0, accept 4559, send 50328, recv 5198, close 14868, drop 0 10.06 real 13.63 user 12.39 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8941, splice 4355, unsplice 0, max 0, idle 0, accept 4247, send 51305, recv 5995, close 12884, drop 0 10.12 real 13.03 user 12.09 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2887, accept 2658, send 123372, recv 4475, close 0, drop 2651 10.02 real 13.80 user 12.48 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1635, splice 750, unsplice 0, max 0, idle 0, accept 937, send 237046, recv 112485, close 0, drop 2083 10.04 real 10.99 user 13.57 sys