Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On Tue, Apr 9, 2019 at 5:52 AM Dario Lesca wrote: > > On a i7+16Gb+SSD notebook of a my friend I have install Fedora 29 workstation > (all work fine! ... thank to all!) > and into qemu/kvm/libvirtd via virt-manager I have install a win10pro with > all virtio driver (disk, network, ecc..). > > After few days my friend say me that the win10 is slow and less efficient > than same installation on another PC with VirtualBox. > He told me "virtualbox is better and faster" What backing storage is the VM using? qcow2, raw, LVM? If it's a file, what filesystem is it on? It's worth experimenting with the virtio disk "cache mode" setting, in virt-manager under advanced > performance options. I use unsafe, which is bad advice to give because it really is not safe if there's a crash, good chance the guest filesystem is toast. But it's a lot faster. And I consider my VM's throwaway. There may be another cache setting that's not so dangerous but also doesn't penalize like the default. I think what you want is cache=writeback if it's a file, and cache=none if it's LVM. I would say test both and pick the one with better performance. https://doc.opensuse.org/documentation/leap/virtualization/html/book.virt/cha.cachemodes.html#cachemodes.descr Note that some of the cache modes must be paired with a specific IO mode, e.g. unsafe only works with threads. -- Chris Murphy ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
Il giorno mer, 24/04/2019 alle 11.26 +0100, Patrick O'Callaghan ha scritto: > You haven't said which version of Win10 your friend has Win10pro Thanks -- Dario Lesca (inviato dal mio Linux Fedora 29 Workstation) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On Wed, 2019-04-24 at 11:07 +0200, Dario Lesca wrote: > Il giorno mar, 23/04/2019 alle 21.39 -0700, Gordon Messmer ha scritto: > > Is the user interfacing with the VM through virt-manager, or over > > RDP? My experience has been that, although Spice is better than VNC, > > interfacing with the virtual console is noticeably less responsive > > than RDP. > > My friend use virt-manager spice console, and the drive is a 7.2 rpm > disk ext4 parted (no LVM) > ID-1: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB > [alb@vivobook-pro ~]$ df -T /virt/win10.qcow2File systemTipo 1K- > blocchi Usati Disponib. Uso% Montato > su/dev/sda2 ext4 337375272 120006960 200160916 38% /virt > Then, I will recommend my friend to use RDP > Thanks You haven't said which version of Win10 your friend has, but note that RDP requires at least Win10 Pro. poc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
Il giorno mar, 23/04/2019 alle 21.39 -0700, Gordon Messmer ha scritto: > Is the user interfacing with the VM through virt-manager, or over > RDP? My experience has been that, although Spice is better than VNC, > interfacing with the virtual console is noticeably less responsive > than RDP. My friend use virt-manager spice console, and the drive is a 7.2 rpm disk ext4 parted (no LVM) ID-1: /dev/sda vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB [alb@vivobook-pro ~]$ df -T /virt/win10.qcow2File systemTipo 1K- blocchi Usati Disponib. Uso% Montato su/dev/sda2 ext4 337375272 120006960 200160916 38% /virt Then, I will recommend my friend to use RDP Thanks -- Dario Lesca (inviato dal mio Linux Fedora 29 Workstation) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On 4/10/19 8:18 AM, Dario Lesca wrote: Il giorno mar, 09/04/2019 alle 19.53 -0700, Gordon Messmer ha scritto: Can you post the content of /etc/libvirt/qemu/.xml? see attach. It looks like this host is using virtio drivers for disk and network, and that's usually the important bits. It's possible that qcow2 on a journaled drive is slower than expected. I typically use LVM block devices to minimize overhead. I'm not sure how much difference that'll make. Is the user interfacing with the VM through virt-manager, or over RDP? My experience has been that, although Spice is better than VNC, interfacing with the virtual console is noticeably less responsive than RDP. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
Il giorno gio, 11/04/2019 alle 08.26 -0500, Rex Dieter ha scritto: > Use virtio drivers? Yes, all without video driver Tomorrow I try other suggested options Thanks -- Dario Lesca (inviato dal mio Linux Fedora 29 Workstation) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On Thu, 2019-04-11 at 08:26 -0500, Rex Dieter wrote: > Dario Lesca wrote: > > > On a i7+16Gb+SSD notebook of a my friend I have install Fedora 29 > > workstation (all work fine! ... thank to all!) > > and into qemu/kvm/libvirtd via virt-manager I have install a win10pro > > with all virtio driver (disk, network, ecc..). > > > > After few days my friend say me that the win10 is slow and less > > efficient than same installation on another PC with VirtualBox. > > He told me "virtualbox is better and faster" > > > > I have heard this statement in other cases in the past and the only > > solution (sig!) was to replace qemu with virtualbox. > > > > There is some other solution to optimize qemu/kvm on Fedora to increase > > the performance for win10 VM? > > Use virtio drivers? > > https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html The OP says he's using virtio drivers. opoc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
Dario Lesca wrote: > On a i7+16Gb+SSD notebook of a my friend I have install Fedora 29 > workstation (all work fine! ... thank to all!) > and into qemu/kvm/libvirtd via virt-manager I have install a win10pro > with all virtio driver (disk, network, ecc..). > > After few days my friend say me that the win10 is slow and less > efficient than same installation on another PC with VirtualBox. > He told me "virtualbox is better and faster" > > I have heard this statement in other cases in the past and the only > solution (sig!) was to replace qemu with virtualbox. > > There is some other solution to optimize qemu/kvm on Fedora to increase > the performance for win10 VM? Use virtio drivers? https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html -- Rex ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On 4/9/19 4:51 AM, Dario Lesca wrote: On a i7+16Gb+SSD notebook of a my friend I have install Fedora 29 workstation (all work fine! ... thank to all!) and into qemu/kvm/libvirtd via virt-manager I have install a win10pro with all virtio driver (disk, network, ecc..). After few days my friend say me that the win10 is slow and less efficient than same installation on another PC with VirtualBox. He told me "virtualbox is better and faster" I have heard this statement in other cases in the past and the only solution (sig!) was to replace qemu with virtualbox. There is some other solution to optimize qemu/kvm on Fedora to increase the performance for win10 VM? Someone has some performance comparison between the two virtualization system? Many thanks -- Dario Lesca (inviato dal mio Linux Fedora 29 Workstation) Hi Dario, Keep in mind that Windows 10 runs at about 1/2 the speed that Fedora runs at. No fooling. Windows 10 is a dog. If you were to install Windows 10 natively on your machine it would only run about 10% faster than it does in qemu-kvm. KVM (Kernel Virtual Machine) is know for its performance as it works at the kernel level. So, unless you really goofed up your VM's configuration, the problem is going to be Windows 10 itself. I will attach my Windows 10 XML file at the end of this letter: Here are some sites for speeding up Windows 10: https://fossbytes.com/speed-up-windows-performance-tips/ https://www.cnet.com/news/black-hole-picture-revealed-first-look-from-across-the-universe/ HTH, -T Oh wow. I managed to get through this entire letter without calling it Windows Nein. Opps, I just did. Rats! KVM-W10 08acc96b-e96d-4ab7-afd0-6d6f25c6a731 4194304 4194304 2 hvm Nehalem destroy restart destroy /usr/bin/qemu-kvm function='0x7'/> function='0x0' multifunction='on'/> function='0x1'/> function='0x2'/> function='0x1'/> function='0x0'/> function='0x0'/> function='0x0'/> heads='1' primary='yes'/> function='0x0'/> function='0x0'/> ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
Il giorno mar, 09/04/2019 alle 19.53 -0700, Gordon Messmer ha scritto: > Can you post the content of /etc/libvirt/qemu/.xml? see attach. Thanks -- Dario Lesca (inviato dal mio Linux Fedora 29 Workstation) win10.xml Description: XML document ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
Il giorno mar, 09/04/2019 alle 13.16 -0700, Samuel Sieb ha scritto: > > [ ] qxl/ - QXL graphics driver for Windows 7 and earlier. (build > > virtio-win-0.1.103-1 and later) > > [ ] qxldod/ - QXL graphics driver for Windows 8 and later. (build > > virtio-win-0.1.103-2 and later) > > Why don't you install the graphics drivers? That could definitely > cause a slow down. Thank for the suggest, I'll try it. -- Dario Lesca (inviato dal mio Linux Fedora 29 Workstation) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On 4/9/19 4:51 AM, Dario Lesca wrote: Someone has some performance comparison between the two virtualization system? Can you post the content of /etc/libvirt/qemu/.xml? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On 4/9/19 1:41 PM, Tom Horsley wrote: On Tue, 9 Apr 2019 13:20:05 -0700 Samuel Sieb wrote: what specifically is the slowdown? From my highly non-scientific and inexact testing, the virtual disks have better I/O performance in virtualbox and in vmware. Since qemu has 47 gazillion different format virtual disks, I have no idea which one is the best performance (raw, qcow2, something else?) That should only matter if you're doing something disk intensive. I used Windows 7 in a VM a while back and didn't have any issues with it. I wasn't doing anything that required a lot of performance though. Also, there is no 3D graphics support in the video driver (though I see a mysterious checkbox in the latest virt-manager that says something about 3D and has a warning triangle next to it). So if the windows program you are running is willing to fall back to pure software 3D, the performance will be dreadful (though windows programs I've tried have simply refused to run without hardware 3D). I think the only 3D support is if the guest is Linux with the 3D virtio driver. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On Tue, 2019-04-09 at 16:41 -0400, Tom Horsley wrote: > On Tue, 9 Apr 2019 13:20:05 -0700 > Samuel Sieb wrote: > > > what specifically is the > > slowdown? > > From my highly non-scientific and inexact testing, the > virtual disks have better I/O performance in virtualbox > and in vmware. Since qemu has 47 gazillion different > format virtual disks, I have no idea which one is the > best performance (raw, qcow2, something else?) > > Also, there is no 3D graphics support in the video > driver (though I see a mysterious checkbox in the > latest virt-manager that says something about 3D and > has a warning triangle next to it). So if the windows > program you are running is willing to fall back to > pure software 3D, the performance will be dreadful > (though windows programs I've tried have simply refused > to run without hardware 3D). The problem with 3D support is essentially that you need to use the proprietary Windows drivers with direct access to the GPU (because GPUs themselves aren't virtualizable). There is a way round it using VFIO and video passthrough (I use it for gaming) but it requires a lot of setup and depends on your specific hardware, BIOS and chipset. poc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On Tue, 9 Apr 2019 13:20:05 -0700 Samuel Sieb wrote: > what specifically is the > slowdown? From my highly non-scientific and inexact testing, the virtual disks have better I/O performance in virtualbox and in vmware. Since qemu has 47 gazillion different format virtual disks, I have no idea which one is the best performance (raw, qcow2, something else?) Also, there is no 3D graphics support in the video driver (though I see a mysterious checkbox in the latest virt-manager that says something about 3D and has a warning triangle next to it). So if the windows program you are running is willing to fall back to pure software 3D, the performance will be dreadful (though windows programs I've tried have simply refused to run without hardware 3D). ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On 4/9/19 4:51 AM, Dario Lesca wrote: After few days my friend say me that the win10 is slow and less efficient than same installation on another PC with VirtualBox. He told me "virtualbox is better and faster" I have heard this statement in other cases in the past and the only solution (sig!) was to replace qemu with virtualbox. If you can compare them on similar hardware, what specifically is the slowdown? Make sure that the VM configuration is set to create virtio devices and that the Windows virtio drivers are being used. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On 4/9/19 7:51 AM, Dario Lesca wrote: [ ] qxl/ - QXL graphics driver for Windows 7 and earlier. (build virtio-win-0.1.103-1 and later) [ ] qxldod/ - QXL graphics driver for Windows 8 and later. (build virtio-win-0.1.103-2 and later) Why don't you install the graphics drivers? That could definitely cause a slow down. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On Tue, Apr 9, 2019 at 5:52 AM Dario Lesca wrote: > > There is some other solution to optimize qemu/kvm on Fedora to increase > the performance for win10 VM? > I'd like to know as well. I have tried KVM periodically, but the performance is always horrible with Windows VMs, and since having a place to run all that "windows-only" software is my primary reason for using VMs, I have always been forced back to VirtualBox. --Greg ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On Tue, 09 Apr 2019 16:51:29 +0200 Dario Lesca wrote: > is this correct ? or I must install also other drivers? That looks like all the ones I have, so you probably do have about as good performance as you are likely to get (as far as I know anyway, lots of people probably know more about qemu that I do :-). ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
Il giorno mar, 09/04/2019 alle 09.06 -0400, Tom Horsley ha scritto: > You should certainly install all the redhat virtualdrivers for disks > and network if you haven't already: > https://www.linux-kvm.org/page/WindowsGuestDrivers Thank for reply, but when I have install w10 I have mount the virtio- drivers.iso CD https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html and install this virtio driver. [X] NetKVM/ - Virtio network driver[X] viostor/ - Virtio block driver[ ] vioscsi/ - Virtio Small Computer System Interface (SCSI) driver[ ] viorng/ - Virtio RNG driver[X] vioser/ - Virtio serial driver[X] Balloon/ - Virtio memory balloon driver[ ] qxl/ - QXL graphics driver for Windows 7 and earlier. (build virtio-win-0.1.103-1 and later)[ ] qxldod/ - QXL graphics driver for Windows 8 and later. (build virtio- win-0.1.103-2 and later)[ ] pvpanic/ - QEMU pvpanic device driver (build virtio-win-0.1.103-2 and later)[ ] guest-agent/ - QEMU Guest Agent 32bit and 64bit MSI installers[ ] qemupciserial/ - QEMU PCI serial device driver is this correct ? or I must install also other drivers? Thanks -- Dario Lesca (inviato dal mio Linux Fedora 29 Workstation) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: Fedora Virtualization (quemu/kvm) vs Virtualbox
On Tue, 09 Apr 2019 13:51:27 +0200 Dario Lesca wrote: > There is some other solution to optimize qemu/kvm on Fedora to increase > the performance for win10 VM? You should certainly install all the redhat virtual drivers for disks and network if you haven't already: https://www.linux-kvm.org/page/WindowsGuestDrivers ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Fedora Virtualization (quemu/kvm) vs Virtualbox
On a i7+16Gb+SSD notebook of a my friend I have install Fedora 29 workstation (all work fine! ... thank to all!) and into qemu/kvm/libvirtd via virt-manager I have install a win10pro with all virtio driver (disk, network, ecc..). After few days my friend say me that the win10 is slow and less efficient than same installation on another PC with VirtualBox. He told me "virtualbox is better and faster" I have heard this statement in other cases in the past and the only solution (sig!) was to replace qemu with virtualbox. There is some other solution to optimize qemu/kvm on Fedora to increase the performance for win10 VM? Someone has some performance comparison between the two virtualization system? Many thanks -- Dario Lesca (inviato dal mio Linux Fedora 29 Workstation) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org