From owner-freebsd-current Thu Jun 21 23:52:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from sneakerz.org (sneakerz.org [216.33.66.254]) by hub.freebsd.org (Postfix) with ESMTP id ADCBA37B407 for ; Thu, 21 Jun 2001 23:52:12 -0700 (PDT) (envelope-from bright@sneakerz.org) Received: by sneakerz.org (Postfix, from userid 1092) id C3D395D01F; Fri, 22 Jun 2001 01:52:01 -0500 (CDT) Date: Fri, 22 Jun 2001 01:52:01 -0500 From: Alfred Perlstein To: Bosko Milekic Cc: freebsd-current@freebsd.org Subject: Re: [HEADS-UP]: Mbuf allocator changes Message-ID: <20010622015201.W4543@sneakerz.org> References: <20010622024639.A40766@technokratis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010622024639.A40766@technokratis.com>; from bmilekic@technokratis.com on Fri, Jun 22, 2001 at 02:46:39AM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Bosko Milekic [010622 01:47] wrote: > > Hi -current people, > > I have recently made some significant changes to the mbuf allocator. > Although I have invested, along with several other developers, very significant > time in testing the newly introduced code, should any problems arise, please > let me know ASAP. > One noticeable difference that I am aware of is that mbtypes statistics > have been TEMPORARILY disabled. Please be patient. :-) If you want accurate stats you should be able to lock the per-cpu stats areas all at once as long as you always do it in a certain order, basically, lock CPU 0, then 1, then 2, then 3, sum then unlock. If correctness doesn't matter you can just walk the per cpu stats locking each (or not) and assumulating the info. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message