GNU/Linux Ubuntu showing 2 cores - CPU0 and CPU1

Discussion in 'Laptop Hardware' started by casainho, Jul 30, 2008.

  1. casainho

    casainho

    Joined:
    Jul 21, 2008
    Messages:
    88
    Likes Received:
    0
    Hello :)

    When I open the "System monitor" I see a graph of two different CPUs, the 0 and the 1. Is this Atom processor dual core?
     
    casainho, Jul 30, 2008
    #1
  2. casainho

    KiNG

    Joined:
    Jun 5, 2008
    Messages:
    302
    Likes Received:
    0
    Location:
    UK
    interesting, any chance of a screenshot?
     
    KiNG, Jul 30, 2008
    #2
  3. casainho

    casainho

    Joined:
    Jul 21, 2008
    Messages:
    88
    Likes Received:
    0
    I am Portuguese - thats the language, like "Monitor de Sistema" :)
     
    casainho, Jul 30, 2008
    #3
  4. casainho

    KiNG

    Joined:
    Jun 5, 2008
    Messages:
    302
    Likes Received:
    0
    Location:
    UK
    mad, do you have any other testing programs to confirm this?
     
    KiNG, Jul 30, 2008
    #4
  5. casainho

    macles

    Joined:
    Jul 22, 2008
    Messages:
    198
    Likes Received:
    0
    The Atom N270 has Hyperthreading, which is interpreted like two virtual cores by the system. You can check yourself using cat /proc/cpuinfo which will show this. Notice it says cores=1 but siblings=2.

    Code:
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 28
    model name      : Intel(R) Atom(TM) CPU N270   @ 1.60GHz
    stepping        : 2
    cpu MHz         : 800.000
    cache size      : 512 KB
    physical id     : 0
    siblings        : 2
    core id         : 0
    cpu cores       : 1
     
    macles, Jul 30, 2008
    #5
  6. casainho

    casainho

    Joined:
    Jul 21, 2008
    Messages:
    88
    Likes Received:
    0
    May be something wrong with ACPI... for example, I can't set them bellow to 800MHz - 50%.I would go to 12% or 25% as looks possible on this ACPI info...
     
    casainho, Jul 30, 2008
    #6
  7. casainho

    casainho

    Joined:
    Jul 21, 2008
    Messages:
    88
    Likes Received:
    0
    Well, I did follow this guide for have cpu control:
    http://wiki.eeeuser.com/getting_ubuntu_ ... or_scaling

    I just see this:

    cas@cas-laptop:~$ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 28
    model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz
    stepping : 2
    cpu MHz : 1600.000
    cache size : 512 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 xtpr lahf_lm
    bogomips : 3196.56
    clflush size : 64

    processor : 1
    vendor_id : GenuineIntel
    cpu family : 6
    model : 28
    model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz
    stepping : 2
    cpu MHz : 1600.000
    cache size : 512 KB
    physical id : 0
    siblings : 2
    core id : 0
    cpu cores : 1
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 10
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 xtpr lahf_lm
    bogomips : 3191.98
    clflush size : 64

    cas@cas-laptop:~$
     
    casainho, Jul 30, 2008
    #7
  8. casainho

    macles

    Joined:
    Jul 22, 2008
    Messages:
    198
    Likes Received:
    0
    Probably a bug in Ubuntu. You can also check N270 specs: http://download.intel.com/design/proces ... 320032.pdf

    Wait a second i just noticed that i have the same output with two processors, just never noticed it. So it's all good, HT is actually reported as 2 CPUs by cpuinfo.
     
    macles, Jul 30, 2008
    #8
  9. casainho

    Felinux

    Joined:
    Jul 29, 2008
    Messages:
    18
    Likes Received:
    0
    Location:
    Italia
    Also Linpus see twu cpu, press "Ctrl+Alt+Canc" for start "System Monitor" utility and click on "System" or "Resources" tab.
    Only a simulation of HT tecnology.
     
    Felinux, Jul 30, 2008
    #9
  10. casainho

    rjm

    Joined:
    Jul 24, 2008
    Messages:
    345
    Likes Received:
    0
    A cpu with hyperthreading enabled, such as the Atom, will appear to the operating system as having two cores. This is normal.

    The cpu does not, however, have two cores. There is a performance benefit to hyperhtreading, but it is not the same as true dual-core architecture.

    The dual core Atom will be released later this year.

    http://www.hexus.net/content/item.php?item=13494

    (Will that also be HT enabled and report as four cores? Apparently so.)
     
    rjm, Jul 30, 2008
    #10
  11. casainho

    rory

    Joined:
    Jul 23, 2008
    Messages:
    755
    Likes Received:
    0
    Location:
    London, UK
    Windows has 2 graphs in task manager for Processor usage.
    Rory
     
    rory, Jul 30, 2008
    #11
  12. casainho

    Davidcowling

    Joined:
    Jul 17, 2008
    Messages:
    387
    Likes Received:
    0
    Location:
    Gloucestershire, United Kingdom
    a cpu that hyperthreads basically tricks the system into thinking it has two cores.

    whilst this is faster than a basic cpu, having 2 physical cores will always be quicker.
     
    Davidcowling, Jul 31, 2008
    #12
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.