1 |
Quoth Kevin (Wed 2004-05-12 07:24:07AM -0400): |
2 |
|
3 |
> On Tuesday 11 May 2004 22:42, Josh Glover wrote: |
4 |
> |
5 |
> > Quoth Kevin (Tue 2004-05-11 02:07:58PM -0400): |
6 |
> > |
7 |
> > > The machine is a Dell PowerEdge1600SC with a PERC-3/SC SCSI RAID |
8 |
> > > controller (using AMI megaraid2 driver) and a LSI Logic Corp |
9 |
> > > controller (using Fusion MPT base driver) for the SCSI DAT and with |
10 |
> > > dual 2.4GHz Xeon processors, each having a 512KB L2 Cache. |
11 |
> > |
12 |
> > Running Gentoo with a 2.6.5 SMP kernel on a Dell PowerEdge 400SC: |
13 |
> > : jmglov@jglover; uname -a |
14 |
> > |
15 |
> > Linux jglover 2.6.5-gentoo-r1 #1 SMP Fri Apr 30 17:37:18 EDT 2004 i686 |
16 |
> > Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux |
17 |
> > |
18 |
> > : jmglov@jglover; cat /proc/cpuinfo |
19 |
> > |
20 |
> > processor : 0 |
21 |
|
22 |
[...] |
23 |
|
24 |
> > processor : 1 |
25 |
> |
26 |
> Have you turned off hyperthreading? Why is it that only two CPUs show up? |
27 |
> It looks like (flags include ht) the CPUs support hyperthreading... or am |
28 |
> I way off base in drawing that conclusion here? |
29 |
|
30 |
No, the only part where you went off base was in assuming that I have more |
31 |
than one *physical* CPU in the box. I have one, and with hyperthreading |
32 |
turned on, it looks like two to the kernel. |
33 |
|
34 |
> Well, last night I did the most exhaustive set of tests available on the |
35 |
> Dell Utility Partition and found zero errors. I did 16 loops of the MATS |
36 |
> test and 15 of TestY, TestA, and ECC coupling. The memory tests ran for |
37 |
> about 8 hours. Again, zero errors. |
38 |
|
39 |
[...] |
40 |
|
41 |
> > I recommend doing at |
42 |
> > least one Stage 1 install for newcomers to Gentoo, just for educational |
43 |
> > purposes, but after that, go Stage 3 and use as many binary packages as |
44 |
> > you can! There exists a Stage 3 tarball for your architecture--the |
45 |
> > Pentium4 one, so why not use that, just to make sure your base system |
46 |
> > is solid? |
47 |
> |
48 |
> That probably is a good thing for me to try next, and I really would like |
49 |
> to be able to use all the advantages of Gentoo on this server. I'm fed |
50 |
> up with rpm hell and the traditional distros drawbacks. |
51 |
|
52 |
Yes, I really think that if you use a Stage 3, you can feel pretty |
53 |
confident about your C compiler and libraries being stable. Just be |
54 |
careful when you compile your kernel! |
55 |
|
56 |
> > > Are there some compiler flags or other configurable settings that, if |
57 |
> > > set to certain values during the bootstrap.sh or emerge system steps, |
58 |
> > > could end up generating software (perhaps when I built my own gcc?) |
59 |
> > > that would cause these MCEs to be thrown? |
60 |
> > |
61 |
> > I dunno, why don't you post your CFLAGS and MAKEOPTS from your |
62 |
> > make.conf here? |
63 |
> |
64 |
> Did already :) |
65 |
|
66 |
Lost them in the spew, sorry. |
67 |
|
68 |
> Here they are again: |
69 |
> |
70 |
> ACCEPT_KEYWORDS="x86" |
71 |
|
72 |
This is unnecessary. You only need to use ACCEPT_KEYWORDS with the |
73 |
unstable keywords, ~x86 in your case. |
74 |
|
75 |
> CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" |
76 |
|
77 |
Might want to back off to -O2, at least when you compile the kernel if |
78 |
nothing else. I believe the handbook recommends -O2, and optimising too |
79 |
highly can lead to some pretty bizarre problems. |
80 |
|
81 |
> CXXFLAGS="-O3 -march=pentium4 |
82 |
|
83 |
I am not sure if you are setting this, or if this is just emerge, but |
84 |
you usually want to set CXXFLAGS="${CFLAGS}". |
85 |
|
86 |
> FEATURES="autoaddcvs ccache distcc sandbox" |
87 |
|
88 |
autoaddcvs is a feature only for developers, you should not turn it on. |
89 |
|
90 |
> MAKEOPTS="-j3" |
91 |
|
92 |
You have four CPUs, so set this to -j5. |
93 |
|
94 |
> Thanks again for the thoughtful reply, Josh. |
95 |
|
96 |
Hey, I live to serve. :) |
97 |
|
98 |
-- |
99 |
Josh Glover |
100 |
|
101 |
GPG keyID 0xDE8A3103 (C3E4 FA9E 1E07 BBDB 6D8B 07AB 2BF1 67A1 DE8A 3103) |
102 |
gpg --keyserver pgp.mit.edu --recv-keys DE8A3103 |