I am doing some research about CPU utilization in Xen. My scenario is running multiple domU''s with Oracle databases running on them. Is there any way to prevent one domU using 100% of the servers resources, e.g. in case of an error, making the other domU''s very slow and unresponsive? How much of this is already done automatically in Xen by the schedulers? I have been looking at the sched-sedf option, but I am not sure what the different options will do (e.g. period, slice, latency...). Whats the difference between the sedf, bev and credit schedulers? (I can''t find the credit one on my installation Xen 3.0.2). - Atle _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Le Mon, Jul 10, 2006 at 10:25:41AM +0200, Atle Rudshaug [atle.rudshaug@gmail.com] a écrit:> I am doing some research about CPU utilization in Xen. My scenario is > running multiple domU''s with Oracle databases running on them. Is there any > way to prevent one domU using 100% of the servers resources, e.g. in case of > an error, making the other domU''s very slow and unresponsive? How much of > this is already done automatically in Xen by the schedulers?The Xen schedulers already attemp (and quite well) to balance the CPU utilization across virtual machines. So, for example, with default parameters 2 virtual machines running CPU intensive tasks will get 50% each of the available CPU. With advanced settings, you can define the weight of each of virtual server. Dom -- Dominique Rousseau Neuronnexion, Prestataire Internet & Intranet 57, route de Paris 80000 Amiens tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.fr _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok. What is the difference between the bvt, sedf and credit schedulers? I can''t find the cretit scheduler in my installation (tried running ''xm sched-credit -d vm01'', but did not work). I am using the sedf scheduler atm. I am running Xen 3.0.2-2. - Atle On 7/10/06, Dominique Rousseau <d.rousseau@nnx.com> wrote:> > Le Mon, Jul 10, 2006 at 10:25:41AM +0200, Atle Rudshaug [ > atle.rudshaug@gmail.com] a écrit: > > The Xen schedulers already attemp (and quite well) to balance the CPU > utilization across virtual machines. > So, for example, with default parameters 2 virtual machines running CPU > intensive tasks will get 50% each of the available CPU. > With advanced settings, you can define the weight of each of virtual > server. > > > Dom > > -- > Dominique Rousseau > Neuronnexion, Prestataire Internet & Intranet > 57, route de Paris 80000 Amiens > tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.fr > > _______________________________________________ > 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
I''m only new to Xen, so I could be wrong on this, but my understanding is that the credit scheduler is only in xen-unstable (which I''m using and works well so far). Yasir Ok. What is the difference between the bvt, sedf and credit schedulers? I can''t find the cretit scheduler in my installation (tried running ''xm sched-credit -d vm01'', but did not work). I am using the sedf scheduler atm. I am running Xen 3.0.2-2. - Atle On 7/10/06, Dominique Rousseau <d.rousseau@nnx.com> wrote: Le Mon, Jul 10, 2006 at 10:25:41AM +0200, Atle Rudshaug [atle.rudshaug@gmail.com ] a écrit: The Xen schedulers already attemp (and quite well) to balance the CPU utilization across virtual machines. So, for example, with default parameters 2 virtual machines running CPU intensive tasks will get 50% each of the available CPU. With advanced settings, you can define the weight of each of virtual server. Dom -- Dominique Rousseau Neuronnexion, Prestataire Internet & Intranet 57, route de Paris 80000 Amiens tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.fr _______________________________________________ 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users