Rabu, 12 Februari 2014

How To Change CPU Cores on LINUX

 Multicore Processor

 

 

Opinion:

Some choose to use a single core or one processor core reasons:
• Computer only used for lightweight applications such as Internet browsing, office applications
• 1 core processors more power efficient.
• Single core is enough for me at this time.
- See more at: http://etutorialkomputer.blogspot.com/2011/02/fungsi-multicore-processor.html#sthash.0VwVLjXk.dpuf
I got it on other blog :)

Some people choose to use a single core:

• Computer only used for lightweight applications such as Internet browsing, office applications.
• 1 core processors more power efficient.
• Single core is enough.

Some people choose to use a dual core:

• dual core processor is more intensive for gaming applications.
• Speed ​​is not much different dual core quad cores for specific applications.
• Got a dual core processor speed better at the same price of a quad core.
• Power is more efficient than quad core.

hmmm... I also chose dualcore because, I think is helpful me,  for improving performance of the emulator. when I run to try a app of android have I created.
and how to change it, yeaah like that...

Method 1:
This method is dynamic and doesn’t require a reboot. You can just open a terminal and try this out:
  • sudo sh -c "echo 0 > /sys/devices/system/cpu7/online"
    sudo sh -c "echo 0 > /sys/devices/system/cpu6/online"
    Repeat the above steps for cpu2 to cpu7 and it’ll leave you with cpu0 and cpu1 active which is essentially what we’re trying to achieve.
Method 2:
I like it and working to me....This method will make the linux boot with 2 cores which might make kernel more optimized for dual core environment than the method above.


  • Add maxcpus=2 to GRUB command line by doing the following:
    gksu gedit /etc/default/grub
    Find:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    and change it to
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash maxcpus=2"
  • Then run:
    sudo update-grub
    When you reboot, linux will run on 2 cores.

    ok...see u next time, #keep coding programmer...
Some choose to use a single core or one processor core reasons:
• Computer only used for lightweight applications such as Internet browsing, office applications
• 1 core processors more power efficient.
• Single core is enough for me at this time.
- See more at: http://etutorialkomputer.blogspot.com/2011/02/fungsi-multicore-processor.html#sthash.0VwVLjXk.dpuf
Multicore Processor

Multicore Proce

Multicore Processor
Multicore Processor

0 komentar:

Posting Komentar