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/
Home Products Support Community News


[Xen-devel] Time/cpu frequency is wrong on x86_64

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Time/cpu frequency is wrong on x86_64
From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Date: Sun, 14 Aug 2005 22:39:30 -0700
Delivery-date: Mon, 15 Aug 2005 05:37:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWhW7Vwgseu6CA8Tei4w3vfLAVKMQ==
Thread-topic: Time/cpu frequency is wrong on x86_64
I noticed that cpu MHz in /proc/cpuinfo is wrong:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                    Genuine Intel(R) CPU 3.80GHz
stepping        : 6
cpu MHz         : 948.218
cache size      : 2048 KB
fpu             : yes
fpu_exception   : yes

Dmesg also says:
 PID hash table entries: 2048 (order: 11, 65536 bytes)
 Xen reported: 948.218 MHz processor.
 Console: colour VGA+ 80x25
 Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)

$ time sleep 3
real    0m15.042s
user    0m0.000s
sys     0m0.000s

I'm sure it used to be correct, i.e. close to 3.8 GHz.

Intel Open Source Technology Center 

Xen-devel mailing list

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