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

Re: [Xen-devel] Latest unstable detects cpu speed incorrectly

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Latest unstable detects cpu speed incorrectly
From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Date: Wed, 28 Oct 2009 02:47:17 +0800
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 27 Oct 2009 11:47:43 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=iWYbhP8ofjUed7Qa5WJXUUHu4MGYAWxqd9+xHDzE+cQ=; b=WCam0IOF/WskdX0+yl9yCXkQG+VbA0Ed1/4/MG4qWzSRVNdi8rMOrI2zzrs+3Tm9kT Vrxe5lR7/beGPWlfcSqPAXQ2Zmup3fceGwJPZrLFoyyhYL+ehfoae4yyMPtqPiroRu49 p0mF0H8r0BtVxkonlEEyY+wc5gKs8HDJXPArA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jTsfXFQGlGsIKniENvEP5WGtS/WwgSY0NfCg68rFjxfr85gtnSEO8SwiRk/LWSv8yu tHD4cQLzUsBTuWedy7xK/hh6Yzqg02VyaKzZ+gbI7VMmOgPOg6K4X5T4fB0zRgCwMbkQ M66Tg9aW3R8gHI0KOs179P0KTSzLur5njvWMw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C70CEF07.18957%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f712b9cf0910271122qbd18959u3a3e47b5a8abbe85@xxxxxxxxxxxxxx> <C70CEF07.18957%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
It still alternates between 600 MHz and 1000 MHz.

Did I set tsc_native correctly? Please look at my Windows XP HVM
config below. Please also look at my Youtube video as well. Thank you.

#import os, re
#arch = os.uname()[4]
#if re.search('64', arch):
#    arch_libdir = 'lib64'
#else:
#    arch_libdir = 'lib'

kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 3072

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
#shadow_memory = 8
name = "winxphome32"
vif = [ 'bridge=eth0' ]
acpi = 1
apic = 1
disk = [ 'phy:/dev/virtualmachines/winxphome32,hda,w',
'phy:/dev/sr0,hdc:cdrom,r' ]

#device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
#device_model = '/usr/' + 'lib' + '/xen/bin/qemu-dm'
device_model = 'qemu-dm'

#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="cd"
sdl=0
vnc=1
vnclisten="192.168.1.2"
vncdisplay=1
vncunused=1
vncconsole=0
vncpasswd=''

#serial='pty'
#usbdevice='tablet'
# onboard
#pci = [ '00:02.0' ]
# nVidia Geforce 8400 GS & firewire controller & HD audio controller
pci = [ '01:00.0','02:01.0','00:1b.0' ]
vcpus=2
# No passthrough
#gfx_passthru=0
# onboard
#gfx_passthru=1
# nvidia
gfx_passthru=2

# Can only pass through one usb device at a time
usb=1
# USB Unity Green Mouse
#usbdevice = 'host:1bcf:0007'
# USB A1pro Black Mouse
usbdevice = 'host:15d9:0a41'
# USB Keyboard
#usbdevice = 'host:0603:00f2'
# USB Sony IC Recorder
#usbdevice = 'host:054c:0271'
# USB Lexmark X1270 Color Printer
#usbdevice = 'host:043d:00ff'
# USB Lexmark X1270 Photo Scanner
#usbdevice = 'host:043d:007d'
# USB Lexmark X1270 Generic Hub
#usbdevice = 'host:043d:007a'
# Hauppauge WinTV PVR USB2 TV Tuner
#usbdevice = 'host:2040:2400'

tsc_native=1


-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
Blog URL: http://teo-en-ming-aka-zhang-enming.blogspot.com
Email: space.time.universe@xxxxxxxxx
MSN: teoenming@xxxxxxxxxxx
Mobile Phone: +65-9648-9798
Street: Bedok Reservoir Road
Republic of Singapore


On Wed, Oct 28, 2009 at 2:40 AM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> On 27/10/2009 18:22, "Mr. Teo En Ming (Zhang Enming)"
> <space.time.universe@xxxxxxxxx> wrote:
>
>> I have set tsc_native=1 in my Windows XP HVM configuration file but
>> there is no noticeable improvement in performance.
>>
>> Here is the Youtube video of the 2nd iteration of the Super PI 32M
>> benchmark test.
>>
>> http://www.youtube.com/watch?v=m7W0OFFcw7I
>>
>> Have I set the parameter correctly?
>
> If your Windows gues tthinks its processor speed is other than 1GHz, then
> yes.
>
>  -- Keir
>
>
>

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

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