From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-dev-return-12401-arch-gentoo-dev=gentoo.org@lists.gentoo.org> Received: (qmail 11445 invoked from network); 13 May 2004 02:37:13 +0000 Received: from smtp.gentoo.org (128.193.0.39) by eagle.gentoo.oregonstate.edu with DES-CBC3-SHA encrypted SMTP; 13 May 2004 02:37:13 +0000 Received: from lists.gentoo.org ([128.193.0.34] helo=eagle.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.24) id 1BO65x-00064n-5u for arch-gentoo-dev@lists.gentoo.org; Thu, 13 May 2004 02:37:13 +0000 Received: (qmail 23122 invoked by uid 50004); 13 May 2004 02:37:12 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: <mailto:gentoo-dev@gentoo.org> List-Help: <mailto:gentoo-dev-help@gentoo.org> List-Unsubscribe: <mailto:gentoo-dev-unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-dev-subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 18607 invoked from network); 13 May 2004 02:37:11 +0000 Date: Wed, 12 May 2004 10:17:25 -0500 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) Cc: Gentoo Dev <gentoo-dev@lists.gentoo.org> To: Kevin <gentoo-dev@gnosys.biz> From: tom_gall@mac.com In-Reply-To: <200405120958.45686.gentoo-dev@gnosys.biz> Message-Id: <793F9D20-A427-11D8-AC04-0003939E069A@mac.com> Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.0.1 (v33) X-Mailer: Apple Mail (2.553) Subject: Re: [gentoo-dev] Major MCE problem with SMP on Gentoo kernels X-Archives-Salt: 6e63914d-4100-4d23-a435-7fb0272ddc39 X-Archives-Hash: c2fc9dbea59b63e9108a59ceeb915b0f -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Greetings, Just to give this another perspective. On Wednesday, May 12, 2004, at 08:58 AM, Kevin wrote: > On Wednesday 12 May 2004 07:48, Josh Glover wrote: >> Quoth Kevin (Wed 2004-05-12 07:24:07AM -0400): >>> >>> Have you turned off hyperthreading? Why is it that only two CPUs >>> show up? It looks like (flags include ht) the CPUs support >>> hyperthreading... or am I way off base in drawing that conclusion >>> here? >> >> No, the only part where you went off base was in assuming that I have >> more than one *physical* CPU in the box. I have one, and with >> hyperthreading turned on, it looks like two to the kernel. > > Oh.... Well, that seems like an important difference between yours > and my > arrangements. Are you running Gentoo on a box with more than one > physical CPU? I had no problems running Gentoo on this box until after > installing a second CPU. That's when the weirdness started. > > Is anyone here running Gentoo on a dual-physical CPU machine? What > compiler flags are you using? All my ppc64 hardware is SMP, and runs gentoo just fine. I suspect you have some specific intel-ish problem. Could be BIOS or any other variety of problems. >>> CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" >> >> Might want to back off to -O2, at least when you compile the kernel if >> nothing else. I believe the handbook recommends -O2, and optimising >> too >> highly can lead to some pretty bizarre problems. > > K. What CFLAGS are you using? (on both your single physical CPU box > you > described above and with any multiple physical CPU boxes) CFLAGS="-O3 -mtune=power3 or -mtune=g5 " or just -mcpu=powerpc64 >>> MAKEOPTS="-j3" >> >> You have four CPUs, so set this to -j5. > > I was thinking "number of physical CPUs + 1" here, but ok. I generally set to number of physical CPUs x 2. For HMT systems (which include certain ppc64 boxes as well) number of physical CPUs x 4 is fine. Regards, Tom Tom Gall gentoo-ppc64 lead -- God started with stage 1, shouldn't you? tgall aatt gentoo.org tgall aatt uberh4x0r.org tom_gall aatt mac.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD4DBQFAokAGNM6ZoaBWhQkRAhkFAJdpTF240+JymZBXCkgBuXmvQntBAJ9ovulG LLYj/Xm4J2rSNQqQ/h1VdQ== =JRtW -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list