svn commit: r189117 - head/sys/dev/bce

Stanislav Sedov stas at FreeBSD.org
Tue Jul 21 10:56:07 UTC 2009


On Fri, 27 Feb 2009 19:25:06 +0000 (UTC)
David Christensen <davidch at FreeBSD.org> mentioned:

> Author: davidch
> Date: Fri Feb 27 19:25:06 2009
> New Revision: 189117
> URL: http://svn.freebsd.org/changeset/base/189117
> 
> Log:
>   - Update copyright to 2009.
>   - Only enable split header operation when ZERO_COPY_SOCKETS is enabled in
>     the kernel.
>   

Hi, David!

It appears that this change leads to excessive memory fragmentation due to
large number of 9k contiguous buffers allocations performed.  I noticed
that under the relatively high load this can quickly lead to inability to send
any packets via bce(4) even on machines with high amount of memory (16 Gb).
I've been running with this change backed out for a long time and I don't
see any problems with this driver with last changes applied.

Interestingly enough, the split header functionality doesn't get enabled in
this driver now even if zero copy sockets are used as this option doesn't
get propagated to the driver due to missing opt_zero.h include.

After latest busdma_sync fixes can we revert this patch so it will not require
excessive amounts of 9k mbufs to operate?

Thanks!

-- 
Stanislav Sedov
ST4096-RIPE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20090721/670d5678/attachment.pgp


More information about the svn-src-head mailing list