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] simulate slower virtual hosts?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] simulate slower virtual hosts?
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Jan 2007 14:37:23 +0100
Delivery-date: Wed, 10 Jan 2007 05:37:33 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1980.84.172.161.138.1168429502.squirrel@xxxxxxx>
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>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
References: <E1H4anh-0007r5-NY@host-192-168-0-1-bcn-london>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi!

As someone said, there are currently no configuration file options to adjust 
the 
schedulting parameters, it seems like XEN needs a "post-create script" that is 
run 
after xend thinks a virtual machine had been created. Would make administartion 
a 
lot easier.

Ah, yeah, stupid question: scheduling parameters are not migrated, right? (As 
documented) ;-)

Regards,
Ulrich

On 10 Jan 2007 at 12:45, bigfoot29@xxxxxxxxxxxxxxxxxxxxxx wrote:

> Easiest way to do so is using the credit scheduler.
> 
> xm sched-credit -d Domainname -c 30
> 
> gives the domain a max of 30 % of the cpu power the system is able to
> provide.
> Thats working like a charm here and is stored unless the host crashes. I
> have built a start-script for that that start my domains again and set
> their corresponding credit values.
> 
> its as simple as:
> 
> > #!/bin/bash
> > xm create domainname1
> > xm sched-credit -d domainname1 -c 30 -w 128
> > xm create domainname2
> > xm sched-credit -d domainname2 -c 100 -w 256
> > xm...
> > ...
> 
> When the domain already is started, nothing happens. xend is mumbling an
> error message and thats it. :)
> Working great here and is limiting the domainname1 to the value I want it to.
> 
> Hope, that helped...
> 
> Regards, Bigfoot29
> 
> 
> 
> > On Wed, 2007-01-10 at 08:38 +0100, Martin Hierling wrote:
> >> Hi,
> >>
> >> can anybody tell me how i can set the sched values in the domain
> >> config file?
> >>
> >> regards Martin
> >
> > I needed to do something similar when I was stress testing pound
> > ( www.apsis.ch/pound/ ), I found that it was easier to use multiple
> > bridges and stagger the forward delay on them accordingly.
> >
> > I'm not sure if you *can* set the cpu scheduler info in the config file
> > (yet) ?
> >
> > Thanks
> > --Tim
> >
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



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

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