DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: emx: Add EMX_TSO_DEBUG


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 1 Aug 2012 02:17:30 -0700 (PDT)

commit 0c0e1638b808d58479e41e5cd14e1354db2154b5
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed Aug 1 17:09:58 2012 +0800

    emx: Add EMX_TSO_DEBUG
    
    It is used to measure TSO context reuse rate.  Setting up TX context
    interferes TX data fetching pipelining, thus reduces performance, so
    TX context setting up should be avoided as much as possible.
    
    According to limited measurement:
    - 1 one direction TX stream, reuse rate is ~40%
    - 16 one direction TX streams, reuse rate is ~20%
    - 16 bi-direction streams (total 32), reuse rate is ~10%

Summary of changes:
 sys/conf/options           |    1 +
 sys/config/LINT            |    1 +
 sys/config/LINT64          |    1 +
 sys/dev/netif/emx/if_emx.c |   10 ++++++++++
 sys/dev/netif/emx/if_emx.h |    2 ++
 5 files changed, 15 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0c0e1638b808d58479e41e5cd14e1354db2154b5


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]