On 21-Dec-2013, at 12:43 am, Shanker Balan <shanker.ba...@shapeblue.com> wrote:

> On 20-Dec-2013, at 11:43 pm, Nitin Mehta <nitin.me...@citrix.com> wrote:
>
>> Prashant - thanks for the detailed answer. I will add/correct one thing.
>> The formula for computing the XS side memory params are explained @ [1]
>>
>>
>> Copying the excerpt from the link
>>
>> * static min = service_offering / memory_overprovisioning_of_cluster.
>> * dynamic min = service_offering / memory_overprovisioning_of_cluster.
>> * dynamic max = service_offering
>> * static max = f_min( (4 * service_offering) /
>> memory_overprovisioning_of_cluster  ,  Xenserver recommended max for
>> guestOS)
>>
>>
>
> Yep. Working as expected. Very nice feature.

Any clue if this is expected to work on FreeBSD 10 HVM instances?

I expected memory-static-max to be 2x of memory-actual (like in the case
of a CentOS VM where dynamic scaling works).

               memory-actual ( RO): 134209536
               memory-target ( RO): 134217728
             memory-overhead ( RO): 36700160
           memory-static-max ( RW): 134217728
          memory-dynamic-max ( RW): 134217728
          memory-dynamic-min ( RW): 67108864
           memory-static-min ( RW): 67108864

$ pkg info xen-tools
xen-tools-4.1.3_3
Name           : xen-tools
Version        : 4.1.3_3
Origin         : sysutils/xen-tools
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : sysutils
Maintainer     : f...@freebsd.org
WWW            : UNKNOWN
Comment        : Xen tools within FreeBSD domU
Shared Libs required:
libxenstore.so.3.0
Shared Libs provided:
libxenstore.so.3.0
Flat size      : 49.3KiB
Description    :
These tools are useful for debugging Xen related problems when one
does not have access to the dom0 or wants to view the entries from
domU's perspective. These work on FreeBSD VMs using the XEN (i386)
kernel or the XENHVM kernel.


$ pkg info xe-guest-utilities
xe-guest-utilities-6.0.2_1
Name           : xe-guest-utilities
Version        : 6.0.2_1
Origin         : sysutils/xe-guest-utilities
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Categories     : sysutils
Maintainer     : f...@freebsd.org
WWW            : UNKNOWN
Comment        : FreeBSD VM tools for Citrix XenServer and XCP
Flat size      : 7.79KiB
Description    :
FreeBSD VM tools for Citrix XenServer and XCP
$

For a CentOS VM:

               memory-actual ( RO): 268435456
               memory-target ( RO): 268435456
             memory-overhead ( RO): 38797312
           memory-static-max ( RW): 536870912
          memory-dynamic-max ( RW): 268435456
          memory-dynamic-min ( RW): 134217728
           memory-static-min ( RW): 134217728


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/> offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 training<http://shapeblue.com/cloudstack-training/>
08/09 January 2014, London<http://shapeblue.com/cloudstack-training/>
13-17 January 2014, GLOBAL. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>
20-24 January 2014, GLOBAL. Instructor led, 
On-line<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.

Reply via email to