Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SMP/HT & top
Date: Sun, 16 Oct 2005 16:20:44
Message-Id: 5bdc1c8b0510160916r5dc97e89xee2a3807b7a8c3f0@mail.gmail.com
In Reply to: Re: [gentoo-user] SMP/HT & top by Chris Boot
1 On 10/16/05, Chris Boot <bootc@×××××.net> wrote:
2 > Mark Knecht wrote:
3 >
4 > >Hi,
5 > > Was I mistaken in thinking that a true SMP system and also a hyper
6 > >threading system would show two processors in top? I am trying out a
7 > >new HT kernel built this morning. I've enabled both SMP support and
8 > >hyper threading support but top shows only a single processor.
9 > >
10 > > This is not a 'problem'. More a curiosity.
11 > >
12 > >1) Do SMP systems show two or more processors with top?
13 > >
14 > >
15 > Yes. You may need to press '1' once you have started top to show each
16 > processor individually. See the top manpage to see how you can set this
17 > as the default. Also note you have to be using an SMP kernel for your
18 > extra CPUs to be used at all, let alone seen by top...
19
20 Thanks. That worked very nicely:
21
22 mark@dragonfly ~ $ top
23
24 top - 09:15:42 up 2:19, 1 user, load average: 0.15, 0.11, 0.12
25 Tasks: 83 total, 1 running, 82 sleeping, 0 stopped, 0 zombie
26 Cpu0 : 0.0% us, 0.0% sy, 0.0% ni, 98.0% id, 0.0% wa, 0.3% hi, 1.7% si
27 Cpu1 : 0.0% us, 0.0% sy, 0.3% ni, 99.7% id, 0.0% wa, 0.0% hi, 0.0% si
28 Mem: 498608k total, 492704k used, 5904k free, 1268k buffers
29 Swap: 1052216k total, 420k used, 1051796k free, 354712k cached
30
31 Cheers,
32 Mark
33
34 --
35 gentoo-user@g.o mailing list