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

git: bnx: Optimize RX STD ring refilling scheduling


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 9 May 2013 02:08:56 -0700 (PDT)

commit 625c3ba34fbf0d2f37dd186a84212634b8c2e137
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed May 8 09:42:58 2013 +0800

    bnx: Optimize RX STD ring refilling scheduling
    
    At the end of the RX RET ring interrupt, the RX STD ring refilling is
    scheduled only when the number of consumed RX BDs are more then half of
    the RX STD ring size (256).
    
    This reduces the IPI rate on CPU that performs the RX STD ring refilling
    from ~17000ipis/s to ~4000ipis/s on the system with heavy network loading.

Summary of changes:
 sys/dev/netif/bnx/if_bnx.c    | 38 ++++++++++++++++++++++++++++++++++----
 sys/dev/netif/bnx/if_bnxvar.h |  5 ++++-
 2 files changed, 38 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/625c3ba34fbf0d2f37dd186a84212634b8c2e137


-- 
DragonFly BSD source repository



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