kernel vs. pocet procesoru

Stanislav PETR glux na centrum.cz
Středa Srpen 1 17:49:32 CEST 2001


PMcc> 'sar' se chova stejne jako 'top'; 'mpstat -P 0' mi u obou jader vypise, ze
PMcc> ten system neni SMP; /proc/cpuinfo je vzdy stejne:

PMcc> processor       : 0
PMcc> vendor_id       : GenuineIntel
PMcc> cpu family      : 6
PMcc> model           : 5
PMcc> model name      : Pentium II (Deschutes)
PMcc> stepping        : 2
PMcc> cpu MHz         : 448.955
PMcc> cache size      : 512 KB
PMcc> fdiv_bug        : no
PMcc> hlt_bug         : no
PMcc> f00f_bug        : no
PMcc> coma_bug        : no
PMcc> fpu             : yes
PMcc> fpu_exception   : yes
PMcc> cpuid level     : 2
PMcc> wp              : yes
PMcc> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
PMcc> cmov pat pse36 mmx fxsr
PMcc> bogomips        : 894.56

/proc/cpuinfo by melo vypadat nejak tekhle:

[root na hp /root]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 5
model           : 2
model name      : Pentium 75 - 200
stepping        : 6
cpu MHz         : 100.003
fdiv_bug        : no
hlt_bug         : no
sep_bug         : no
f00f_bug        : yes
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 apic
bogomips        : 199.48

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 5
model           : 2
model name      : Pentium 75 - 200
stepping        : 6
cpu MHz         : 100.003
fdiv_bug        : no
hlt_bug         : no
sep_bug         : no
f00f_bug        : yes
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr mce cx8 apic
bogomips        : 199.88

stejne tak nepr. top vam bude hlasit dva samostatne radky:

  5:50pm  up 26 days, 17:46,  1 user,  load average: 0.07, 0.03, 0.00
52 processes: 51 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states:  3.0% user,  8.0% system,  0.0% nice, 87.0% idle
CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
Mem:   192664K av,  168956K used,   23708K free,   98676K shrd,   68164K buff
Swap:  394216K av,    2452K used,  391764K free                   43220K cached

PS: Nemate napr. zaveden modul apm??? Pokud ano, nekdy se s nim SMP
systemy chovaji "nepredvidatelne".



Další informace o konferenci Linux