Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2009 14:55:59 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        David Christensen <davidch@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r189117 - head/sys/dev/bce
Message-ID:  <20090721145559.d2cf3f0b.stas@FreeBSD.org>
In-Reply-To: <200902271925.n1RJP699080658@svn.freebsd.org>
References:  <200902271925.n1RJP699080658@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Tue__21_Jul_2009_14_55_59_+0400_lTQ9UKy7hhujs0+Z
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

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

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 s=
end
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 requ=
ire
excessive amounts of 9k mbufs to operate?

Thanks!

--=20
Stanislav Sedov
ST4096-RIPE

--Signature=_Tue__21_Jul_2009_14_55_59_+0400_lTQ9UKy7hhujs0+Z
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQIcBAEBAgAGBQJKZZ7EAAoJEKN82nOYvCd0HUIP/20SzzrYWyfsPLEpIQTB/i3/
mrJF8B+S3fT8D6+iHCeVvfle3R7+Y5yh6ktPKlKUoqS5OYiodMu1oMb+QMUVDfie
yw5cO1TwA1Pblhst/rqQniFMKft7KGaD7CEJwzTZwaX50AiP4UqLoCgDDhUNmKec
PungtddnCwEaCxY2sW7lpXwvSfpU/sGS8NcIhnW35Dymj51g7LEbipFtr0EFnwFm
PTKbewEZSdzNZ3hsx8imphWBGc+ysG6PeMhPDP/+g5peWKg/YNVbW9nQY1EE1Voo
ogfbfupvwhT0z4iJH0HSxePEzmy/yK37M6xH1hFzoXcE6oGpVKMotZTlzeXTL8cH
O4ejW5poC3MbgGMAhD+u3LwqeuuFKBg8TzgJWQugY3rg1rIHsHv/aSbLwg4OVjtj
vxOPkG1t2n1W9NRYCSRAvkCApWcf8cZfNedV16T+zEEUR3StCqm/hMsWQT0fEwbW
DHWCvGi7Gu4s7hZkp0XKFGxj/zL01MTmWkflZhAfuW4lJEwF3gulJBcor9bnHGSo
IoOVD66DPfab0EIMjBHaE/FykuGpavcx6g87bHtrUk9cfm5xQhjLYmRpc7Bv4WIC
80O/p5uy+JMy4hHkiAFdGTvvGNT2/7JbKLUFUA1CURFfjEtH8hKZuAOoTcgL6R5U
pNGiZh+Z+Ai4ZNGi8io0
=330v
-----END PGP SIGNATURE-----

--Signature=_Tue__21_Jul_2009_14_55_59_+0400_lTQ9UKy7hhujs0+Z--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090721145559.d2cf3f0b.stas>