* [gentoo-user] how do i know my SMP is working and setup right?
@ 2007-05-26 22:19 Daevid Vincent
2007-05-26 22:46 ` Denis
2007-06-02 0:14 ` Iain Buchanan
0 siblings, 2 replies; 5+ messages in thread
From: Daevid Vincent @ 2007-05-26 22:19 UTC (permalink / raw
To: gentoo-user
I just upgraded my Gentoo server from an old Celeron 1Ghz to a Pentium4
3Ghz (hyperthreaded).
In /etc/make.conf I have:
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse
-mmmx -msse"
MAKEOPTS="-j3"
I compiled the new kernel and added some SMP stuff I saw:
daevid ~ # uname -a
Linux daevid.com 2.6.19-gentoo-r5 #2 SMP PREEMPT Sat May 26 13:50:25 PDT
2007 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux
But when I'm in KDE, the little load applet doesn't show two CPUs
(should it?).
So how can I tell that it's being used, and what "tool" will show me
both CPUs and their loads n stuff (like WinXP does in taskmgr -- this
used to be an XP box BTW. I "upgraded" it ;-)
daevid ~ # x86info
x86info v1.20. Dave Jones 2001-2006
Feedback to <davej@redhat.com>.
Found 2 CPUs
------------------------------------------------------------------------
--
CPU #1
Family: 15 Model: 3 Stepping: 4 Type: 0 Brand: 0
CPU Model: Pentium 4 (Prescott) [D0] Original OEM
Processor name string: Intel(R) Pentium(R) 4 CPU 3.00GHz
Feature flags:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl
cntx-id xTPR
Extended feature flags:
Cache info
Instruction trace cache: 12K uOps, 8-way associative.
L1 Data cache: 16KB, sectored, 8-way associative. 64 byte line size.
L2 unified cache: 1MB, sectored, 8-way associative. 64 byte line size.
TLB info
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries.
Data TLB: 4KB or 4MB pages, fully associative, 64 entries.
The physical package supports 2 logical processors
------------------------------------------------------------------------
--
CPU #2
Family: 15 Model: 3 Stepping: 4 Type: 0 Brand: 0
CPU Model: Pentium 4 (Prescott) [D0] Original OEM
Processor name string: Intel(R) Pentium(R) 4 CPU 3.00GHz
Feature flags:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl
cntx-id xTPR
Extended feature flags:
Cache info
Instruction trace cache: 12K uOps, 8-way associative.
L1 Data cache: 16KB, sectored, 8-way associative. 64 byte line size.
L2 unified cache: 1MB, sectored, 8-way associative. 64 byte line size.
TLB info
Instruction TLB: 4K, 2MB or 4MB pages, fully associative, 64 entries.
Data TLB: 4KB or 4MB pages, fully associative, 64 entries.
The physical package supports 2 logical processors
------------------------------------------------------------------------
--
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] how do i know my SMP is working and setup right?
2007-05-26 22:19 [gentoo-user] how do i know my SMP is working and setup right? Daevid Vincent
@ 2007-05-26 22:46 ` Denis
2007-05-26 23:11 ` Daevid Vincent
2007-06-02 0:14 ` Iain Buchanan
1 sibling, 1 reply; 5+ messages in thread
From: Denis @ 2007-05-26 22:46 UTC (permalink / raw
To: gentoo-user
Having done this several times now, you have to select the following
in the kernel:
-SMP support and SMP Scheduling (only for processors with Hyperthreading)
-Enhanced Real Time Clock (RTC) support
-ACPI (in the power management menu)
Without ACPI support, only one processor will be recognized, as I
recently had experienced.
There may be something else I'm forgetting, but right now the list
seems complete. Hope this helps.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gentoo-user] how do i know my SMP is working and setup right?
2007-05-26 22:46 ` Denis
@ 2007-05-26 23:11 ` Daevid Vincent
2007-06-02 0:54 ` darren kirby
0 siblings, 1 reply; 5+ messages in thread
From: Daevid Vincent @ 2007-05-26 23:11 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Denis [mailto:denis.che@gmail.com]
> Sent: Saturday, May 26, 2007 3:47 PM
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] how do i know my SMP is working
> and setup right?
>
> Having done this several times now, you have to select the following
> in the kernel:
>
> -SMP support and SMP Scheduling (only for processors with
> Hyperthreading)
> -Enhanced Real Time Clock (RTC) support
> -ACPI (in the power management menu)
>
> Without ACPI support, only one processor will be recognized, as I
> recently had experienced.
>
> There may be something else I'm forgetting, but right now the list
> seems complete. Hope this helps.
I checked my .config and it seems I have those set (and running in
current kernel).
So why doesn't KDE show it in the little CPU applet?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] how do i know my SMP is working and setup right?
2007-05-26 22:19 [gentoo-user] how do i know my SMP is working and setup right? Daevid Vincent
2007-05-26 22:46 ` Denis
@ 2007-06-02 0:14 ` Iain Buchanan
1 sibling, 0 replies; 5+ messages in thread
From: Iain Buchanan @ 2007-06-02 0:14 UTC (permalink / raw
To: gentoo-user
On Sat, 2007-05-26 at 15:19 -0700, Daevid Vincent wrote:
> I just upgraded my Gentoo server from an old Celeron 1Ghz to a Pentium4
> 3Ghz (hyperthreaded).
[snip]
> But when I'm in KDE, the little load applet doesn't show two CPUs
> (should it?).
don't know about kde, but have you tried something simple like top?
load it and then press '1' to swap between a "composite" cpu and "real"
cpus.
HTH,
--
Iain Buchanan <iaindb at netspace dot net dot au>
In matters of principle, stand like a rock;
in matters of taste, swim with the current.
-- Thomas Jefferson
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] how do i know my SMP is working and setup right?
2007-05-26 23:11 ` Daevid Vincent
@ 2007-06-02 0:54 ` darren kirby
0 siblings, 0 replies; 5+ messages in thread
From: darren kirby @ 2007-06-02 0:54 UTC (permalink / raw
To: gentoo-user
quoth the Daevid Vincent:
> So why doesn't KDE show it in the little CPU applet?
What does:
cat /proc/cpuinfo
tell you?
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-06-02 1:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-26 22:19 [gentoo-user] how do i know my SMP is working and setup right? Daevid Vincent
2007-05-26 22:46 ` Denis
2007-05-26 23:11 ` Daevid Vincent
2007-06-02 0:54 ` darren kirby
2007-06-02 0:14 ` Iain Buchanan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox