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

RE: [Xen-users] Current time

To: <m+Ian.Pratt@xxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Current time
From: <David_Wolinsky@xxxxxxxx>
Date: Wed, 8 Jun 2005 14:49:42 -0500
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Wed, 08 Jun 2005 19:48:41 +0000
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVrmj1yGKnpQLQaS/uQyt5QgH6n5AACfc7AAC9fu/A=
Thread-topic: [Xen-users] Current time
You're right Ian.  The timing seems to be correct.  I recompiled my Xen
kernel in an attempt to optimize it.  There must've been something
enabled that degraded performance on the host but not the VM.  The
majority of what I changed was removing unused drivers from modules and
kernels and enabling himem (4GB).  Any ideas on that?

Thanks,
David

-----Original Message-----
From: Ian Pratt [mailto:m+Ian.Pratt@xxxxxxxxxxxx] 
Sent: Tuesday, June 07, 2005 4:04 PM
To: Wolinsky, David; xen-users@xxxxxxxxxxxxxxxxxxx
Cc: ian.pratt@xxxxxxxxxxxx
Subject: RE: [Xen-users] Current time


> I'm trying to run kernel compilations on a VM and my times are better 
> than on the host machine.  I'm using the time command, so I'm assuming

> its bugged.  I try to use hwclock, and it spits out nothing.  Is there

> an easy way to determine REAL time in a virtual machine?

The elapsed time reported by 'time' should be accurate. system and user
time may not be entirely correct, as the kernel doesn't really
understand that its not running the whole time. 

hwclock won't work as the unprivileged guest isn't authorized to read
directly from the hardware clock. 'date' should work fine.

Ian


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

<Prev in Thread] Current Thread [Next in Thread>