From owner-svn-src-all@FreeBSD.ORG Tue Jul 21 10:56:06 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4D61106566C; Tue, 21 Jul 2009 10:56:06 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id 843F98FC0A; Tue, 21 Jul 2009 10:56:06 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from stasss.yandex.ru (dhcp170-227-red.yandex.net [95.108.170.227]) by mx0.deglitch.com (Postfix) with ESMTPSA id 8DB4C8FC27; Tue, 21 Jul 2009 14:56:04 +0400 (MSD) Date: Tue, 21 Jul 2009 14:55:59 +0400 From: Stanislav Sedov To: David Christensen Message-Id: <20090721145559.d2cf3f0b.stas@FreeBSD.org> In-Reply-To: <200902271925.n1RJP699080658@svn.freebsd.org> References: <200902271925.n1RJP699080658@svn.freebsd.org> Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__21_Jul_2009_14_55_59_+0400_lTQ9UKy7hhujs0+Z" Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r189117 - head/sys/dev/bce X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2009 10:56:07 -0000 --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 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--