How much CPU in my AA1?

Discussion in 'Linux' started by qvoffka, Feb 10, 2009.

  1. qvoffka

    qvoffka

    Joined:
    Jan 3, 2009
    Messages:
    12
    Likes Received:
    0
    Dear all,
    When I type
    Code:
    dmesg | grep CPU
    I can see next:
    Code:
    [    0.029600] CPU0: Intel(R) Atom(TM) CPU N270   @ 1.60GHz stepping 02
    [    0.000999] Initializing CPU#1
    [    0.000999] CPU: L1 I cache: 32K, L1 D cache: 24K
    [    0.000999] CPU: L2 cache: 512K
    [    0.000999] CPU: Physical Processor ID: 0
    [    0.000999] CPU: Processor Core ID: 0
    [    0.000999] Intel machine check reporting enabled on CPU#1.
    [    0.101038] CPU1: Intel(R) Atom(TM) CPU N270   @ 1.60GHz stepping 02
    [    0.101065] checking TSC synchronization [CPU#0 -> CPU#1]: passed.
    [    0.102014] Brought up 2 CPUs
    [    0.102097] CPU0 attaching sched-domain:
    [    0.102119] CPU1 attaching sched-domain:
    [    0.666019] Switched to high resolution mode on CPU 0
    [    0.666127] Switched to high resolution mode on CPU 1
    [    1.185656] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
    [    1.185793] processor ACPI_CPU:00: registered as cooling_device0
    [    1.185808] ACPI: Processor [CPU0] (supports 8 throttling states)
    [    1.188446] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
    [    1.188563] processor ACPI_CPU:01: registered as cooling_device1
    [    1.188578] ACPI: Processor [CPU1] (supports 8 throttling states)
    Why it shows 2 CPU?
     
    qvoffka, Feb 10, 2009
    #1
  2. qvoffka

    Ranger Wolf

    Joined:
    Dec 22, 2008
    Messages:
    98
    Likes Received:
    0
    it sjhows 2 cores because of HyperThreading. So unlike most single cores with one thread, the atom has 2 threads.
     
    Ranger Wolf, Feb 10, 2009
    #2
  3. qvoffka

    qvoffka

    Joined:
    Jan 3, 2009
    Messages:
    12
    Likes Received:
    0
    Thank you for the answer.
    Will it have increase in performance, when using make -j2 instead of just make for example?
     
    qvoffka, Feb 10, 2009
    #3
  4. qvoffka

    dattaway

    Joined:
    Sep 2, 2008
    Messages:
    198
    Likes Received:
    0
    Location:
    Kansas Citeeeeeeeeee, MO
    I use -j4 if I want to keep the cores busy with the expense of other processes having to wait. j4 lowers my compile times about one third. j2 is quite friendly and no slowdown for other desktop things.
     
    dattaway, Feb 10, 2009
    #4
  5. qvoffka

    qvoffka

    Joined:
    Jan 3, 2009
    Messages:
    12
    Likes Received:
    0
    OK, I understood. So -j2 will be my choice ;)
     
    qvoffka, Feb 11, 2009
    #5
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.