From owner-freebsd-questions Wed Feb 27 17:14:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 4E52537B417 for ; Wed, 27 Feb 2002 17:14:39 -0800 (PST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 4911D78310; Thu, 28 Feb 2002 11:44:37 +1030 (CST) Date: Thu, 28 Feb 2002 11:44:37 +1030 From: Greg Lehey To: Stephen C Frost Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD, SMP and Performance Speeds? Message-ID: <20020228114437.R90450@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [removing cross-post to -hackers] On Wednesday, 27 February 2002 at 16:26:35 -0800, Stephen C Frost wrote: > > All - > > I have RTFM'd, with little luck. Can some enlightened soul impart knowledge > upon me, thus letting me know why any kernels compiled with SMP enabled seem > to be slowing the whole system down? Throughput goes down by 40%. Tasks > take twice as long to run, etc, etc... > > I have multiple boxes (Dells, IBM's, Microns, Gateways...) running FreeBSd > 4.5, all showing the same phenomenon. I initially mistook it for a NIC > driver issue, but it appears to be system-wide. And is directly linked to > SMP: two kernels, identical EXCEPT that one has SMP enabled, the other not. > The enabled kernel that *should* be fully utilizing multi-procs is suddenly > effectively running at half speed. > > Is this a config issue? Any helpful hints? Or is it better just to keep > SMP disabled on a multi-proc box? It's obviously not a general thing, or we wouldn't release SMP code. It depends very much on what you do, and you haven't said anything about that. It would also be interesting to see if you get the same results running 5-CURRENT. While this version isn't suited to production use, it's based on a very different implementation, and the information would help us work out what's going on here. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message