panic ixgbevf / SMP under high network load

Gleb Smirnoff glebius at FreeBSD.org
Wed Oct 31 12:48:44 UTC 2012


  [back to list and adding Jack to Cc]

On Thu, Oct 25, 2012 at 10:06:40AM +0200, R?mi Pauchet wrote:
R> I'm testing network performance of FreeBSD using vmware esxi 5.1 with SR-IOV
R> 
R> I'm using  FreeBSD 8.3 kernel GENERIC, 4 cpus, ixgbevf driver with an Intel 82599EB dual 10 Gbps network interface
R> 
R> After a few seconds of udp ipv4 load (5Gbps x2, frame size 700), I have the following panic :

Remi reported that attached patch fixes the panic. Looks like ixv_rxeof() isn't
thread safe since doesn't expect its state being changed while lock is temporarily
dropped.

This is deja vu of an old problem in em(4):

http://freshbsd.org/commit/freebsd/r151314

Similar fix can be made for ixgbe(4). However, recently we had discussion on
removing this unlock entirely from drivers. Unlock/lock removal would not only
fix such kind of problems, but also would speed up processing.

Discussion starts here:

http://lists.freebsd.org/pipermail/freebsd-net/2012-October/033520.html

-- 
Totus tuus, Glebius.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ixv.c.diff
Type: text/x-diff
Size: 375 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20121031/6c4ce45d/attachment.diff>


More information about the freebsd-net mailing list