Re: [LAU] Audio performance in guest VM (MS-Win) on Linux host

From: Hans Wilmers <hanswil@email-addr-hidden>
Date: Fri Aug 16 2019 - 13:38:33 EEST

Hi Banibrata,
using USB redirect, the guest os is using its own driver, so I would
imagine guest kernel behaviour plays a role.

In my setting, "simple" listening works fine, but low latency causes
dropouts, which is not surprising as there is a busy network in between.
You may have better luck with the guest directly on the client machine.

/ Hans

---
Hans Wilmers
Notam
Sandakerveien 24 D, bygg F3
N-0473 Oslo Norway
tlf.: +47 22358060
mob.: +47 92459361
http://www.notam02.no
On 16/08/2019 07:09, Banibrata Dutta wrote:
> Thank you for the reply Hans.So using USB redirect, I can access any USB
> audio interface, but shouldn't have to worry too much about the
> interrupt latency or guest kernel behaviour, when it comes to
> low-latency behaviour ?
> 
> On Sat, Aug 10, 2019 at 8:22 PM Hans Wilmers <hanswil@notam02.no
> <mailto:hanswil@notam02.no>> wrote:
> 
>     Hi,
>     there are several possibilities to make the guest OS access USB
>     peripherals (almost) directly:
> 
>     USB Redirect
>     and
>     USB Passthrough
> 
>     https://github.com/kimduho/kvm/wiki/KVM-USB-Redirect-or-Passthrough
> 
>     I can select USB redirect comfortably using a spice client, and a KVM
>     virtual machine on another machine - and it works fine even over the
>     network.
> 
>     / Hans
> 
> 
>     ---
>     Hans Wilmers
>     Notam
>     Sandakerveien 24 D, bygg F3
>     N-0473 Oslo Norway
>     tlf.: +47 22358060
>     mob.: +47 92459361
>     http://www.notam02.no
> 
>     On 10/08/2019 10:34, bdutta wrote:
>     > Hi,
>     >
>     > Is anyone aware of any comparative study of various hypervisors (KVM,
>     > VMware, Virtualbox) running Windows guests, on Linux hosts -- in
>     respect of
>     > quality of audio software, in terms of latency, jitter, glitches
>     etc. Based
>     > on my reading, I've understood that accuracy and reliability of
>     the timer
>     > interrupt available to guest kernel (in VM) should not be expected
>     to be
>     > equal to same on bare-metal. However, are there some hypervisors
>     > (workstation oriented), that are better than others in this regard ?
>     >
>     > The question is in context of need to run some Windows software which
>     > doesn't work well under WINE (even with WineASIO, various
>     recommended WINE
>     > tricks applied), and I find the need to setup/maintain a dual-boot
>     > environment too cumbersome, as I do 90% of my work in Linux.
>     >
>     > regards,
>     > BD
>     >
>     >
>     >
>     > --
>     > Sent from:
>     http://linux-audio.4202.n7.nabble.com/linux-audio-user-f5.html
>     > _______________________________________________
>     > Linux-audio-user mailing list
>     > Linux-audio-user@lists.linuxaudio.org
>     <mailto:Linux-audio-user@lists.linuxaudio.org>
>     > https://lists.linuxaudio.org/listinfo/linux-audio-user
>     >
>     _______________________________________________
>     Linux-audio-user mailing list
>     Linux-audio-user@lists.linuxaudio.org
>     <mailto:Linux-audio-user@lists.linuxaudio.org>
>     https://lists.linuxaudio.org/listinfo/linux-audio-user
> 
> 
> 
> -- 
> regards,
> Banibrata
> http://www.linkedin.com/in/bdutta
> http://twitter.com/edgeliving
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Aug 16 16:15:01 2019

This archive was generated by hypermail 2.1.8 : Fri Aug 16 2019 - 16:15:01 EEST