Gentoo Archives: gentoo-dev

From: tom_gall@×××.com
To: Kevin <gentoo-dev@××××××.biz>
Cc: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Major MCE problem with SMP on Gentoo kernels
Date: Thu, 13 May 2004 02:37:13
Message-Id: 793F9D20-A427-11D8-AC04-0003939E069A@mac.com
In Reply to: Re: [gentoo-dev] Major MCE problem with SMP on Gentoo kernels by Kevin
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Greetings,
5
6 Just to give this another perspective.
7
8 On Wednesday, May 12, 2004, at 08:58 AM, Kevin wrote:
9
10 > On Wednesday 12 May 2004 07:48, Josh Glover wrote:
11 >> Quoth Kevin (Wed 2004-05-12 07:24:07AM -0400):
12 >>>
13 >>> Have you turned off hyperthreading? Why is it that only two CPUs
14 >>> show up? It looks like (flags include ht) the CPUs support
15 >>> hyperthreading... or am I way off base in drawing that conclusion
16 >>> here?
17 >>
18 >> No, the only part where you went off base was in assuming that I have
19 >> more than one *physical* CPU in the box. I have one, and with
20 >> hyperthreading turned on, it looks like two to the kernel.
21 >
22 > Oh.... Well, that seems like an important difference between yours
23 > and my
24 > arrangements. Are you running Gentoo on a box with more than one
25 > physical CPU? I had no problems running Gentoo on this box until after
26 > installing a second CPU. That's when the weirdness started.
27 >
28 > Is anyone here running Gentoo on a dual-physical CPU machine? What
29 > compiler flags are you using?
30
31 All my ppc64 hardware is SMP, and runs gentoo just fine. I suspect you
32 have some
33 specific intel-ish problem. Could be BIOS or any other variety of
34 problems.
35
36 >>> CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
37 >>
38 >> Might want to back off to -O2, at least when you compile the kernel if
39 >> nothing else. I believe the handbook recommends -O2, and optimising
40 >> too
41 >> highly can lead to some pretty bizarre problems.
42 >
43 > K. What CFLAGS are you using? (on both your single physical CPU box
44 > you
45 > described above and with any multiple physical CPU boxes)
46
47 CFLAGS="-O3 -mtune=power3 or -mtune=g5 " or just -mcpu=powerpc64
48
49 >>> MAKEOPTS="-j3"
50 >>
51 >> You have four CPUs, so set this to -j5.
52 >
53 > I was thinking "number of physical CPUs + 1" here, but ok.
54
55 I generally set to number of physical CPUs x 2. For HMT systems (which
56 include certain ppc64 boxes as well) number of physical CPUs x 4 is
57 fine.
58
59 Regards,
60
61 Tom
62
63 Tom Gall
64 gentoo-ppc64 lead -- God started with stage 1, shouldn't you?
65 tgall aatt gentoo.org
66 tgall aatt uberh4x0r.org
67 tom_gall aatt mac.com
68
69 -----BEGIN PGP SIGNATURE-----
70 Version: GnuPG v1.2.3 (Darwin)
71
72 iD4DBQFAokAGNM6ZoaBWhQkRAhkFAJdpTF240+JymZBXCkgBuXmvQntBAJ9ovulG
73 LLYj/Xm4J2rSNQqQ/h1VdQ==
74 =JRtW
75 -----END PGP SIGNATURE-----
76
77
78 --
79 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Major MCE problem with SMP on Gentoo kernels Kevin <gentoo-dev@××××××.biz>