3

I have a Parallels Desktop Windows 10 Pro virtual machine on my Macbook Air, and it runs much faster/smoother than most new low/mid-end PC laptops.

I also have a Genymotion Android 6.0 emulator, as well as some different Android Studio (qemu) emulators (with HAXM enabled).

What baffles me is that I can run a full PC operating system (i.e. Windows 10 Pro) in a virtual machine and it's super smooth, but running an emulation of an operating system that was built to run on a low-powered, limited-hardware, mobile device (i.e. Android) is not at all smooth.

Doing something as simple as opening the preferences menu with a single "Settings" item can take a second or two on any of the Android emulators, whereas opening the Windows 10 Start menu with all it's bells and whistles happens instantly.

Why is that, and is it normal? Android Studio tells me all my emulators have HAXM enabled (Android Studio 2.0 with latest version of HAXM) and that they run in fast virt mode, so I guess that's as good as it gets?

Magnus
  • 17,157
  • 19
  • 104
  • 189
  • One thing that might come into account is that a PC operating system is designed to run on your machine, whereas an Android OS isn't. And the processors on most modern machines are equipped with a 'virtualization engine' (not sure of the term). Whereas for an Android OS your processor needs to 'manually' emulate mobile hardware as well, which is what makes it expensive. Mind you, I am half guessing here so it might not be relevant. – Nico Apr 17 '16 at 09:10

1 Answers1

0

My guess is that this is because windows is designed for the x86 architecture whereas android is designed for arm. There is a project called android x86 but I think they might not be able to get a very good performance, because the android build they fork from is made for arm processors and all the performance boosting done in android is mady primarily for arm processors.

frankenapps
  • 5,800
  • 6
  • 28
  • 69
  • I was under the impression that the `x86` system images were built for x86 systems? – Magnus Apr 17 '16 at 09:53
  • Yeah of course but they are built from the "normal" android images, and those are built for arm and therefore google has only tweaked performance of them only for arm processors. – frankenapps Apr 17 '16 at 10:05