WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] sched-sedf

To: Xen Users ML <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] sched-sedf
From: Timo Benk <timo.benk@xxxxxx>
Date: Sat, 8 Jul 2006 8:15:29 +0200
Delivery-date: Fri, 07 Jul 2006 23:17:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <77d61640607072104w6185d0aao5f48e77f9bace5b0@xxxxxxxxxxxxxx>
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>
References: <77d61640607072104w6185d0aao5f48e77f9bace5b0@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: RoundCube Webmail/0.1b
Hi,

afaik there are no parameters you can set in the configuration,
but you can use the following workaround at the end of the
config file:

---<snip>---
import time
self = os.fork()
if not self:
    time.sleep (5)
    os.execvp("xm", ["xm", "sched-sedf", "xendom1", "-p 100", "-s 20"])
---<snip>---

Greetings,
-timo

On Sat, 8 Jul 2006 06:04:18 +0200, Efraim <efraimg@xxxxxxxxx> wrote:
> Hi,
> I'm using sched-sedf to limit cpu usage on Xen 3.0.2, but when one of the
> virtual servers is rebooted the policy is automatically cleared.
> There is some way to maintain the policy?
> 
> Thanks.
> 
> 
-- 
Timo Benk - Jabber ID: fry@xxxxxxxxxx - ICQ ID: #241877854
PGP Public Key: http://m28s01.vlinux.de/timo_benk_gpg_key.asc



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>