[vfio-users] Stuttering in guest

Garrett Powell garretttracypowell at gmail.com
Sat Aug 29 02:26:00 UTC 2015


MSI X79-GD45 Plus
Intel i7-4820k
Nvidia GTX 720 (Host)
Nvidia GTX 970 (Guest)

I've been having some problems with stuttering in my Windows 10 guest.
Every 10-20 seconds the whole system will freeze up (even during the boot
animation) for a second or two. This has only started happening recently,
but I'm not sure what the cause could be. The last thing I did was
configure Pulseaudio to connect to localhost over TCP (audio wasn't working
before then).

The following line in my launch script is also now causing the VM to
crash/not boot, and instead just show a black screen.
. . . -smp sockets=1,cores=4,threads=2 . . .

Changing it to allocate only two cores fixes the crashing problem, but the
stuttering problem remains.
. . . -smp sockets=1,cores=2,threads=2 . . .

Here's the rest of my launch script:
#!/bin/bash

synergys --daemon --config /etc/synergy.conf

export QEMU_AUDIO_DRV=pa
export QEMU_PA_SERVER=localhost
export PULSE_SERVER=localhost

qemu-system-x86_64 \
-enable-kvm \
-m 10240 \
-cpu host,kvm=off \
-smp sockets=1,cores=2,threads=2 \
-vga none \
-nographic \
-soundhw hda \
-name Windows10-VM \
-drive
if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd
\
-drive
if=pflash,format=raw,file=/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd
\
-device vfio-pci,host=03:00.0 \
-device vfio-pci,host=03:00.1 \
-device virtio-scsi-pci,id=scsi \
-drive
file=/home/garrett/VMs/Windows10/windows.img,id=disk,format=raw,if=none
-device scsi-hd,drive=disk \
-drive file=/home/garrett/VMs/Windows10/windows.iso,id=isocd,if=none
-device scsi-cd,drive=isocd \
-drive file=/home/garrett/VMs/Windows10/virtio-win.iso,id=virtiocd,if=none
-device ide-cd,bus=ide.1,drive=virtiocd \
-drive file=/mnt/storage/win-storage.img,id=storage,format=raw,if=none
-device scsi-hd,drive=storage

pkill synergys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20150829/95f6cfc9/attachment.htm>


More information about the vfio-users mailing list