<div dir="ltr"><div>On the left is native windows and on the right my last score with the virtual machine (the gpu wasn't properly detected, that happens sometimes though it does not change anything to the result, this is the best bench i got on native windows by the way).<br><br>I didn't play with native windows actually, as you can see on the picture there is almost no difference in graphics, the difference comes mainly from not having arch linux running at the same time than windows, thus allowing the cpu to take more load.</div><div>And as the difference is mainly cpu, even though it will impact benchmark i will not see any difference while gaming as i didn't find any game who could load my 8 cores at 100% (don't even know if that is possible with a videogame).</div><div><br></div><div>I will need heaven benchmark wheni have the time as it is almost graphics only, my guess is the difference should be less than 2%.</div><div><br></div><div>Also speaking of optimization, i didn't notice any performance gain with hyperv features, i'm thinking most of the tweaks we are doing mostly increase the vm stability and remove things like stutter, glitchy audio etc.</div><div><br></div><div>Following the example (and with some help) of someone from the mailing list i configured qemu hooks, that works like a charm and automatize every configuration one has to run before and after the vm process (mostly screen and processor configuration)</div><div><br></div><img src="cid:ii_in7yq78s0_154307fcc3c0f526" width="562" height="383"><br>​<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-19 23:08 GMT+02:00 Will Marler <span dir="ltr"><<a href="mailto:will@wmarler.com" target="_blank">will@wmarler.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">I'm glad you shared your process & experience, good job getting it working, and interesting 3dmark benchmark. How do you feel about game performance? I'm guessing 3% isn't noticeable.<span class="HOEnZb"><font color="#888888"><div><br></div><div>Will</div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Apr 19, 2016 at 3:01 PM, thibaut noah <span dir="ltr"><<a href="mailto:thibaut.noah@gmail.com" target="_blank">thibaut.noah@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">So, i switch my vm container to bare metal in order to do some bench with native windows install.<div>Seems the difference between vm and native in 3dmark firestrike is about 3%, just so you know.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-15 8:17 GMT+02:00 Blank Field <span dir="ltr"><<a href="mailto:ihatethisfield@gmail.com" target="_blank">ihatethisfield@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr"><span><br>
On Apr 15, 2016 9:01 AM, "thibaut noah" <<a href="mailto:thibaut.noah@gmail.com" target="_blank">thibaut.noah@gmail.com</a>> wrote:<br>
> Speaking of drives, it seems from what i read that it is possible for qemu/kvm to read a native (non virtualize) install of windows from a passthrough drive.<br>
> If so is there something special to do? Might go to the hassle of reinstalling my all windows system by i prefer to be sure before touching anything (though i might just backup the image, boot my vm from it and clone windows, much easier than reinstalling).<br></span>
There is a problem, that i've promised to git bisect, but trashed my fedora instead.<br>
The thing is, you give the whole drive (or just the necessary partitions) to the vm, and you can either boot the OS inside a VM, or run it bare-metal.<br>
There are some culprits, for example:<br>
If using UEFI, in order to properly mirror the install, you have to copy the efivars. Windows relies on them to activate itself.<br>
If using not virtio-scsi, you don't send the scsi commands. The most noteworthy are SMART and TRIM.<br>
And the final one, since some version of OVMF, GPT formatted drive gets checked for valid MBR and it fails to boot.<br>
But the performance is closest i could get to native, my HDD gets around 150-180MBps, just as it does baremetal.<br>
Not sure about IOPS though.<br>
This kind of setup is useful for AB testing.</p>
</blockquote></div><br></div>
</div></div><br></div></div><span class="">_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">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></span></blockquote></div><br></div>
</blockquote></div><br></div>