Assymetric VRAM splits BELOW the default firmware BAR size are fully supported by default with no modifications. What I did was forcefully increase the BAR size so that I can give a single VM more than 4GB of VRAM. It has been working great for weeks now. I can run windows/linux games/ai/whatever and it all works with even 14GB on a single VM with 0.5 GB each for the other VFs and the PF. Otherwise, if you try to give a VF more vram_quota than the size of the BAR you get errors.
If you are experiencing stutters, you should look into the sched_priority, exec_quantum_ms and preempt_timeout_us parameters. They control how long the GPU spends processing each VM and for how long a VM can take the card for itself. I’m running with:
exec_quantum_ms = 4 (Try to switch to working on another VF after 4ms by not scheduling any more work for the current one)
preempt_timeout_us = 10000000 (Force kick out a VF if hasn’t finished work after 10s, causing a driver reset in the VM)
sched_priority = low (Don’t schedule VFs that don’t have anything to do, allow every VF to use 100% of the card)
At least that’s how I understand those parameters. In particular, lower exec_quantum_ms should improve stutter at the cost of higher switching overhead/lower total performance.