From owner-freebsd-current@FreeBSD.ORG Mon Oct 3 20:23:24 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5227516A41F for ; Mon, 3 Oct 2005 20:23:24 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8429543D46 for ; Mon, 3 Oct 2005 20:23:23 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id j93KNKDB079244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Oct 2005 00:23:21 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id j93KNK2k079243; Tue, 4 Oct 2005 00:23:20 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 4 Oct 2005 00:23:20 +0400 From: Gleb Smirnoff To: "Yuriy N. Shkandybin" Message-ID: <20051003202320.GF74917@cell.sick.ru> References: <006601c5c856$c9ce72a0$0701010a@notebook> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <006601c5c856$c9ce72a0$0701010a@notebook> User-Agent: Mutt/1.5.6i Cc: freebsd-current@FreeBSD.org Subject: Re: [HEADSUP] big polling changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Oct 2005 20:23:24 -0000 On Tue, Oct 04, 2005 at 12:12:29AM +0400, Yuriy N. Shkandybin wrote: Y> Hello. Y> Y> I've tested nge and confirm that with Y> sc->nge_ldata = contigmalloc(sizeof(struct nge_list_data), M_DEVBUF, Y> - M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0); Y> + M_NOWAIT|M_ZERO, 0, 0xffffffff, PAGE_SIZE, 0); Y> Y> polling works. I hope Yar will handle this one. Y> Also want to notice interrupt load with polling enable. Y> CPU states: 0.0% user, 0.0% nice, 2.4% system, 26.4% interrupt, 71.2% idle Y> without polling. Y> CPU states: 1.0% user, 0.0% nice, 5.8% system, 0.0% interrupt, 93.3% idle Y> but same behavour i've seen since RELENG_5. Y> Y> There is no such load with em driver. Was there such load before my polling changes? Y> If additional testing needed i can help and provide access to testbox with 7.0 and nge card. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE