From owner-freebsd-hackers Mon Mar 11 6:29:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail4.nc.rr.com (fe4.southeast.rr.com [24.93.67.51]) by hub.freebsd.org (Postfix) with ESMTP id DA62537B400 for ; Mon, 11 Mar 2002 06:29:30 -0800 (PST) Received: from i8k.babbleon.org ([66.57.85.154]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Mon, 11 Mar 2002 09:29:57 -0500 Received: by i8k.babbleon.org (Postfix, from userid 111) id 3079BBA05; Mon, 11 Mar 2002 09:29:26 -0500 (EST) Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Kris Kennaway Subject: Re: Performance of FreeBSD vs NetBSD (was: Re: Performance of -current vs -stable) Date: Mon, 11 Mar 2002 09:29:25 -0500 X-Mailer: KMail [version 1.3] Cc: Kris Kennaway , BOUWSMA Beery , hackers@FreeBSD.ORG References: <200203102005.g2AK5SN99334@beerswilling.netscum.dyndns.dk> <20020311132340.105D6BA05@i8k.babbleon.org> <20020311055415.A17397@xor.obsecurity.org> In-Reply-To: <20020311055415.A17397@xor.obsecurity.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020311142926.3079BBA05@i8k.babbleon.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday 11 March 2002 08:54 am, Kris Kennaway wrote: | On Mon, Mar 11, 2002 at 08:23:38AM -0500, Brian T.Schellenberger wrote: | > On Monday 11 March 2002 03:25 am, Kris Kennaway wrote: | > | On Sun, Mar 10, 2002 at 09:05:28PM +0100, BOUWSMA Beery wrote: | > | > I built both a WITNESS and a WITNESSless kernel with more recent | > | > k0deZ, and in the case of playing an mp3 file with `mpg123', I | > | > saw practically no difference between the two, based on %cpu as | > | > shown by `top' (like I say, completely unscientific and inaccurate) | > | | > | As you are no doubt aware there are significant infrastructural | > | changes in -current relating to SMP scalability. It's in a very | > | interim state at the moment, and one of the downsides is increased | > | interrupt latency and lock contention for certain operations (yes, | > | audio playback is one of them). | > | | > | Basically, it's a known issue. | > | > At -stable as well as -current or at -current only? | | What I'm talking about is a -current issue only. I don't recall | reading the earlier thread. Well, the original article in *this* thread stated: In fact, the %cpu needed by `mpg123' seemed identical between -current, both with and without W[I]TNESS, and -stable. Look: [55% CPU to decode for all three cases] In both -current and -stable, the audio is usually smooth but periodically has a hiccup or two and loops briefly. But the very same hardware, booted into NetBSD off the same disk, running a NetBSD-native binary of mpg123 on NetBSD-current shows this: [37% CPU to decode] So I don't think that your explanation covers the observed behavior. Though the *system* time and *interrupt* time seem to track as one might expect for this issue, there still seems to be something *else* going on per the mpg123 time and idle time. Ref: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=13691+0+current/freebsd-hackers | | Kris -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) ME --> http://www.babbleon.org http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message