|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] simulate slower virtual hosts?
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
|
|
|
|
|