You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Kausal Malladi <mk...@gmail.com> on 2013/03/16 15:32:20 UTC

Experimenting on Resource Allocator in CloudStack

Hi,
I am trying to understand and experiment with (CPU) Resource
Allocation in CloudStack 4.0.0.
I would like to understand how it happens and possibly try to change
it a little and see how it works. Can anyone help me with the classes
that I have to look at for a kick-start towards this experiment?

Thanks and Regards,
Kausal Malladi
www.kausalmalladi.tk

Re: Experimenting on Resource Allocator in CloudStack

Posted by Nitin Mehta <Ni...@citrix.com>.
Kausal - This part hasn't changed much in CS so I would say go through it
and implement your case. Let the community know if you get stuck at any
place and we will be happy to help

Thanks,
-Nitin

On 17/03/13 10:48 PM, "Kausal Malladi" <mk...@gmail.com> wrote:

>Thanks Nitin, but I reckon much of it would have changed now, as it
>was 2.2 implementation. Can you (or anyone), however, guide me further
>on the way to proceed to accomplish my experiment?
>What I think is that I have to implement a plugin implementing my
>algorithm for resource allocation and somehow put it in CloudStack
>source such that it works accordingly. Am I on right track?
>Kausal Malladi
>www.kausalmalladi.tk
>
>
>On Sun, Mar 17, 2013 at 6:31 PM, Nitin Mehta <Ni...@citrix.com>
>wrote:
>> In addition you can refer to
>> 
>>http://ke4qqq.fedorapeople.org/CloudStack-2.2-Allocator_Implementation-en
>>-U
>> S.pdf as well.
>>
>> On 16/03/13 10:23 PM, "Alex Huang" <Al...@citrix.com> wrote:
>>
>>>Kausal,
>>>
>>>Resource allocation is all done by implementations of DeploymentPlanner.
>>>You can go to that interface and then see which classes implement that
>>>interface.
>>>
>>>--Alex
>>>
>>>> -----Original Message-----
>>>> From: Kausal Malladi [mailto:mkausal@gmail.com]
>>>> Sent: Saturday, March 16, 2013 7:32 AM
>>>> To: cloudstack-dev@incubator.apache.org
>>>> Subject: Experimenting on Resource Allocator in CloudStack
>>>>
>>>> Hi,
>>>> I am trying to understand and experiment with (CPU) Resource
>>>>Allocation
>>>>in
>>>> CloudStack 4.0.0.
>>>> I would like to understand how it happens and possibly try to change
>>>>it
>>>>a little
>>>> and see how it works. Can anyone help me with the classes that I have
>>>>to
>>>> look at for a kick-start towards this experiment?
>>>>
>>>> Thanks and Regards,
>>>> Kausal Malladi
>>>> www.kausalmalladi.tk
>>


Re: Experimenting on Resource Allocator in CloudStack

Posted by Kausal Malladi <mk...@gmail.com>.
Thanks Nitin, but I reckon much of it would have changed now, as it
was 2.2 implementation. Can you (or anyone), however, guide me further
on the way to proceed to accomplish my experiment?
What I think is that I have to implement a plugin implementing my
algorithm for resource allocation and somehow put it in CloudStack
source such that it works accordingly. Am I on right track?
Kausal Malladi
www.kausalmalladi.tk


On Sun, Mar 17, 2013 at 6:31 PM, Nitin Mehta <Ni...@citrix.com> wrote:
> In addition you can refer to
> http://ke4qqq.fedorapeople.org/CloudStack-2.2-Allocator_Implementation-en-U
> S.pdf as well.
>
> On 16/03/13 10:23 PM, "Alex Huang" <Al...@citrix.com> wrote:
>
>>Kausal,
>>
>>Resource allocation is all done by implementations of DeploymentPlanner.
>>You can go to that interface and then see which classes implement that
>>interface.
>>
>>--Alex
>>
>>> -----Original Message-----
>>> From: Kausal Malladi [mailto:mkausal@gmail.com]
>>> Sent: Saturday, March 16, 2013 7:32 AM
>>> To: cloudstack-dev@incubator.apache.org
>>> Subject: Experimenting on Resource Allocator in CloudStack
>>>
>>> Hi,
>>> I am trying to understand and experiment with (CPU) Resource Allocation
>>>in
>>> CloudStack 4.0.0.
>>> I would like to understand how it happens and possibly try to change it
>>>a little
>>> and see how it works. Can anyone help me with the classes that I have to
>>> look at for a kick-start towards this experiment?
>>>
>>> Thanks and Regards,
>>> Kausal Malladi
>>> www.kausalmalladi.tk
>

Re: Experimenting on Resource Allocator in CloudStack

Posted by Nitin Mehta <Ni...@citrix.com>.
In addition you can refer to
http://ke4qqq.fedorapeople.org/CloudStack-2.2-Allocator_Implementation-en-U
S.pdf as well.

On 16/03/13 10:23 PM, "Alex Huang" <Al...@citrix.com> wrote:

>Kausal,
>
>Resource allocation is all done by implementations of DeploymentPlanner.
>You can go to that interface and then see which classes implement that
>interface. 
>
>--Alex
>
>> -----Original Message-----
>> From: Kausal Malladi [mailto:mkausal@gmail.com]
>> Sent: Saturday, March 16, 2013 7:32 AM
>> To: cloudstack-dev@incubator.apache.org
>> Subject: Experimenting on Resource Allocator in CloudStack
>> 
>> Hi,
>> I am trying to understand and experiment with (CPU) Resource Allocation
>>in
>> CloudStack 4.0.0.
>> I would like to understand how it happens and possibly try to change it
>>a little
>> and see how it works. Can anyone help me with the classes that I have to
>> look at for a kick-start towards this experiment?
>> 
>> Thanks and Regards,
>> Kausal Malladi
>> www.kausalmalladi.tk


RE: Experimenting on Resource Allocator in CloudStack

Posted by Alex Huang <Al...@citrix.com>.
Kausal,

Resource allocation is all done by implementations of DeploymentPlanner.  You can go to that interface and then see which classes implement that interface. 

--Alex

> -----Original Message-----
> From: Kausal Malladi [mailto:mkausal@gmail.com]
> Sent: Saturday, March 16, 2013 7:32 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: Experimenting on Resource Allocator in CloudStack
> 
> Hi,
> I am trying to understand and experiment with (CPU) Resource Allocation in
> CloudStack 4.0.0.
> I would like to understand how it happens and possibly try to change it a little
> and see how it works. Can anyone help me with the classes that I have to
> look at for a kick-start towards this experiment?
> 
> Thanks and Regards,
> Kausal Malladi
> www.kausalmalladi.tk