From owner-freebsd-net@FreeBSD.ORG Wed Apr 8 16:16:20 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DBC01065670 for ; Wed, 8 Apr 2009 16:16:20 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63905.mail.re1.yahoo.com (web63905.mail.re1.yahoo.com [69.147.97.120]) by mx1.freebsd.org (Postfix) with SMTP id 428148FC1C for ; Wed, 8 Apr 2009 16:16:19 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 64204 invoked by uid 60001); 8 Apr 2009 16:16:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1239207379; bh=9E32yJ5njQYjCMpsgWMkexb+eHzylQv07KatN5bnr98=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=0HBSMPSYM53a6KNOLhC38xWUoB5I+qINbeUNI7wjjXHU1kaf4DjPnGv2eYFTLs79qxCKYT/pOUeF0ErHdX0xMrB+Fum7O3siKiWR0cWJRLTshOB1OnPEMk2wxjvhoLyOcQheb9q6UbBrkim3xazEXq+mNo6SyEE/mwNURw6JqQo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=wzoMJImAf2/fi+lt18m/UbB2oagPFktdnAt3b2DPH5YzegwD0xgGKnTrJe3XrZ2inz+pYPO5LQfJXCuC7QIv9TBxM0z5tK6YzXYfCJQISYPiwkEG46jydzjPd5hboNzvFjoQiorP8+kVLaqfdU7ssQxttgLAEAj+aWXFP8y1AKk=; Message-ID: <564712.63955.qm@web63905.mail.re1.yahoo.com> X-YMail-OSG: RIcXMnoVM1nSDVUxWli1IkeRfyq1MsdNp54pepsf7KIE05nZUYTwynr8F3NoNxkd8eJELxSG69htMuB89x3mDxn8LI5H5m7RCvlUA1QrBUdzkiOkXBFnfk9gKIO8tg8pkuxtU2TImDdid6ZWCeGCVgOp8IbpW1rBgpx0mckraHcW_8C7Incv2jUeV6haNAzB1U_FQjf0KIs2I5G.JrYmDk7orFHCej8gaXD.M.6zEP.iU9GyW30g7Ooh7kf60ki7x.ghR4yjBBIrxgakgkzJU1ox0zTAY8jPEa.JaKf9zSq7swnT64QP7y7TEyUCy_n4kADVHCnqGfq2.yaOnoKPHBfI Received: from [98.242.222.229] by web63905.mail.re1.yahoo.com via HTTP; Wed, 08 Apr 2009 09:16:19 PDT X-Mailer: YahooMailWebService/0.7.289.1 Date: Wed, 8 Apr 2009 09:16:19 -0700 (PDT) From: Barney Cordoba To: Robert Watson In-Reply-To: <75700.80930.qm@web63905.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-net@freebsd.org, Ivan Voras Subject: Re: Advice on a multithreaded netisr patch? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 16:16:21 -0000 --- On Wed, 4/8/09, Barney Cordoba wrote: > From: Barney Cordoba > Subject: Re: Advice on a multithreaded netisr patch? > To: "Robert Watson" > Cc: freebsd-net@freebsd.org, "Ivan Voras" > Date: Wednesday, April 8, 2009, 9:18 AM > --- On Tue, 4/7/09, Robert Watson > wrote: > > > From: Robert Watson > > Subject: Re: Advice on a multithreaded netisr patch? > > To: "Barney Cordoba" > > > Cc: freebsd-net@freebsd.org, "Ivan Voras" > > > Date: Tuesday, April 7, 2009, 8:56 AM > > On Tue, 7 Apr 2009, Barney Cordoba wrote: > > > > >> Have you tried LOCK_PROFILING? It would > quickly > > tell you if driver locks were a source of significant > > contention. It works quite well... > > > > > > When I enabled LOCK_PROFILING my side modules, > such as > > if_ibg, stopped working. It seems that the ifnet > structure > > or something changed with that option enabled. Is > there a > > way to sync this without having to integrate > everything into > > a specific kernel build? > > > > LOCK_PROFILING changes the size of lock-related data > > structures, so requires both kernel and full set of > modules > > to be rebuilt with the option. > > What are the units for lock profiling? For example, the > "average > wait" is in what units? > > Is there a way to reset the stats counters? If not, it > might be nifty if > toggling prof.enable reset the stats to run some different > kinds of > tests without rebooting. > > Barney I know, I know. Read the man page...