[FC3] 2.6 kernel and SMP question ...

Harry staticzap at gmail.com
Wed Jan 19 04:22:20 CST 2005


Try toggling SMP view in top with "1".


On Wed, 19 Jan 2005 13:15:59 +1030, Wilkinson, Alex
<alex.wilkinson at dsto.defence.gov.au> wrote:
> Howdy all,
> 
> I have an SMP box running FC3.
> 
>    Linux host.dsto.defence.gov.au 2.6.10-1.737_FC3smp #1 SMP Mon Jan 10 14:04:45 EST 2005 i686 i686 i386 GNU/Linux
> 
>    #cat /proc/cpuinfo
>     processor       : 0
>     vendor_id       : GenuineIntel
>     cpu family      : 15
>     model           : 4
>     model name      : Intel(R) Xeon(TM) CPU 3.60GHz
>     stepping        : 1
>     cpu MHz         : 3592.858
>     cache size      : 1024 KB
>     fdiv_bug        : no
>     hlt_bug         : no
>     f00f_bug        : no
>     coma_bug        : no
>     fpu             : yes
>     fpu_exception   : yes
>     cpuid level     : 5
>     wp              : yes
> 
>     processor       : 1
>     vendor_id       : GenuineIntel
>     cpu family      : 15
>     model           : 4
>     model name      : Intel(R) Xeon(TM) CPU 3.60GHz
>     stepping        : 1
>     cpu MHz         : 3592.858
>     cache size      : 1024 KB
>     fdiv_bug        : no
>     hlt_bug         : no
>     f00f_bug        : no
>     coma_bug        : no
>     fpu             : yes
>     fpu_exception   : yes
>     cpuid level     : 5
>     wp              : yes
> 
> # dmesg | grep -i cpu | egrep -i "brought|initial"
>   Initializing CPU#0
>   Initializing CPU#1
>   Brought up 2 CPUs
> 
> Question,
> 
>  Why does top(1) only show 1 cpu on FC3 ?
> 
>  top - 13:12:52 up 19:59,  5 users,  load average: 1.06, 1.03, 1.00
>  Tasks:  96 total,   3 running,  93 sleeping,   0 stopped,   0 zombie
>  Cpu(s): 50.5% us,  0.2% sy,  0.0% ni, 49.3% id,  0.0% wa,  0.0% hi, 0.0% si
>  Mem:   4147504k total,  1265276k used,  2882228k free,   154088k buffers
>  Swap:  1052248k total,        0k used,  1052248k free,   357852k cached
> 
> However, on RedHat 7.3 is shows multiple CPUs:
> 
>   1:13pm  up 81 days, 21:17,  1 user,  load average: 1.01, 1.01, 1.00
>   181 processes: 153 sleeping, 3 running, 25 zombie, 0 stopped
>   CPU0 states: 60.0% user,  3.2% system,  0.0% nice, 35.3% idle
>   CPU1 states: 41.3% user,  3.0% system,  0.0% nice, 54.2% idle
>   Mem:  1026668K av,  967244K used,   59424K free,       0K shrd, 480868K buff
>   Swap: 1052216K av,       0K used, 1052216K free 157280K cached
> 
> What I'm needing to know is if the system is truely ussing both CPUs ?
> 
>  - aW
> 
> --
> LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.freenode.net
> To unsubscribe or change your options:
>   http://www.netcraft.com.au/mailman/listinfo/linuxsa
> 


-- 
Harry


More information about the linuxsa mailing list