by ComputerGuru · 4y ago · 0 comments
To excercise that you need a lot of separate memory transfers. Tiny ones. Games tend to run bulky transfers instead of many megabytes.
Memory bandwidth and command pipe should not see an effect even with the minimally increased latency, on any HVM.
With modern virtualization tech, the hypervisor mainly sets things up then steps out of the way. It doesn’t have to involve itself at all in the servicing of memory requests (or mapped memory requests) because the cpu does the mapping and knows what accesses are allowed or aren’t. The overhead you’re talking about is basically traversing one extra level in a page table noticeable only on micro benchmarks when filling the tlb or similar - this is a change in performance you might encounter a micro-regression in (without any virtualization to speak of) even when going from one generation of cpu architecture to the next.
Theoretically, the only time you’ll have any overhead is on faults (and even then, not all of them).
Of course I guess you could design a game to fault on every memory request or whatever, but that would be a very intentionally contrived scenario (vs just plain “bad” code).
As you may understand: there's more to graphical fidelity than just the GPU itself.
CPU<->GPU bandwidth (and GPU memory bandwidth) are also important.
There is a small but not insignificant overhead to these things with virtualisation: VMs don't come for free.
Bandwidth from a VM partition should be identical to that from the root partition.
Are you seriously suggesting that I chose to downgrade the graphics on the XB1 because I felt like it, and that dozens of other AAA game studios did the same thing?
Our engine was Microsoft native, by all rights it should have performed much better than PS4.
If you’re going to argue you’ll have to do a lot better than that since I have many years of lived experience with these platforms.
You may be right - you probably have more experience with this particular thing than I do.
I can't answer for the performance of the XB1, but I am curious what % reduction in GPU memory bandwidth you observed due to virtualization.
Did you have a non-virtualized environment on the same hardware to use for comparison?