WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-cim

Re: [Xen-cim] CIM_RecordedState and CIM_RecordedSetting questions

To: Jim Fehlig <jfehlig@xxxxxxxxxx>
Subject: Re: [Xen-cim] CIM_RecordedState and CIM_RecordedSetting questions
From: Gareth S Bestor <bestor@xxxxxxxxxx>
Date: Wed, 21 Jun 2006 06:45:05 -0700
Cc: xen-cim@xxxxxxxxxxxxxxxxxxx, xen-cim-bounces@xxxxxxxxxxxxxxxxxxx, "Szymanski, Lukasz K" <Lukasz.Szymanski@xxxxxxxxxx>
Delivery-date: Wed, 21 Jun 2006 06:40:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <449874FF.1030301@xxxxxxxxxx>
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx

>> 4)
>> From the Resource Virtualization Profile:
>> P. 32
>> 11.7 CIM_ResourceAllocationSettingData
>> ...
>> This setting data instance represents the recorded state of the
>> resource. Implementations may choose to use one instance to reflect
>> both recorded and current settings and point both references within
>> CIM_RecordedSetting association on this instance..
>>
>> ...
>> Is this the way we want to go?
>>
>For the time I would say yes.  Eventually though we would want to
>support different recorded and current settings for resources.  Changing
>current settings (and thus have recorded and current settings differ) is
>probably not an immediate goal with Xen.  As Gareth has pointed out,
>even ballooning domUs is non-deterministic so probably not something we
>should shoot for immediately.  However it does make sense to support
>changing recorded settings (again resulting in different recorded /
>current settings), which would be applied the next time the domU is
>activated.


This is precisely the purpose of having separate 'recorded' and 'curent'("active') settings for *everything*; in some implementations it is possible to change the runtime params (eg balloon memory) but you still dont want to clobber what the VM was initially configured with. But as Jim points out, there are not too many meaningful DomU config params right now where this is useful. I'm not sure what the best approach is to handle the current non-deterministic memory ballooning that Xen offers today - it certainly qualifies as a useful feature to expose to a user, but the fact that it may or may not ever actually balloon (non-deterministic), and hard to precisely identify when the inband OS releases the memory, its an awkward thing to expose. I might suggest we wait till we get some in-band OS memory usage instrumented, and so have a better idea of what's actually going on with the DomU's memorry usage.

- Gareth

Dr. Gareth S. Bestor
IBM Linux Technology Center
M/S DES2-01
15300 SW Koll Parkway, Beaverton, OR 97006
503-578-3186, T/L 775-3186, Fax 503-578-3186

Inactive hide details for Jim Fehlig <jfehlig@xxxxxxxxxx>Jim Fehlig <jfehlig@xxxxxxxxxx>


          Jim Fehlig <jfehlig@xxxxxxxxxx>
          Sent by: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx

          06/20/06 03:21 PM


To

"Szymanski, Lukasz K" <Lukasz.Szymanski@xxxxxxxxxx>

cc

xen-cim@xxxxxxxxxxxxxxxxxxx

Subject

Re: [Xen-cim] CIM_RecordedState and CIM_RecordedSetting questions

Szymanski, Lukasz K wrote:
>
> I used the latest docs and mofs from the DMTF as a basis of my questions:
>
> 1)
> The definitions of CIM_RecordedSetting are different in the System and
> Resource docs.  In the RVP it has elements CurrentSetting and
> RecordedSetting; in the SVP it has ActiveSetting and RecordedSetting.  
> So which should I believe?
>

I think this is just a cleanup issue.  Wish I would have added this to
my comments on the recent SVP ballot :-).  ActiveSetting == CurrentSetting.

> 2)
> Looking at the mofs we see
> CIM_RecordedSetting:
>         CIM_ResourceAllocationSettingData REF CurrentSetting
>         CIM_ResourceAllocationSettingData REF RecordedSetting
>
> CIM_RecordedState:
>         CIM_ResourceAllocationSettingData REF RecordedSetting
>         CIM_ResourceAllocationSettingData REF ActiveSetting
>
> So what is the difference between ActiveSetting and CurrentSetting?  
> And also, CIM_RecordedState.mof matches the definition of
> CIM_RecordedSetting in the SVP.
>

I would ignore the CIM_RecordedState.mof.  It resides in the Archives
folder and is only there for "historical reference".

> 3)
> From the Resource Virtualization Profile:
> P. 17: Recorded State in diagram 7-1 (looks like an association)
> P. 20: Recorded State in diagram 7-2 (looks like an association),
> RecordedSetting is mentioned in the diagram description below it,
> RecordedState is not.  Why?
>
> There is no mention of RecordedState association in the CIM Element
> Overview, but there is for RecordedSetting.  Why?
>

FYI, Resource Virtualization Profile is now Resource Allocation Profile
and the pages / figures you mentioned are different.  But to answer the
question, I would say mentally replace RecordedState with
RecordedSetting wherever you see it in either profile.  There is some
mixing of RecordedState and RecordedSetting in the latest Resource
Allocation Profile under ballot and I will comment on this, i.e. replace
all instances of RecordedState with RecordedSetting.

> 4)
> From the Resource Virtualization Profile:
> P. 32
> 11.7 CIM_ResourceAllocationSettingData
> ...
> This setting data instance represents the recorded state of the
> resource. Implementations may choose to use one instance to reflect
> both recorded and current settings and point both references within
> CIM_RecordedSetting association on this instance..
>
> ...
> Is this the way we want to go?
>

For the time I would say yes.  Eventually though we would want to
support different recorded and current settings for resources.  Changing
current settings (and thus have recorded and current settings differ) is
probably not an immediate goal with Xen.  As Gareth has pointed out,
even ballooning domUs is non-deterministic so probably not something we
should shoot for immediately.  However it does make sense to support
changing recorded settings (again resulting in different recorded /
current settings), which would be applied the next time the domU is
activated.

> 5)
> Looking at the ElementSettingData mof  I find an element called
> IsCurrent and one called IsActive which would make one think that
> ElementSettingData somehow differentiates between RecordedState and
> RecordedSetting (see mof descriptions above).  This, BTW, is out of
> sync with the SVP which does not have an IsActive element.  Why is that?
>

Again, RecordedState == RecordedSetting.  Also I would suspect that the
IsActive property of CIM_ElementSettingData.mof will be removed since it
is not referenced in any of the current profile documents.  If a setting
is current, then IsCurrent should be set to 1 "Is Current".  If setting
is recorded, then IsCurrent would be set to 2 "Is Not Current".  The
IsActive property is redundant.  The IsDefault property is used by
Allocation Capabilities Profile.

Hope this provides some clarification.

Jim

_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim

GIF image

_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim
<Prev in Thread] Current Thread [Next in Thread>