Using quad core, but only 1 CPU entry in `/proc/cpuinfo`? Is SMP running on my computer?

9,928

Enable ACPI features in your BIOS. If you turn this off your system will use 1 cpu.

Share:
9,928

Related videos on Youtube

Ari B. Friedman
Author by

Ari B. Friedman

I am a Fellow at the Leonard Davis Institute of Health Economics and an MD/PhD candidate at U. Penn. (Perelman School of Medicine and the Wharton School). I have a particular interest in computer-intensive statistical methods and bringing state-of-the-art methods to applied problems. I also teach the Statistical Programming Workshop series for incoming doctoral students.

Updated on September 18, 2022

Comments

  • Ari B. Friedman
    Ari B. Friedman over 1 year

    I just upgraded my system and did a clean install of Ubuntu when I did (Installed Oneiric Ocelot from the CD last week but yesterday upgraded to 12.04 LTS). I have an i7 920 (quad core with hyperthreading), so I should be seeing 8 processors, but I only see one in the System Monitor graph.

    cat /proc/cpuinfo returns:

    processor   : 0
    vendor_id   : GenuineIntel
    cpu family  : 6
    model       : 26
    model name  : Intel(R) Core(TM) i7 CPU         920  @ 2.67GHz
    stepping    : 4
    microcode   : 0x10
    cpu MHz     : 2672.633
    cache size  : 8192 KB
    physical id : 0
    siblings    : 1
    core id     : 0
    cpu cores   : 1
    apicid      : 0
    initial apicid  : 0
    fpu     : yes
    fpu_exception   : yes
    cpuid level : 11
    wp      : yes
    flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc up arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
    bogomips    : 5345.26
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 36 bits physical, 48 bits virtual
    power management:
    

    From my recollection of previous installs with SMP working, there should be multiple entries in /proc/cpuinfo--one per processor. I see only one.

    My first thought was that a non-SMP kernel was installed. However, uname -a returns:

    Linux compname 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    

    So am I using all available cores or not? And if not, what is causing it given that I appear to be running an SMP kernel?

    Thanks!

    • h3.
      h3. about 12 years
      If /proc/cpuinfo says you have one core, Linux is only using one core. I'm puzzled as to why.
    • Ari B. Friedman
      Ari B. Friedman about 12 years
      @Rinzwind That's a great suggestion. I turned them off the other day because my suspend was going wonky, but I'll turn them back on as soon as I get to a point where I can reboot and let you know how it went.