Soundcard PCIe Passthrough stuttering

deepmedia

Member
Nov 10, 2014
5
0
21
Hi,

I'm using Proxmox for a few months now and I'm very happy with its capabilities. There's a small issue which I can't resolve with the documentation and Google.
I have made a passthrough setup with a PCIe soundcard (Orban 1101e Optimod) using the following conf:
bootdisk: virtio0
cores: 3
hostpci0: 09:00.0,pcie=1,driver=vfio
machine: q35
memory: 3072
name: Windows
net0: virtio=2E:37:BA:0A:E3:D8,bridge=vmbr0
ostype: win8
smbios1: uuid=68de0a49-f703-4ea9-93ab-f07408d439ce
sockets: 1
virtio0: local:115/vm-115-disk-2.raw,format=raw,size=100G
virtio1: local2:115/vm-115-disk-1.raw,size=1000G
The virtual machine is running Windows 2012 R2 hosting a music player which uses the orban soundcard to process the audio and then comes back into an audio encoder application to stream the audio to a different shoutcast server for use in internet radio. So far so good, everything works.

Problems arise when I copy data (audio files) from a remote network share towards the second local disk (vm-115-disk-1.raw). On that case the audio stream itself starts to stutter. Not the encoded audio but the audio generated by the music player. Assigning more memory or more cpu doesn't seem to have a positive effect, it continues to stutter whenever data is copied.

I was thinking it might be a bandwith issue from and towards the passthrough'ed soundcard. Does anyone have an idea how to monitor its usage to see if this hypothesis is right and even more important; a clue how to fix it. (e.g. using prioritization for the pcie passthrough).

Thanks in advance for thinking :)
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!