Hacker News new | ask | show | jobs
by m463 30 days ago
they said something about VMs.

I've always wondered why VMs are so terrible at sound handling, even with a beefy machine.

Only way I've been able to get good sound from a VM is to pass though a USB controller and plug in an DAC

1 comments

VMs don’t typically own their own physical memory, so you randomly page vault. CPUs can can be preempted and system calls and other instructions can fault for arbitrary lengths of time in the hypervisor. It’s very hard to get real time scheduling when so many sources of latency exist and are outside of your control.