[Haizea] Multiple virtual machines on single physical machine

Janki Akhani akhani_janu at yahoo.co.in
Thu Apr 1 11:51:46 CDT 2010


Hi,

Oh ya memory was full for 8th request. Thank you very much for the reply. VDEBUG mode is showing so much important information so it helps me alot.

Thanks & Regards,
Janki

--- On Thu, 1/4/10, Borja Sotomayor <borjasotomayor at gmail.com> wrote:

From: Borja Sotomayor <borjasotomayor at gmail.com>
Subject: Re: [Haizea] Multiple virtual machines on single physical machine
To: haizea at mailman.cs.uchicago.edu
Date: Thursday, 1 April, 2010, 10:02 PM

Hi,

> I have done the same thing but i was getting error. So I have searched and found that one more correction is required which is in rpc_commands.py as shown below.
> Changed line :
>             capacity.set_quantity(constants.RES_CPU, int(self.opt.cpu * 100))
>
> Originally it was :
>             capacity.set_quantity(constants.RES_CPU, int(self.opt.cpu) * 100)

Ah, yes, that's correct. I've just committed a fix for this in the repository:

https://phoenixforge.cs.uchicago.edu/repositories/revision/haizea/793

Thanks for pointing it out!


> I have seen details of on which physical node each lease will be scheduled so i found that it should schedule 8th lease. To check this thing you will also have to do these two changes in rpc_commands.py file.First one which you told me and second one i have mentioned above.

If you go just by the requested CPU, the 8th lease should, indeed, be
scheduled (in particular, physical node 2 should still have 20% CPU
available for it). However, after the first seven leases have been
requested, node 2 (which has 1024MB of memory) has two VMs scheduled
on it, each requesting 512MB. So, there is no memory available for a
third VM. If I change the configuration file so that nodes have 2048MB
of memory, I can request the first 8 leases (but not the 9th one
which, as you point out, cannot be scheduled because there is no CPU
available for it).

btw, one way of debugging these problems is to switch the logging
level to VDEBUG (this is what I did to figure out what was wrong).
This will give you more detailed information about the scheduling
decisions that are taking place.

Cheers!
--Borja
_______________________________________________
Haizea mailing list
Haizea at mailman.cs.uchicago.edu
https://mailman.cs.uchicago.edu/mailman/listinfo/haizea



      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.uchicago.edu/pipermail/haizea/attachments/20100401/91b1b437/attachment.htm 


More information about the Haizea mailing list