I am seeing a weird anomaly where Xen is correctly recognizing the speed of the cpu''s in the box but Linux in Domain-0 is not. The cpu''s are Intel Xeon 704x (dual core 3GHz, either 7040 - 667 MHz FSB - or 7041 - 800 MHz FSB). When I boot on a baremetal 2.6.12 Linux kernel it correctly identifies the chip speed. Has anyone seen this and is it a problem? xm info: system : Linux host : --- release : 2.6.12-xen0-smp version : #1 SMP Mon Nov 28 13:59:13 CST 2005 machine : x86_64 nr_cpus : 16 nr_nodes : 1 sockets_per_node : 4 cores_per_socket : 2 threads_per_core : 2 cpu_mhz : 3002 hw_caps : bfebfbff:20100800:00000000:00000080:000065bd:00000000:0 0000001 memory : 16383 free_memory : 133 xen_major : 3 xen_minor : 0 xen_extra : -devel xen_caps : xen-3.0-x86_64 hvm-3.0-x86_64 platform_params : virt_start=0xffff800000000000 xen_changeset : Mon Nov 28 11:22:02 2005 8090:243265ade4045314ee4170436 cc704afa cc_compiler : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) cc_compile_by : root cc_compile_domain : --- cc_compile_date : Mon Nov 28 13:56:08 CST 2005 /proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Genuine Intel(R) CPU 3.00GHz stepping : 8 cpu MHz : 4222.844 cache size : 2048 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl est tm2 cid cx16 xtpr lahf_lm bogomips : 8388.60 clflush size : 64 cache_alignment : 128 address sizes : 40 bits physical, 48 bits virtual power management: </snip> -- Karl Rister _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> I am seeing a weird anomaly where Xen is correctly > recognizing the speed of the cpu''s in the box but Linux in > Domain-0 is not. The cpu''s are Intel Xeon 704x (dual core > 3GHz, either 7040 - 667 MHz FSB - or 7041 - 800 MHz FSB). > When I boot on a baremetal 2.6.12 Linux kernel it correctly > identifies the chip speed. Has anyone seen this and is it a problem?Please can you try running the following in dom0: hwclock; date; sleep 10; hwclock; date Thanks, Ian> xm info: > > system : Linux > host : --- > release : 2.6.12-xen0-smp > version : #1 SMP Mon Nov 28 13:59:13 CST 2005 > machine : x86_64 > nr_cpus : 16 > nr_nodes : 1 > sockets_per_node : 4 > cores_per_socket : 2 > threads_per_core : 2 > cpu_mhz : 3002 > hw_caps : > bfebfbff:20100800:00000000:00000080:000065bd:00000000:0 > 0000001 > memory : 16383 > free_memory : 133 > xen_major : 3 > xen_minor : 0 > xen_extra : -devel > xen_caps : xen-3.0-x86_64 hvm-3.0-x86_64 > platform_params : virt_start=0xffff800000000000 > xen_changeset : Mon Nov 28 11:22:02 2005 > 8090:243265ade4045314ee4170436 > cc704afa > cc_compiler : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) > cc_compile_by : root > cc_compile_domain : --- > cc_compile_date : Mon Nov 28 13:56:08 CST 2005 > > /proc/cpuinfo: > > processor : 0 > vendor_id : GenuineIntel > cpu family : 15 > model : 4 > model name : Genuine Intel(R) CPU 3.00GHz > stepping : 8 > cpu MHz : 4222.844 > cache size : 2048 KB > physical id : 0 > siblings : 4 > core id : 0 > cpu cores : 2 > fpu : yes > fpu_exception : yes > cpuid level : 5 > wp : yes > flags : fpu vme de pse tsc msr pae mce cx8 apic sep > mtrr pge mca > cmov > pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall > nx lm constant_tsc pni monitor ds_cpl est tm2 cid cx16 xtpr lahf_lm > bogomips : 8388.60 > clflush size : 64 > cache_alignment : 128 > address sizes : 40 bits physical, 48 bits virtual > power management: > </snip> > > > > -- > Karl Rister > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Monday 28 November 2005 3:55 pm, Ian Pratt wrote:> > I am seeing a weird anomaly where Xen is correctly > > recognizing the speed of the cpu''s in the box but Linux in > > Domain-0 is not. The cpu''s are Intel Xeon 704x (dual core > > 3GHz, either 7040 - 667 MHz FSB - or 7041 - 800 MHz FSB). > > When I boot on a baremetal 2.6.12 Linux kernel it correctly > > identifies the chip speed. Has anyone seen this and is it a problem? > > Please can you try running the following in dom0: > > hwclock; date; sleep 10; hwclock; dateOutput is: Mon 28 Nov 2005 04:26:08 PM CST -0.454938 seconds Mon Nov 28 16:26:08 CST 2005 Mon 28 Nov 2005 04:26:19 PM CST -0.987975 seconds Mon Nov 28 16:26:19 CST 2005> > Thanks, > Ian > > > xm info: > > > > system : Linux > > host : --- > > release : 2.6.12-xen0-smp > > version : #1 SMP Mon Nov 28 13:59:13 CST 2005 > > machine : x86_64 > > nr_cpus : 16 > > nr_nodes : 1 > > sockets_per_node : 4 > > cores_per_socket : 2 > > threads_per_core : 2 > > cpu_mhz : 3002 > > hw_caps : > > bfebfbff:20100800:00000000:00000080:000065bd:00000000:0 > > 0000001 > > memory : 16383 > > free_memory : 133 > > xen_major : 3 > > xen_minor : 0 > > xen_extra : -devel > > xen_caps : xen-3.0-x86_64 hvm-3.0-x86_64 > > platform_params : virt_start=0xffff800000000000 > > xen_changeset : Mon Nov 28 11:22:02 2005 > > 8090:243265ade4045314ee4170436 > > cc704afa > > cc_compiler : gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) > > cc_compile_by : root > > cc_compile_domain : --- > > cc_compile_date : Mon Nov 28 13:56:08 CST 2005 > > > > /proc/cpuinfo: > > > > processor : 0 > > vendor_id : GenuineIntel > > cpu family : 15 > > model : 4 > > model name : Genuine Intel(R) CPU 3.00GHz > > stepping : 8 > > cpu MHz : 4222.844 > > cache size : 2048 KB > > physical id : 0 > > siblings : 4 > > core id : 0 > > cpu cores : 2 > > fpu : yes > > fpu_exception : yes > > cpuid level : 5 > > wp : yes > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep > > mtrr pge mca > > cmov > > pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall > > nx lm constant_tsc pni monitor ds_cpl est tm2 cid cx16 xtpr lahf_lm > > bogomips : 8388.60 > > clflush size : 64 > > cache_alignment : 128 > > address sizes : 40 bits physical, 48 bits virtual > > power management: > > </snip> > > > > > > > > -- > > Karl Rister > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel-- Karl Rister _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> > Please can you try running the following in dom0: > > > > hwclock; date; sleep 10; hwclock; date > > Output is: > > Mon 28 Nov 2005 04:26:08 PM CST -0.454938 seconds > Mon Nov 28 16:26:08 CST 2005 > Mon 28 Nov 2005 04:26:19 PM CST -0.987975 seconds > Mon Nov 28 16:26:19 CST 2005Interesting: looks like time is progressing OK on your system, so it must be something specific to the way the CPU MHz Is calculated in Linux. Ian> > > > Thanks, > > Ian > > > > > xm info: > > > > > > system : Linux > > > host : --- > > > release : 2.6.12-xen0-smp > > > version : #1 SMP Mon Nov 28 13:59:13 CST 2005 > > > machine : x86_64 > > > nr_cpus : 16 > > > nr_nodes : 1 > > > sockets_per_node : 4 > > > cores_per_socket : 2 > > > threads_per_core : 2 > > > cpu_mhz : 3002 > > > hw_caps : > > > bfebfbff:20100800:00000000:00000080:000065bd:00000000:0 > > > 0000001 > > > memory : 16383 > > > free_memory : 133 > > > xen_major : 3 > > > xen_minor : 0 > > > xen_extra : -devel > > > xen_caps : xen-3.0-x86_64 hvm-3.0-x86_64 > > > platform_params : virt_start=0xffff800000000000 > > > xen_changeset : Mon Nov 28 11:22:02 2005 > > > 8090:243265ade4045314ee4170436 > > > cc704afa > > > cc_compiler : gcc version 4.0.0 20050519 (Red > Hat 4.0.0-8) > > > cc_compile_by : root > > > cc_compile_domain : --- > > > cc_compile_date : Mon Nov 28 13:56:08 CST 2005 > > > > > > /proc/cpuinfo: > > > > > > processor : 0 > > > vendor_id : GenuineIntel > > > cpu family : 15 > > > model : 4 > > > model name : Genuine Intel(R) CPU 3.00GHz > > > stepping : 8 > > > cpu MHz : 4222.844 > > > cache size : 2048 KB > > > physical id : 0 > > > siblings : 4 > > > core id : 0 > > > cpu cores : 2 > > > fpu : yes > > > fpu_exception : yes > > > cpuid level : 5 > > > wp : yes > > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep > > > mtrr pge mca > > > cmov > > > pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall > > > nx lm constant_tsc pni monitor ds_cpl est tm2 cid cx16 > xtpr lahf_lm > > > bogomips : 8388.60 > > > clflush size : 64 > > > cache_alignment : 128 > > > address sizes : 40 bits physical, 48 bits virtual > > > power management: > > > </snip> > > > > > > > > > > > > -- > > > Karl Rister > > > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.xensource.com > > > http://lists.xensource.com/xen-devel > > -- > Karl Rister >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> Mon 28 Nov 2005 04:26:08 PM CST -0.454938 seconds Mon Nov 28 > 16:26:08 CST 2005 Mon 28 Nov 2005 04:26:19 PM CST -0.987975 > seconds Mon Nov 28 16:26:19 CST 2005> > > release : 2.6.12-xen0-smpHmm, have you modified your kenel config? Please post the diff relative to the normal dom0 config. Can you repeat this with either a standard -xen0 or -xen kernel? Thanks, Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Monday 28 November 2005 5:23 pm, Ian Pratt wrote:> > Mon 28 Nov 2005 04:26:08 PM CST -0.454938 seconds Mon Nov 28 > > 16:26:08 CST 2005 Mon 28 Nov 2005 04:26:19 PM CST -0.987975 > > seconds Mon Nov 28 16:26:19 CST 2005 > > > > > > release : 2.6.12-xen0-smp > > Hmm, have you modified your kenel config? Please post the diff relative > to the normal dom0 config. Can you repeat this with either a standard > -xen0 or -xen kernel?The system is currently running some long tests so I cannot really mess with it for awhile. But in the meantime, this is what I appended to the config for the dom0 kernel: CONFIG_MD=y CONFIG_BLK_DEV_MD=y CONFIG_MD_LINEAR=y CONFIG_MD_RAID0=y CONFIG_MD_RAID1=y CONFIG_MD_RAID5=y CONFIG_BLK_DEV_DM=y CONFIG_SMP=y CONFIG_NR_CPUS=16 CONFIG_SCHED_SMT=y CONFIG_X86_SMP=y CONFIG_ACPI=y CONFIG_AGP=n CONFIG_SCSI_FC_ATTRS=y CONFIG_SCSI_QLA2300=y CONFIG_FUSION=y CONFIG_FUSION_CTL=y CONFIG_E1000=m CONFIG_PROFILING=y CONFIG_OPROFILE=m CONFIG_TIGON3=m CONFIG_CRYPTO=n CONFIG_CRYPTO_CRC32C=n CONFIG_CRC32=n CONFIG_LIBCRC32C=n CONFIG_SCSI_ADP94XX=y Some of these may be redundant to the current values as this was put together quite awhile ago.> > Thanks, > Ian-- Karl Rister _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel