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-users

[Xen-users] Xen Timing Mode

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen Timing Mode
From: PBhat <pbhat@xxxxxxxxxxxx>
Date: Tue, 23 Feb 2010 08:37:01 -0800 (PST)
Delivery-date: Tue, 23 Feb 2010 08:38:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
A question about timing modes in Xen came up after 
http://wiki.xensource.com/xenwiki/XenConfigurationFileOptions reading the
documentation on configuration file options  and I was wondering if you
could help me with it.

    * I know that Xen has a facility on the user domains to change the
timing from something called the 'independent_wallclock' to
'dependent_wallclock' and vice versa. The way to do this is to toggle the
parameter /proc/sys/xen/independent_wallclock between 0 (dependent) and 1
(independent).  http://openskill.info/infobox.php?ID=1451 Reference 


    * Now, the documentation on the configuration options for xen virtual
machine under the heading of Timers contains no mention of the above
mentioned facility, but instead talks about something called a 'timer_mode' 


 timer_mode: Timer mode (0=delay virtual time when ticks are missed;
1=virtual time is always wallclock time
      timer_mode (default=1; Value='TIMER_MODE')

Now my question is whether the timer mode  = 1 is equivalent to independent_
wallclock?

I think the answer is no. While timer_mode = 1 decides whether the virtual
machine is able to read the Domain-0 time, the independent_wallclock decides
whether you need NTP sychronization on both (user and control) domains or
not.

Namely, in the timer_mode = 1, the gettimeofday() called from the virtual
machine will return the domain virtual time, but time_mode = 0 
gettimeofday() instruction from the virtual machine will return the system
time.

The independent and dependent modes have an effect on whether the virtual
machines can use the NTP or any other synchronization of Domain-0.

Is my understanding correct?

I further want to know whether the working remains similar on Xen HVMs also.
In the sense that are Hardware based virtual machines capable of reading the
Domain-0 system time in an analogous way?


Your help would be much appreciated. I am new to this area and I apologize
if my questions seem too basic.
-- 
View this message in context: 
http://old.nabble.com/Xen-Timing-Mode-tp27706244p27706244.html
Sent from the Xen - User mailing list archive at Nabble.com.


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen Timing Mode, PBhat <=