Skip to contentSkip to conversation

processor priority for domains?

DISCUSSION Ricardo Staudt 2 participants 2 messages Mar 23, 2005

lore
Share & tools
lore
#0 lore raw

I've been playing with Xen for a while now and I found nothing related to this topic yet:

Is there a way to set the processing priority to a certain Domain over the others? Maybe setting a percentage of max processor usage per domain?

I realize you can set the amount of ram memory per domain, but I found nothing related to the processor.

If not in Xen, is there a way to set this limitation on each running Linux OS? (a Linux configuration file? kernel?)

Thanks in advance!

-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click

#1 lore raw
Quoted 1 line · Ricardo Staudt

Is there a way to set the processing priority to a certain Domain over the others? Maybe setting a percentage of max processor usage per domain?

You can set parameters on the schedulers. There's a function xc_domain_setcpuweight() that provides an interface to this. Beforewarned, it only works properly when using the BVT schedulerly.

Regards,
Anthony Liguori

Quoted 7 lines

I realize you can set the amount of ram memory per domain, but I found nothing related to the processor.

If not in Xen, is there a way to set this limitation on each running Linux OS? (a Linux configuration file? kernel?)

Thanks in advance!

Quoted 10 lines

-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click