High CPU usage with Android emulator (qemu-system-i386.exe)

skystar7 picture skystar7 · May 6, 2016 · Viewed 46.7k times · Source

The emulator qemu-system-i386.exe cpu usage almost constantly running between 7~9

Android studio 2.1 Android SDK Tools: 25.1.3 Host Operating System: Windows 7 - i7 2630QM - 8GB Ram Intel x86 Atom System Image installed

No matter what setting i change in the emulator like: emulated performance, multi-core CPU, x86-64 image, always the same thing

It is really annoying fan always on

Anyone had a fix for this issue?

Answer

Benjamin Mesing picture Benjamin Mesing · Feb 13, 2017

The cause of the constant CPU usage could be the sound. If you do not need sound in your emulator you can disable it by editing the AVD's config file.

Change/add those two lines

hw.audioInput=no
hw.audioOutput=no

Update: As buncis commented you can also try to disable GPS if not needed:

hw.GPS = no 

On Linux/Mac the file is located at ~/.android/avd/<AVD_Name>.avd/config.ini
On Windows the file is located at C:\Users\<username>\.android\avd\<AVD_Name>.avd\config.ini