Re: [gentoo-user] SMP/HT top

2005-10-19 Thread Joshua Schmidlkofer
On 10/17/05, A. Khattri [EMAIL PROTECTED] wrote:
On Sun, 16 Oct 2005, Mark Knecht wrote:Was I mistaken in thinking that a true SMP system and also a hyper threading system would show two processors in top? I am trying out a new HT kernel built this morning. I've enabled both SMP support and
 hyper threading support but top shows only a single processor.What kind of CPU is it? And what kind of FSB? Not all P4's havehyperthreading (as I discovered recently).If you have Dual Procs + Hyperthreading you ought to have a total of 4 processors post the contents of /proc/cpuinfo



Re: [gentoo-user] SMP/HT top

2005-10-17 Thread A. Khattri
On Sun, 16 Oct 2005, Chris Boot wrote:

 Yes. You may need to press '1' once you have started top to show each
 processor individually. See the top manpage to see how you can set this
 as the default.

You can also press ? in top (like in many command-line apps) to show a
quick help page. There should be a keypress to write a .toprc file :-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT top

2005-10-17 Thread A. Khattri
On Sun, 16 Oct 2005, Mark Knecht wrote:

Was I mistaken in thinking that a true SMP system and also a hyper
 threading system would show two processors in top? I am trying out a
 new HT kernel built this morning. I've enabled both SMP support and
 hyper threading support but top shows only a single processor.

What kind of CPU is it? And what kind of FSB? Not all P4's have
hyperthreading (as I discovered recently).


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] SMP/HT top

2005-10-16 Thread Mark Knecht
Hi,
   Was I mistaken in thinking that a true SMP system and also a hyper
threading system would show two processors in top? I am trying out a
new HT kernel built this morning. I've enabled both SMP support and
hyper threading support but top shows only a single processor.

   This is not a 'problem'. More a curiosity.

1) Do SMP systems show two or more processors with top?

2) If not top then what else?

3) Should a HT system show multiple processors?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT top

2005-10-16 Thread Chris Boot

Mark Knecht wrote:


Hi,
  Was I mistaken in thinking that a true SMP system and also a hyper
threading system would show two processors in top? I am trying out a
new HT kernel built this morning. I've enabled both SMP support and
hyper threading support but top shows only a single processor.

  This is not a 'problem'. More a curiosity.

1) Do SMP systems show two or more processors with top?
 

Yes. You may need to press '1' once you have started top to show each 
processor individually. See the top manpage to see how you can set this 
as the default. Also note you have to be using an SMP kernel for your 
extra CPUs to be used at all, let alone seen by top...



2) If not top then what else?
3) Should a HT system show multiple processors?

 


Yes, same as the above.


Thanks,
Mark

 




--
Chris Boot
[EMAIL PROTECTED]
http://www.bootc.net/

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT top

2005-10-16 Thread Mark Knecht
On 10/16/05, Chris Boot [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:

 Hi,
Was I mistaken in thinking that a true SMP system and also a hyper
 threading system would show two processors in top? I am trying out a
 new HT kernel built this morning. I've enabled both SMP support and
 hyper threading support but top shows only a single processor.
 
This is not a 'problem'. More a curiosity.
 
 1) Do SMP systems show two or more processors with top?
 
 
 Yes. You may need to press '1' once you have started top to show each
 processor individually. See the top manpage to see how you can set this
 as the default. Also note you have to be using an SMP kernel for your
 extra CPUs to be used at all, let alone seen by top...

Thanks. That worked very nicely:

[EMAIL PROTECTED] ~ $ top

top - 09:15:42 up  2:19,  1 user,  load average: 0.15, 0.11, 0.12
Tasks:  83 total,   1 running,  82 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.0% us,  0.0% sy,  0.0% ni, 98.0% id,  0.0% wa,  0.3% hi,  1.7% si
Cpu1  :  0.0% us,  0.0% sy,  0.3% ni, 99.7% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:498608k total,   492704k used, 5904k free, 1268k buffers
Swap:  1052216k total,  420k used,  1051796k free,   354712k cached

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list