<div dir="ltr">tried right now. same results.<div><br></div><div>this is the command line generated from virt-manager.</div><div><br></div><div>Tried playing directly from vm without streaming but results are the same. Cpus near 90% and low frame rate.</div><div><br></div><div><div> /usr/bin/qemu-system-x86_64 -name win8.1 -S -machine pc-i440fx-trusty,accel=kvm,usb=off -cpu host -bios /usr/</div><div>share/ovmf/OVMF.fd -m 8192 -realtime mlock=off -smp 3,sockets=1,cores=3,threads=1 -uuid f7060f72-6428-40fe-b19e-6ced0837149e -nographic -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/win8.1.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot menu=on,strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 -drive file=/home/repo/vmdisk/win8vmgame.img,if=none,id=drive-virtio-disk0,format=raw,cache=none,aio=native -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=24,id=hostnet0,vhost=on,vhostfd=25 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:db:d1:3e,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x6 -device vfio-pci,host=01:00.1,id=hostdev1,bus=pci.0,addr=0x7 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2 -cpu host,kvm=off -vga none -msg timestamp=on<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-15 11:18 GMT+02:00 Sinisa Tkalec <span dir="ltr"><<a href="mailto:xslisx@gmail.com" target="_blank">xslisx@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
You wanna set cpu like this:<br>
<br>
<vcpu placement='static'>3</vcpu><br>
<cputune><br>
<vcpupin vcpu='0' cpuset='0'/><br>
<vcpupin vcpu='1' cpuset='1'/><br>
<vcpupin vcpu='2' cpuset='2'/><br>
</cputune><br>
<os><br>
<br>
<cpu mode='host-passthrough'><span class=""><br>
<topology sockets='1' cores='3' threads='1'/><br></span>
</cpu><div><div class="h5"><br>
<br>
<br>
<div>On 09/15/2015 11:16 AM, francesco
dicarlo wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Done with the scan. Nothing found...
<div><br>
</div>
<div>Besides running only malwarebytes anti-malware on win vm
hogged guest cpu to 70% and all 3 cores assigned to vm on the
host went at 65%.</div>
<div><br>
</div>
<div>Only scanning... For the sake of completeness, I will post
my vm xml.</div>
<div><br>
</div>
<div><br>
</div>
<div><<span style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">domain
type='kvm' id='12' xmlns:qemu='<a href="http://libvirt.org/schemas/domain/qemu/1.0" target="_blank">http://libvirt.org/schemas/domain/qemu/1.0</a>'></span></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<name>win8.1</name></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<uuid>f7060f72-6428-40fe-b19e-6ced0837149e</uuid></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<memory unit='KiB'>8388608</memory></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<currentMemory unit='KiB'>8388608</currentMemory></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<vcpu placement='static' cpuset='0-2'>3</vcpu></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<resource></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<partition>/machine</partition></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
</resource></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<os></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<type arch='x86_64'
machine='pc-i440fx-trusty'>hvm</type></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<loader>/usr/share/ovmf/OVMF.fd</loader></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<bootmenu enable='yes'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
</os></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<features></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<acpi/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<hyperv></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<relaxed state='off'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<vapic state='off'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<spinlocks state='off'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
</hyperv></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
</features></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<cpu mode='custom' match='exact'></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<model fallback='allow'>SandyBridge</model></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<vendor>Intel</vendor></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<topology sockets='1' cores='3' threads='1'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='vme'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='dtes64'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='vmx'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='erms'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='xtpr'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='smep'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='pcid'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='est'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='monitor'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='tm'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='acpi'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='osxsave'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='ht'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='pdcm'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='fsgsbase'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='f16c'/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<feature policy='require' name='ds’/></div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<div><feature policy='require' name='tm2'/></div>
<div> <feature policy='require' name='ss'/></div>
<div> <feature policy='require' name='pbe'/></div>
<div> <feature policy='require' name='ds_cpl'/></div>
<div> <feature policy='require' name='rdrand'/></div>
<div> </cpu></div>
<div> <clock offset='localtime'></div>
<div> <timer name='hypervclock' present='no'/></div>
<div> <timer name='rtc' tickpolicy='catchup'/></div>
<div> <timer name='pit' tickpolicy='delay'/></div>
<div> <timer name='hpet' present='no'/></div>
<div> </clock></div>
<div> <on_poweroff>destroy</on_poweroff></div>
<div> <on_reboot>restart</on_reboot></div>
<div> <on_crash>restart</on_crash></div>
<div> <pm></div>
<div> <suspend-to-mem enabled='no'/></div>
<div> <suspend-to-disk enabled='no'/></div>
<div> </pm></div>
</div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<div><devices></div>
<div>
<emulator>/usr/bin/qemu-system-x86_64</emulator></div>
<div> <disk type='file' device='disk'></div>
<div> <driver name='qemu' type='raw' cache='none'
io='native'/></div>
<div> <source
file='/home/repo/vmdisk/win8vmgame.img'/></div>
<div> <backingStore/></div>
<div> <target dev='vda' bus='virtio'/></div>
<div> <boot order='1'/></div>
<div> <alias name='virtio-disk0'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x05' function='0x0'/></div>
<div> </disk></div>
<div> <controller type='usb' index='0'
model='ich9-ehci1'></div>
<div> <alias name='usb0'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x04' function='0x7'/></div>
<div> </controller></div>
<div> <controller type='usb' index='0'
model='ich9-uhci1'></div>
<div> <alias name='usb0'/></div>
<div> <master startport='0'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x04' function='0x0' multifunction='on'/></div>
<div> </controller></div>
<div> <controller type='usb' index='0'
model='ich9-uhci2'></div>
<div> <alias name='usb0'/></div>
<div> <master startport='2'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x04' function='0x1'/></div>
<div> </controller></div>
</div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<div><controller type='usb' index='0'
model='ich9-uhci3'></div>
<div> <alias name='usb0'/></div>
<div> <master startport='4'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x04' function='0x2'/></div>
<div> </controller></div>
<div> <controller type='pci' index='0'
model='pci-root'></div>
<div> <alias name='pci.0'/></div>
<div> </controller></div>
<div> <controller type='ide' index='0'></div>
<div> <alias name='ide0'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x01' function='0x1'/></div>
<div> </controller></div>
<div> <interface type='bridge'></div>
<div> <mac address='52:54:00:db:d1:3e'/></div>
<div> <source bridge='br0'/></div>
<div> <target dev='vnet0'/></div>
<div> <model type='virtio'/></div>
<div> <alias name='net0'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x03' function='0x0'/></div>
<div> </interface></div>
</div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<div><serial type='pty'></div>
<div> <source path='/dev/pts/5'/></div>
<div> <target port='0'/></div>
<div> <alias name='serial0'/></div>
<div> </serial></div>
</div>
<div style="color:rgb(0,0,0);font-family:-apple-system-font;font-size:12px;line-height:16px">
<div><console type='pty' tty='/dev/pts/5'></div>
<div> <source path='/dev/pts/5'/></div>
<div> <target type='serial' port='0'/></div>
<div> <alias name='serial0'/></div>
<div> </console></div>
<div> <hostdev mode='subsystem' type='pci'
managed='yes'></div>
<div> <driver name='vfio'/></div>
<div> <source></div>
<div> <address domain='0x0000' bus='0x01'
slot='0x00' function='0x0'/></div>
<div> </source></div>
<div> <alias name='hostdev0'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x06' function='0x0'/></div>
<div> </hostdev></div>
<div> <hostdev mode='subsystem' type='pci'
managed='yes'></div>
<div> <driver name='vfio'/></div>
<div> <source></div>
<div> <address domain='0x0000' bus='0x01'
slot='0x00' function='0x1'/></div>
<div> </source></div>
<div> <alias name='hostdev1'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x07' function='0x0'/></div>
<div> </hostdev></div>
<div> <memballoon model='virtio'></div>
<div> <alias name='balloon0'/></div>
<div> <address type='pci' domain='0x0000' bus='0x00'
slot='0x02' function='0x0'/></div>
<div> </memballoon></div>
<div> </devices></div>
<div> <qemu:commandline></div>
<div> <qemu:arg value='-cpu'/></div>
<div> <qemu:arg value='host,kvm=off'/></div>
<div> <qemu:arg value='-vga'/></div>
<div> <qemu:arg value='none'/></div>
<div> </qemu:commandline></div>
<div></domain></div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-09-15 11:04 GMT+02:00 francesco
dicarlo <span dir="ltr"><<a href="mailto:evilsephiroth@gmail.com" target="_blank">evilsephiroth@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">hmm a pretty new installation with only
installed nvidia drivers and steam ? it's an image from a
reliable source. just checking with malwarebytes tool.
<div><br>
</div>
<div>I inspected the task manager but nothing came up</div>
</div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-09-15 10:58 GMT+02:00
BugMaze <span dir="ltr"><<a href="mailto:bugmaze@networkbreak.net" target="_blank">bugmaze@networkbreak.net</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Then check your Windows for malware.
Most of them are bitcoin mining proccess that
hog the CPU in the background. </p>
<div>
<div>
<br>
<br>
---- francesco dicarlo كتب ----<br>
<br>
<div dir="ltr">60 degree under gaming. pretty
normal for that shitty intel cooler... I use
sensors from ubuntu repository.
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-09-15 10:45
GMT+02:00 BugMaze <span dir="ltr"><<a href="mailto:bugmaze@networkbreak.net" target="_blank">bugmaze@networkbreak.net</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Just a wild guess: Maybe
your CPU is throttling, do you monitor
your CPU's temps? I used to have a
similar experience to yours, reseating
the cooler with new thermal compound
was the magic solution. </p>
<br>
<br>
---- francesco dicarlo كتب ----
<div>
<div><br>
<br>
<div dir="ltr"><span style="font-size:13px">Hi to
all, this is my current
hardware:</span>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">Cpu:
I5 3330 </div>
<div style="font-size:13px">Ram:
12GB DDR3</div>
<div style="font-size:13px">HD: 3
x 4TB(NAS) + 1x120GB (Ubuntu
14.04)</div>
<div style="font-size:13px">GPU:Nvidia
gtx 970 directCu mini</div>
<div style="font-size:13px">DVB-S
:Dvb-Sky S952 pci express</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">I'm
currently using my host for
these operations:</div>
<div style="font-size:13px">-Rtorrent
+ filebot + irssi + Rutorrent</div>
<div style="font-size:13px">- Kodi
14 Client</div>
<div style="font-size:13px">- Vdr
Server</div>
<div style="font-size:13px">-
Mysql server for Kodi central
repository</div>
<div style="font-size:13px">- NFS
server for exposing my nas
drives </div>
<div style="font-size:13px">- Some
cron jobs to update kodi
repository </div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">Usually,
cpu usage stays 10 - 15% also
with kodi reproducing media with
ram almost free (890MB on 12GB)</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">I've
got a windows 8.1 OVMF virtual
machine. No problem with 970
passthrough.</div>
<div style="font-size:13px">Removed
hyperV enlightenments,kvm=off
with latest nvidia drivers.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">Assigned
3vcpus pinning 0-2 with
virt-manager ui.</div>
<div style="font-size:13px">Assigned
a raw image of 100GB for
testing. Virtio for disk and
network.</div>
<div style="font-size:13px">There's
a bridge br0 on the host machine
to provide connectivity.</div>
<div style="font-size:13px">Using
huge pages also.</div>
<div style="font-size:13px">Latest
ovmf from git.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">I use
it as a steam streaming server
by using only wired ethernet
gigabit.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">My
problem is only performance.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">When I
fire up a game,qemu process use
90% of 3 cpus and I have
framerate by 15 20 fps while
gaming on bare metal goes always
at 60fps. Tried with various
games(Borderlands,KOF 13, Child
of Light). Client is at 90% cpu.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">I used
in the past proxmox for my kvm
needs with a i5 3470 and
performance was much more(60
fps) that with kvm-qemu on my
current distro.</div>
<div style="font-size:13px">I
can't think that there's so much
difference between i5 3330 and
i5 3470.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">Is
there something I'm missing? I'm
willing to post configuration or
any other file that you need to
do an analysis.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">The
last thing that I'm going to do
is to use a empty installation
of Ubuntu with nothing installed
aside kvm packages to see
performance...</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
vfio-users mailing list
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div>