BKM: improve qemu performance: Difference between revisions

From Yocto Project
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:


== Enable KVM ==
== Enable KVM ==
If you have processor with VTx support, you can enable KVM so that virtualization rather than emulation is used for performance. Pls. refer following:
* [[How to enable KVM for Poky qemu]]


* [[How to enable KVM for Poky qemu]]
== Add big memory ==
Sometimes, workload inside qemu requires huge memory. Fail to do this lead performance drop. So pls. add enough memory to qemu via "-m 2048"(2G).
 
== enable SMP ==

Revision as of 05:52, 6 December 2011

improve qemu performance

Qemu in yocto is emulator, and is slow when running huge task inside. E.g. running yocto build inside qemu. This article illustrate possible performance improvement to accelerate it

Enable KVM

If you have processor with VTx support, you can enable KVM so that virtualization rather than emulation is used for performance. Pls. refer following:

Add big memory

Sometimes, workload inside qemu requires huge memory. Fail to do this lead performance drop. So pls. add enough memory to qemu via "-m 2048"(2G).

enable SMP