This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] sched-credit on boot and DomU startup?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] sched-credit on boot and DomU startup?
From: Tom Parker <tppublic@xxxxxxxxxxx>
Date: Wed, 14 Nov 2007 21:31:35 -0500
Delivery-date: Wed, 14 Nov 2007 18:32:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (Windows/20070728)
I'm running Xen 3.1 on 64-bit Ubuntu 7.10 (Gutsy)

I want to set the weight of Domain-0 to 32768 and the weight of a domain
called "dev" to be 1, and the weight of the rest of the domains left at
the default of 256.

I know how to do that using sudo xm sched-credit (don't need help there)

However, I would like it done automatically at boot or DomU creation.

For Domain-0 is there a method of setting the priority on boot that is
better than placing something in /etc/init.d?

For a DomU, is there a way of setting the sched-credit weight directly
in the config file (doesn't look like it)?

Any other thoughts (perhaps cron is the best solution if I can wait a
few minutes for the sched-credit weight to be set?)


Tom Parker

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] sched-credit on boot and DomU startup?, Tom Parker <=