From: =?iso-8859-1?Q?Andre=EF_V=2E_Fomitchev?= Subject: Re: CPU load balancing Date: Thu, 24 Jul 2008 02:44:17 -0700 (PDT) Message-ID: <18828.21125.qm@web52505.mail.re2.yahoo.com> References: <7a88c6510807231546u139f61afha7432e56165fb25d@mail.gmail.com> Reply-To: fomitchev@yahoo.fr Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2003110331==" Return-path: In-Reply-To: <7a88c6510807231546u139f61afha7432e56165fb25d@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============2003110331== Content-Type: multipart/alternative; boundary="0-307625562-1216892657=:21125" --0-307625562-1216892657=:21125 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thank you Gabriel for the document. I found it very interesting and instruc= tive. Now, I understand that my idea is useless and childish. I want to improve my knowledge of schedulers. I found in Xen Wiki an articl= e about Credit Scheduler (a priori, it is the default scheduler in XEN now)= . I use the backported XEN 3.2 on a Debian Etch.=20 Is it possible to test the work-conserving (WC) and non work-conserving (NW= C) modes? Is it possible to test the other schedulers (BVT and SEDF)? Best regards, --=20 Andre=EF V. FOMITCHEV --- En date de=A0: Jeu 24.7.08, Gabriel Southern a =E9cr= it=A0: De: Gabriel Southern Objet: Re: [Xen-users] CPU load balancing =C0: fomitchev@yahoo.fr Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com Date: Jeudi 24 Juillet 2008, 0h46 I'm not sure if the idea you are proposing is really useful. The credit scheduler will already allocate unused CPU time to other VMs, if you don't have a cap configured, it does not necessarily follow weight percentage allocation exactly. You might find this research paper helpful: http://www.cs.ucsd.edu/~dgupta/papers/per07-3sched-xen.pdf On Wed, Jul 23, 2008 at 5:39 AM, Andre=EF V. Fomitchev wrote: > Hi all. > > I continue to study the XEN possibilities and currently I search a 'CPU load > balancing tool' which answers the scenario below: > Configuration: using sched-credit command, the 4 DomU are the same weight > and each uses only 15% of CPU. > The balancing tool monitors the DomU CPU loads and if two (or more) > consecutive measures of CPU load equal to 100% of CPU and if the other > domains are in Idle mode, the tool increases the Domain weight and allocates > more of CPU. When the Domain terminated and "returns" to Idle, the tool > returns the Domain configuration in nominal mode. > > 1) Because I did not find a response in XEN documentation, my first > questions are "philosophical": > - this kind of tools is it interesting? Can it provide some improvements of > performances on-the-fly? > > 2) I found some tools which manage the load balancing of entire clusters. I > think that it is possible to adapt them or their algorithm to CPU balancing > but I think also that I am not the first to meet this issue... Did you read > something about a tool which can answer my needs? > > Thank you for your answers. > > Best regards, > > -- > Andre=EF V. FOMITCHEV > > ________________________________ > Envoy=E9 avec Yahoo! Mail. > Une boite mail plus intelligente. > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users=0A=0A=0A ________________________= _____________________________________________________ =0AEnvoyez avec Yahoo= ! Mail. Une boite mail plus intelligente http://mail.yahoo.fr --0-307625562-1216892657=:21125 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Thank you Gabriel for the document. I found i= t very interesting and instructive. Now, I understand that my idea is usele= ss and childish.
I want to improve my knowledge of schedulers. I found i= n Xen Wiki an article about Credit Scheduler (a priori, it is the default s= cheduler in XEN now).
I use the backported XEN 3.2 on a Debian Etch. Is it possible to test the work-conserving (WC) and non work-conserving (N= WC) modes?
Is it possible to test the other schedulers (BVT and SEDF)?
Best regards,

--
Andre=EF V. FOMITCHEV

--- En date = de : Jeu 24.7.08, Gabriel Southern <gsouther@gmu.edu><= /b> a =E9crit :
De: Gabriel Southern <g= souther@gmu.edu>
Objet: Re: [Xen-users] CPU load balancing
=C0: fomitchev@yahoo.fr
Cc: xen-devel@lists.xensource.com, xen-users@lists.x= ensource.com
Date: Jeudi 24 Juillet 2008, 0h46

I'm not sure =
if the idea you are proposing is really useful.  The
credit scheduler wi= ll already allocate unused CPU time to other VMs,
if you don't have a ca= p configured, it does not necessarily follow
weight percentage allocatio= n exactly.

You might find this research paper helpful:
http://www= .cs.ucsd.edu/~dgupta/papers/per07-3sched-xen.pdf

On Wed, Jul 23, 200= 8 at 5:39 AM, Andre=EF V. Fomitchev
<fomitchev@yahoo.fr> wrote:> Hi all.
>
> I continue to study the XEN possibilities and= currently I search a
'CPU load
> balancing tool' which answers th= e scenario below:
> Configuration: using sched-credit command, the 4 = DomU are the same weight
> and each uses only 15% of CPU.
> The= balancing tool monitors the DomU CPU loads and if two (or more)
> consecutive measures of CPU load equal to 100% of CPU and if= the other
> domains are in Idle mode, the tool increases the Domain = weight and
allocates
> more of CPU. When the Domain terminated and= "returns" to Idle,
the tool
> returns the Domain configuration i= n nominal mode.
>
> 1) Because I did not find a response in XEN= documentation, my first
> questions are "philosophical":
> - = this kind of tools is it interesting? Can it provide some improvements
o= f
> performances on-the-fly?
>
> 2) I found some tools wh= ich manage the load balancing of entire clusters.
I
> think that i= t is possible to adapt them or their algorithm to CPU
balancing
> = but I think also that I am not the first to meet this issue... Did you
r= ead
> something about a tool which can answer my needs?
>
&g= t; Thank you for your answers.
>
> Best regards,
>
> --
> Andre=EF V. FOMITCHEV
>
> = ________________________________
> Envoy=E9 avec Yahoo! Mail.
>= Une boite mail plus intelligente.
> ________________________________= _______________
> Xen-users mailing list
> Xen-users@lists.xens= ource.com
> http://lists.xensource.com/xen-users
>

_____= __________________________________________
Xen-users mailing list
Xen= -users@lists.xensource.com
http://lists.xensource.com/xen-users

=0A=0A=0A
=0AEnvoy=E9 = avec Yahoo! Mail.
Une boite mail plus intelligente. --0-307625562-1216892657=:21125-- --===============2003110331== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============2003110331==--