Choppy audio under resource load

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
Neurokinetics
Posts: 11
Joined: 29. Jul 2013, 21:46

Choppy audio under resource load

Post by Neurokinetics »

Hi,

I am running an Android x86 guest on Mac OS X guest.

I've noticed choppy audio - but only when I have more than 3 apps open in the host OS.

What's strange is that there seems to be a threshold past which the audio becomes terribly choppy. The lag is not gradual - it seems that once RAM is filled to a certain extent, something funky happens with the virtual images.

Any ideas on how to prevent this?

cheers
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Choppy audio under resource load

Post by loukingjr »

hmmm, don't run more than 3 apps at a time on the host?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Neurokinetics
Posts: 11
Joined: 29. Jul 2013, 21:46

Re: Choppy audio under resource load

Post by Neurokinetics »

loukingjr wrote:hmmm, don't run more than 3 apps at a time on the host?
What a worthless comment.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Choppy audio under resource load

Post by loukingjr »

the point is the host, along with the guest may be too much load to handle.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Neurokinetics
Posts: 11
Joined: 29. Jul 2013, 21:46

Re: Choppy audio under resource load

Post by Neurokinetics »

loukingjr wrote:the point is the host, along with the guest may be too much load to handle.
Yes, that seems to be the case.

I could make do and keep only a few programs open, but I have 16 gb of memory so it shouldn't be much of an issue.

I guess my real question is, does virtualbox run any sort of memory compression on guest OSes left running in the background - and if so, how to avoid the virtual machine becoming demoted to a background process? I'm not sure how Mac OS / virtualbox handles this, but if there is a solution, it would be to keep the virtual machine in the foreground.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Choppy audio under resource load

Post by loukingjr »

it's not just the memory taken up. it's also how demanding each app is on the CPU.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Neurokinetics
Posts: 11
Joined: 29. Jul 2013, 21:46

Re: Choppy audio under resource load

Post by Neurokinetics »

loukingjr wrote:it's not just the memory taken up. it's also how demanding each app is on the CPU.
Thanks, good thinking. I'll try to renice the virtualbox process and give it some more CPU priority.

edit:
ran

Code: Select all

 sudo renice -10 [PID#] 
with little noticeable effect.

It's possible I got syntax wrong, but for now I'll put this problem on the shelf.

cheers
Post Reply