hi i'm running suse 9.0 on a P43GHz processor with HT. i know that the kernel version 2.4.21 supports HT. i'm basically trying to verify that it is recognised and working correctly. using gkrellm, the cpu section shows 2 processors as is expected with a HT setup as it displays 1 HT CPU as 2 logical processors (i've been digging!!). the issue i'm having is that using top from the terminal only gives me one logical CPU as shown below: top - 23:48:14 up 1:27, 3 users, load average: 0.09, 0.08, 0.03 Tasks: 84 total, 2 running, 82 sleeping, 0 stopped, 0 zombie Cpu(s): 1.9% user, 0.6% system, 0.0% nice, 97.5% idle Mem: 1032264k total, 303264k used, 729000k free, 44332k buffers Swap: 1052216k total, 0k used, 1052216k free, 129608k cached is this correct?? gkrellm shows 2 (as expected) yet what i think is the real test (top) shows only one. i did add acpismp=force to /boot/grub/menu.lst - though i'm not sure if this is the right place for it. i also tried adding it as a boot option on the suse boot loader splash but it gave me the same result. anyway... any help would be appreciated. thanks Takis
Takis Diakoumis
the issue i'm having is that using top from the terminal only gives me one logical CPU as shown below:
top - 23:48:14 up 1:27, 3 users, load average: 0.09, 0.08, 0.03 Tasks: 84 total, 2 running, 82 sleeping, 0 stopped, 0 zombie Cpu(s): 1.9% user, 0.6% system, 0.0% nice, 97.5% idle Mem: 1032264k total, 303264k used, 729000k free, 44332k buffers Swap: 1052216k total, 0k used, 1052216k free, 129608k cached
It's OK, top doesn't list the number of CPUs. The following is from a dual CPU system with the HT switched on: top - 15:40:43 up 1 day, 4:53, 10 users, load average: 0.02, 0.01, 0.00 Tasks: 128 total, 1 running, 127 sleeping, 0 stopped, 0 zombie Cpu(s): 0.2% user, 0.2% system, 0.0% nice, 99.6% idle Mem: 2068660k total, 1752060k used, 316600k free, 162524k buffers Swap: 2097136k total, 0k used, 2097136k free, 665544k cached Use "cat /proc/cpuinfo" to check how many CPUs the OS sees. (In my case 4 CPUs are listed). -- A.M.
wow... thats much nicer output. ok, i'll settle down now. i've been following instructions in a linuxworld article on HT and linux. all good. thanks heaps for putting my mind at ease. Takis On Wed, 2004-01-14 at 01:43, Alexandr Malusek wrote:
Takis Diakoumis
writes: the issue i'm having is that using top from the terminal only gives me one logical CPU as shown below:
top - 23:48:14 up 1:27, 3 users, load average: 0.09, 0.08, 0.03 Tasks: 84 total, 2 running, 82 sleeping, 0 stopped, 0 zombie Cpu(s): 1.9% user, 0.6% system, 0.0% nice, 97.5% idle Mem: 1032264k total, 303264k used, 729000k free, 44332k buffers Swap: 1052216k total, 0k used, 1052216k free, 129608k cached
It's OK, top doesn't list the number of CPUs. The following is from a dual CPU system with the HT switched on:
top - 15:40:43 up 1 day, 4:53, 10 users, load average: 0.02, 0.01, 0.00 Tasks: 128 total, 1 running, 127 sleeping, 0 stopped, 0 zombie Cpu(s): 0.2% user, 0.2% system, 0.0% nice, 99.6% idle Mem: 2068660k total, 1752060k used, 316600k free, 162524k buffers Swap: 2097136k total, 0k used, 2097136k free, 665544k cached
Use "cat /proc/cpuinfo" to check how many CPUs the OS sees. (In my case 4 CPUs are listed).
-- A.M.
wow... this is so cool... that worked... having a good linux day now. newbie trying to learn... thanks heaps... Takis On Wed, 2004-01-14 at 01:55, Anders Johansson wrote:
On Tuesday 13 January 2004 15:43, Alexandr Malusek wrote:
It's OK, top doesn't list the number of CPUs.
It does if you hit "1" (the number one) while top is running
On 13 Jan 2004 15:43:52 +0100
Alexandr Malusek
It's OK, top doesn't list the number of CPUs. The following is from a dual CPU system with the HT switched on:
Sure? P4 2.4 HT, kernel 2.4.24 (Linus stock): 3:57pm up 7 days, 3:35, 1 user, load average: 0.12, 0.07, 0.02 70 processes: 69 sleeping, 1 running, 0 zombie, 0 stopped CPU0 states: 0.0% user, 0.1% system, 0.0% nice, 99.4% idle CPU1 states: 0.1% user, 0.0% system, 0.0% nice, 99.4% idle
participants (4)
-
Alexandr Malusek
-
Anders Johansson
-
Ivan Sergio Borgonovo
-
Takis Diakoumis