From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Latest unstable detects cpu speed incorrectly Date: Wed, 28 Oct 2009 02:47:17 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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 =3D os.uname()[4] #if re.search('64', arch): # arch_libdir =3D 'lib64' #else: # arch_libdir =3D 'lib' kernel =3D "/usr/lib/xen/boot/hvmloader" builder=3D'hvm' memory =3D 3072 # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu. #shadow_memory =3D 8 name =3D "winxphome32" vif =3D [ 'bridge=3Deth0' ] acpi =3D 1 apic =3D 1 disk =3D [ 'phy:/dev/virtualmachines/winxphome32,hda,w', 'phy:/dev/sr0,hdc:cdrom,r' ] #device_model =3D '/usr/' + arch_libdir + '/xen/bin/qemu-dm' #device_model =3D '/usr/' + 'lib' + '/xen/bin/qemu-dm' device_model =3D 'qemu-dm' #--------------------------------------------------------------------------= --- # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy boot=3D"cd" sdl=3D0 vnc=3D1 vnclisten=3D"192.168.1.2" vncdisplay=3D1 vncunused=3D1 vncconsole=3D0 vncpasswd=3D'' #serial=3D'pty' #usbdevice=3D'tablet' # onboard #pci =3D [ '00:02.0' ] # nVidia Geforce 8400 GS & firewire controller & HD audio controller pci =3D [ '01:00.0','02:01.0','00:1b.0' ] vcpus=3D2 # No passthrough #gfx_passthru=3D0 # onboard #gfx_passthru=3D1 # nvidia gfx_passthru=3D2 # Can only pass through one usb device at a time usb=3D1 # USB Unity Green Mouse #usbdevice =3D 'host:1bcf:0007' # USB A1pro Black Mouse usbdevice =3D 'host:15d9:0a41' # USB Keyboard #usbdevice =3D 'host:0603:00f2' # USB Sony IC Recorder #usbdevice =3D 'host:054c:0271' # USB Lexmark X1270 Color Printer #usbdevice =3D 'host:043d:00ff' # USB Lexmark X1270 Photo Scanner #usbdevice =3D 'host:043d:007d' # USB Lexmark X1270 Generic Hub #usbdevice =3D 'host:043d:007a' # Hauppauge WinTV PVR USB2 TV Tuner #usbdevice =3D 'host:2040:2400' tsc_native=3D1 --=20 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@gmail.com MSN: teoenming@hotmail.com Mobile Phone: +65-9648-9798 Street: Bedok Reservoir Road Republic of Singapore On Wed, Oct 28, 2009 at 2:40 AM, Keir Fraser wr= ote: > On 27/10/2009 18:22, "Mr. Teo En Ming (Zhang Enming)" > wrote: > >> I have set tsc_native=3D1 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=3Dm7W0OFFcw7I >> >> Have I set the parameter correctly? > > If your Windows gues tthinks its processor speed is other than 1GHz, then > yes. > > =A0-- Keir > > >