Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>UPDATE: Now that an Intel x86 image is available, the best answer is by zest above.</p> <p>As CommonsWare has correctly pointed out, the emulator is slow because it emulates an ARM CPU, which requires translation to Intel opcodes. This virtualization chews up CPU.</p> <p>To make the emulator faster, you have to give it more CPU. Start with a fast CPU or upgrade if you can.</p> <p>Then, give the emulator more of the CPU you have:</p> <ol> <li><strong>Disable Hyperthreading</strong> - Since the emulator doesn't appear to utilize more than one core, hyperthreading actually reduces the amount of overall CPU time the emulator will get. Disabling HT will slow down apps that take advantage of multiple CPUs. Hyperthreading must be disabled in your BIOS.</li> <li><strong>Make the emulator run on a CPU other than CPU 0</strong> - This has a much smaller impact than turning off HT, but it helps some. On Windows, you can specify which CPU a process will run on. Many apps will chew up CPU 0, and by default the emulator runs on CPU 0. I change the emulator to run on the last one. Note that on OS X you cannot set affinity (see: <a href="https://superuser.com/questions/149312/how-to-set-processor-affinity-on-a-mac">https://superuser.com/questions/149312/how-to-set-processor-affinity-on-a-mac</a>).</li> </ol> <p><strong>I'm seeing somewhere around a 50% improvement</strong> with these two changes in place.</p> <p>To set processor affinity on Windows 7:</p> <ol> <li>Open Task Manager</li> <li>Click View All Processes (to run as administrator, otherwise you can't set processor affinity)</li> <li>Right click on emulator.exe and choose Set Affinity...</li> <li>On the Set Affinity dialog, select just the last CPU</li> </ol> <p>Note: When you change affinity in this way, it's only changed for the lifetime of the process. Next start, you have to do it again.</p> <p><img src="https://i.stack.imgur.com/oD7Ch.png" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload