1 |
I just upgraded my Gentoo server from an old Celeron 1Ghz to a Pentium4 |
2 |
3Ghz (hyperthreaded). |
3 |
|
4 |
In /etc/make.conf I have: |
5 |
|
6 |
CHOST="i686-pc-linux-gnu" |
7 |
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse |
8 |
-mmmx -msse" |
9 |
MAKEOPTS="-j3" |
10 |
|
11 |
I compiled the new kernel and added some SMP stuff I saw: |
12 |
|
13 |
daevid ~ # uname -a |
14 |
Linux daevid.com 2.6.19-gentoo-r5 #2 SMP PREEMPT Sat May 26 13:50:25 PDT |
15 |
2007 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux |
16 |
|
17 |
But when I'm in KDE, the little load applet doesn't show two CPUs |
18 |
(should it?). |
19 |
|
20 |
So how can I tell that it's being used, and what "tool" will show me |
21 |
both CPUs and their loads n stuff (like WinXP does in taskmgr -- this |
22 |
used to be an XP box BTW. I "upgraded" it ;-) |
23 |
|
24 |
daevid ~ # x86info |
25 |
x86info v1.20. Dave Jones 2001-2006 |
26 |
Feedback to <davej@××××××.com>. |
27 |
|
28 |
Found 2 CPUs |
29 |
------------------------------------------------------------------------ |
30 |
-- |
31 |
CPU #1 |
32 |
Family: 15 Model: 3 Stepping: 4 Type: 0 Brand: 0 |
33 |
CPU Model: Pentium 4 (Prescott) [D0] Original OEM |
34 |
Processor name string: Intel(R) Pentium(R) 4 CPU 3.00GHz |
35 |
|
36 |
Feature flags: |
37 |
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 |
38 |
clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl |
39 |
cntx-id xTPR |
40 |
Extended feature flags: |
41 |
|
42 |
Cache info |
43 |
Instruction trace cache: 12K uOps, 8-way associative. |
44 |
L1 Data cache: 16KB, sectored, 8-way associative. 64 byte line size. |
45 |
L2 unified cache: 1MB, sectored, 8-way associative. 64 byte line size. |
46 |
TLB info |
47 |
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries. |
48 |
Data TLB: 4KB or 4MB pages, fully associative, 64 entries. |
49 |
The physical package supports 2 logical processors |
50 |
|
51 |
------------------------------------------------------------------------ |
52 |
-- |
53 |
CPU #2 |
54 |
Family: 15 Model: 3 Stepping: 4 Type: 0 Brand: 0 |
55 |
CPU Model: Pentium 4 (Prescott) [D0] Original OEM |
56 |
Processor name string: Intel(R) Pentium(R) 4 CPU 3.00GHz |
57 |
|
58 |
Feature flags: |
59 |
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 |
60 |
clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl |
61 |
cntx-id xTPR |
62 |
Extended feature flags: |
63 |
|
64 |
Cache info |
65 |
Instruction trace cache: 12K uOps, 8-way associative. |
66 |
L1 Data cache: 16KB, sectored, 8-way associative. 64 byte line size. |
67 |
L2 unified cache: 1MB, sectored, 8-way associative. 64 byte line size. |
68 |
TLB info |
69 |
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries. |
70 |
Data TLB: 4KB or 4MB pages, fully associative, 64 entries. |
71 |
The physical package supports 2 logical processors |
72 |
|
73 |
------------------------------------------------------------------------ |
74 |
-- |
75 |
|
76 |
-- |
77 |
gentoo-user@g.o mailing list |