VirtualBox

Opened 13 years ago

Last modified 13 years ago

#9438 new defect

Provide a mechinism to set a guest OS's process priority to idle

Reported by: Rom Walton Owned by:
Component: other Version: VirtualBox 4.1.0
Keywords: Cc:
Guest type: other Host type: other

Description

I work on the BOINC project (http://boinc.berkeley.edu). We have begun working on our client-side and server-side code to integrate using VirtualBox to execute CPU bound applications within a Linux guest VM.

BOINC's overall approach to running applications is to run them as the idle process priority class of the host operating system.

Our testers have reported that they have noticed that VM's start with the normal priority class thereby the system sometimes gets a little sluggish when responding to user input.

We would like a way to start a VM guest so that it is running in the hosts idle process priority class.

Change History (1)

comment:1 by Frank Mehnert, 13 years ago

A similar feature is on our TODO list. We are indeed planning to make the priority of the VM execution thread configurable. Although applying the policy to be only scheduled if the host is idle would be probably a bit too dangerous as the guest might not be scheduled for a long time then. Using the usual scheduling policy should at least work on POSIX systems (Linux, Solaris hosts) as these hosts normally schedule a thread at least at certain amounts of time, even if its priority is set to a very low value. Windows hosts might behave differently.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use