public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Daevid Vincent" <daevid@daevid.com>
To: <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] how do i know my SMP is working and setup right?
Date: Sat, 26 May 2007 15:19:36 -0700	[thread overview]
Message-ID: <037601c79fe4$03f77f60$450a0a0a@locutus> (raw)

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



             reply	other threads:[~2007-05-26 22:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-26 22:19 Daevid Vincent [this message]
2007-05-26 22:46 ` [gentoo-user] how do i know my SMP is working and setup right? Denis
2007-05-26 23:11   ` Daevid Vincent
2007-06-02  0:54     ` darren kirby
2007-06-02  0:14 ` Iain Buchanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='037601c79fe4$03f77f60$450a0a0a@locutus' \
    --to=daevid@daevid.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox