==== 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 56, send 338, recv 23, close 536, drop 0 10.03 real 16.25 user 5.26 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 126288, accept 62053, send 148648, recv 60796, close 123521, drop 0 0m10.08s real 0m08.67s user 0m18.51s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13792, splice 6333, unsplice 0, max 0, idle 0, accept 6480, send 39488, recv 7713, close 22964, drop 0 10.15 real 13.66 user 8.43 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15273, splice 4548, unsplice 10187, max 0, idle 0, accept 5651, send 33899, recv 5487, close 22025, drop 0 10.05 real 16.57 user 12.92 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13757, splice 6196, unsplice 0, max 2151, idle 0, accept 6686, send 53114, recv 8949, close 19507, drop 0 10.05 real 16.53 user 14.56 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9999, splice 5019, unsplice 0, max 0, idle 0, accept 5320, send 45780, recv 9687, close 15054, drop 0 10.03 real 15.90 user 15.10 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2914, accept 2675, send 123200, recv 4392, close 0, drop 2669 10.22 real 18.29 user 14.73 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2669, splice 1136, unsplice 0, max 0, idle 0, accept 1642, send 164244, recv 47452, close 0, drop 3653 10.05 real 16.08 user 16.53 sys