About smp-kernel

Discussion in 'Kernel Questions' started by satimis, Mar 1, 2007.

  1. satimis

    satimis New Member

    HI folks,


    Is smp-kernel enabled on CentOS4?

    Which command shall I use to check it;

    dmesg | grep "^ cpu"

    OR

    top -S


    TIA


    B.R.
    satimis
     
  2. falko

    falko Super Moderator

    Use
    Code:
    cat /proc/cpuinfo
    You should see two processors in the output if you have an SMP kernel (and of course two CPUs ;) ).

    Also, you should see SMP mentioned somewhere in the output of
    Code:
    uname -a
     
  3. satimis

    satimis New Member

    Hi falko,

    I'm running AMD Athlon64 X2 (dual core) AM2 cpu

    # cat /proc/cupinfo
    Code:
    cat: /proc/cupinfo: No such file or directory
    
    # uname -a
    Code:
    Linux host 2.6.16.29 #1 Sat Sep 30 14:08:18 BST 2006 x86_64 x86_64 x86_64 GNU/Linux
    
    satimis
     
  4. Hans

    Hans Moderator

    This is not an SMP kernel.
    A SMP kernel has "SMP" within the kernel name.

    I know how to replace it in a safe way on Debian like systems but not for Fedora. So i can't give you more advise about that point.
     
  5. martinfst

    martinfst HowtoForge Supporter

    Have you build your own custom kernel and are you running that? The output does not look familiar for a standard distro....
     
  6. satimis

    satimis New Member

    Hi martinfst,

    I haven't installed CentOS-4.4. I have its CD as well as arch64 Linux CD available. I expect to clarify nVidia driver issue as well as smp-kernel before deciding to go with which of them.

    I ran that command on slamd64-11.0. I'm now installing fred's recompiled smp-kernel and encountering some problem. Sorry for making that confusion.


    B.R.
    satimis
     
  7. falko

    falko Super Moderator

    It's
    Code:
    cat /proc/[B][COLOR="Red"]cpu[/COLOR][/B]info
    not
    Code:
    cat /proc/[B][COLOR="Red"]cup[/COLOR][/B]info
     
  8. satimis

    satimis New Member

    hi falko,

    sorry, I made a mistake.

    $ cat /proc/cpuinfo
    Code:
    processor       : 0
    vendor_id       : AuthenticAMD
    cpu family      : 15
    model           : 75
    model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
    stepping        : 2
    cpu MHz         : 2009.472
    cache size      : 512 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 1
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy
    bogomips        : 4022.75
    TLB size        : 1024 4K pages
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    power management: ts fid vid ttp tm stc
    
    B.r.
    satimis
     
  9. falko

    falko Super Moderator

    You don't have an SMP kernel installed.
     
  10. satimis

    satimis New Member

    Dose SMP kernel works on single core CPU? Tks


    Edit:
    Would it be an advantage if building all items on the kernel as module instead of "enabled"?

    B.R.
    satimis
     
    Last edited: Mar 6, 2007
  11. falko

    falko Super Moderator

    Yes.


    You'd then need a ramdisk if your file system drivers are modules.
     

Share This Page