Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Флейм > Virtualbox


Автор: CppDevelopeR 9.10.2008, 22:00
Кто пользовался, или слышал: делимся мнениями, впечатлениями. Мне больше всего понравилось увидеть ХР в окошечке))),

Добавлено через 30 секунд
А если серьезно: вещь очень удобная.

з.ы. у мя версия для линуха 4.0

Автор: MAKCim 9.10.2008, 22:05
пользовался
потом перешел на qemu из-за аппаратной виртуализации

Автор: CppDevelopeR 9.10.2008, 22:21
MAKCim, вот я тоже думал перейти. Но как то не хочется. Как не хотелось с винды ХР на ВИСТУ(и прально), в итого перешел на линух))

Автор: Сумасшедший 9.10.2008, 23:51
Пользовался. Но по той же причине, что и MAKCim, отказался.
А сейчас вообще.. проще взять обычную железку и потестить на ней)

Автор: kemiisto 10.10.2008, 00:31
Цитата(CppDevelopeR @  9.10.2008,  21:00 Найти цитируемый пост)
у мя версия для линуха 4.0 

Назад в будушее? Последняя версия 2.0.2, а у Вас уже 4?

Цитата(MAKCim @  9.10.2008,  21:05 Найти цитируемый пост)
потом перешел на qemu из-за аппаратной виртуализации 

MAKCim, а можно поподробнее. Может тоже перейду.

P.S. CppDevelopeR, почему во Флейме?

Автор: CppDevelopeR 10.10.2008, 19:23
kemiisto, Больше не знал куда постить. Насчет линуха: уже вроде ест Linux Desktop 4.1

Автор: Wowa 12.10.2008, 19:16
Отличная разработка. Понравилось больше, чем VMWARE

Автор: CppDevelopeR 12.10.2008, 19:23
Wowa, аналогично!

Автор: Lazin 12.10.2008, 19:37
Цитата(MAKCim @  9.10.2008,  22:05 Найти цитируемый пост)
пользовался
потом перешел на qemu из-за аппаратной виртуализации

а мой процессор выпущен в бородатом 2006-м году и не поддерживает аппаратную виртуализацию, поэтому я пользуюсь VirtualBox-ом, так как эмуляция у него шустрая smile 

Автор: ama_kid 12.10.2008, 21:20
Цитата(Wowa @  12.10.2008,  20:16 Найти цитируемый пост)
Отличная разработка. Понравилось больше, чем VMWARE 
Кроме того, он вроде Open-Source, что дает спокойно использовать его в конторах с жесткими требованиями по лицензированию ПО. Ну и мне он понравился тем, что шустро поднял мой USB-хост там, где VMWare просто опустил руки...

Автор: MAKCim 12.10.2008, 21:40
Цитата(kemiisto @  10.10.2008,  00:31 Найти цитируемый пост)
а можно поподробнее. Может тоже перейду.

http://en.wikipedia.org/wiki/Hardware-assisted_virtualization
и
http://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine

Добавлено через 2 минуты и 52 секунды
Цитата(CppDevelopeR @  9.10.2008,  22:21 Найти цитируемый пост)
MAKCim, вот я тоже думал перейти. Но как то не хочется.

если есть поддержка vmx/svm, то зря
у меня тестовое ядро за секунду загружается (правда, оно не совсем стандартное, но тем не менее)

Автор: kemiisto 12.10.2008, 23:25
MAKCim, признаться, я так и не разобрался. 

Если я правильно понял, то Hardware-assisted virtualization это и есть аппаратная виртуализация. KVM - один из вариантов реализации этой самой аппаратной виртуализации. Virtual Box поддерживает т.н. full virtualization. Так вот в VB есть два варианта виртуализации - Software и hardware virtualization (VT-x and AMD-V). Для каждой VM можно в свойствах выбрать тип виртуализации. Вот что сказано в справке про эти два варианта:
Цитата

By default, VirtualBox uses a technique called "software virtualization" to run a virtual machine on your guest computer. In a nutshell, this means that the code in the virtual machine (the guest operating system and other programs installed in the virtual machine) is allowed to run directly on the processor of the host, while VirtualBox employs an array of complex techniques to intercept operations that may interfere with your host.

In those cases, VirtualBox needs to step in and fake a certain "virtual" environment for the guest. For example, if the guest attempts to access its hard disk, VirtualBox redirects these requests to whatever you have configured to be the virtual machine's virtual hard disk -- normally, an image file on your host.

VirtualBox has very sophisticated techniques to achieve this without any special hardware. However, modern Intel and AMD processors have support for so-called "hardware virtualization". 

The virtualization technology built into AMD's 64-bit processors is called "AMD-V" (originally referred to with the "Pacifica" codename). In addition, starting with the Barcelona (K10) architecture, AMD's processors have been supporting nested page tables, which can accelerate hardware virtualization significantly. VirtualBox added support for AMD's nested paging with version 2.0.

Intel has named its hardware virtualization VT-x (it was originally called "Vanderpool"). Support for nested page tables, called "Extended Page Tables" (EPT) by Intel, will be shipped with the new Nehalem processors and will be supported by VirtualBox in a future release.

While VirtualBox does support these hardware features, they are optional: you can enable or disable hardware virtualization individiually for each virtual machine.

In fact, depending on the workload, VirtualBox's software virtualization may even be faster than hardware virtualization. Other virtualization products that require hardware virtualization are usually much less sophisticated and tuned compared to VirtualBox. With VT-x and AMD-V, a special CPU environment has to be entered in order to execute guest code and whenever activity of the VMM is required, this environment has to be left and then entered again. This can be an expensive operation and in many circumstances, the benefits of hardware virtualization may not outweigh the performance penalty.

On the other hand side, with hardware virtualization enabled, much less virtualization code from VirtualBox needs to be executed, which can result in a more reliable system. So if you run into problems, you may want to try enabling hardware virtualization.


Так вот, эта самая Hardware Virtualization вроде бы по описанию подходит, под то, что написано про Hardware-assisted virtualization в Википедии:
Цитата

Full virtualization was implemented in first-generation x86 VMMs. It relies on binary translation to trap and virtualize the execution of certain sensitive, non-virtualizable instructions. With this approach, critical instructions are discovered (statically or dynamically at run-time) and replaced with traps into the VMM to be emulated in software. Binary translation can incur a large performance overhead in comparison to a virtual machine running on natively virtualized architectures such as the IBM System/370. VirtualBox and VMware Workstation (for 32-bit guests only), as well as Microsoft Virtual PC, are well-known commercial implementations of full virtualization.

With hardware-assisted virtualization, the VMM can efficiently virtualize the entire x86 instruction set by handling these sensitive instructions using a classic trap-and-emulate model in hardware, as opposed to software.


Вроде как одно и тоже. Так?

Автор: MAKCim 13.10.2008, 09:04
kemiisto, 
Цитата(kemiisto @  12.10.2008,  23:25 Найти цитируемый пост)
Вроде как одно и тоже. Так?

да
но я больше доверяю KVM  smile 

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)