[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-current-users
Subject:    Re: RFC: mpsafe bridge and NIC drivers (vioif and wm)
From:       Ryota Ozaki <ozaki-r () iij ! ad ! jp>
Date:       2014-07-25 10:14:44
Message-ID: CAKrYomgv=mQfwV5Xby_LGSJeoiYv2=ZgHgYz7yyWk-_OfHYZ9g () mail ! gmail ! com
[Download RAW message or body]

Hi,

One more thing.

http://www.netbsd.org/~ozaki-r/wm-split-mutex.diff

This patch splits the mutex of wm into two: one for
tx and the other for rx. By doing so, lock contentions
can be reduced. We lock both for other operations
that need locking, e.g., init, stop and ioctl.

I didn't do it before because I saw performance
degradation by doing so. However, I tested again and
confirmed that there is no visible degradation.

Any comments?

  ozaki-r
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic