The performance of the Tizen x86 Emulator on which the x86-compiled binaries are run can be enhanced by using KVM (Kernel-based Virtual Machine in Linux) or HAX (Hardware Accelerated eXecution in Windows® and Mac OS® X) with HW virtualization support.
To use HW virtualization, you need:
To use KVM, you need a processor that supports HW virtualization. Both Intel and AMD have developed those extensions for their processors (Intel VT-x/AMD-V). Check whether the CPU supports HW virtualization with the following command:
$egrep -c '(vmx|svm)' /proc/cpuinfo
If the output of the command is 0, the CPU does not support HW virtualization. Otherwise, it does.
The HW virtualization feature can also be disabled on the BIOS setting; check the setting and enable it if you need the feature.
To use HAX, you need Intel VT-x-supported CPU, and you must enable the NX-related setting in the PC BIOS.
To use HAX, install EFI-related updates on your Intel-based Mac system. For more information, see EFI and SMC firmware updates for Intel-based Macs.
To install KVM or HAX:
No installation is required for KVM.
The HAXM driver is installed during the Tizen SDK installation. See the installation manual on the Tizen developer site.
Note |
---|
If the installation fails with a VT-related message, check the CPU feature and BIOS settings. If the installation fails with an NX-related message, enable NX (or PAE and DEP) related item in the BIOS. In addition, make sure that the operating system supports the NX feature (for more information, see MSDN). |
No configuration is required for KVM or HAX.
To run the Emulator with HW virtualization support in the Emulator Manager, set the HW Virtualization field to Supported. The field is disabled if your system cannot support HW virtualization.
You can also run the Emulator with HW virtualization support from the command line, by including the -enable-kvm (in Linux) or -enable-hax (in Windows® and Mac OS® X) option in the start-up command.