Possible Bug in CPU detection / clock skew?
Hi all,
I have a very strange clock skew problem on my Server since running Xen 3.0.3 that I have never seen before on the same machine running Xen 2.0.x.
Now I compared boot messages from the old and new installation and I saw a huge difference in the reported CPU speeds under 3.0.3 hypervisor. Could this be a reason for the clock skew? Excuse me if the question is stupid, I'm not a CPU expert...
Xen 2.0.x:
Boot1: <6>Xen reported: 498.762 MHz processor
Boot2: <6>Xen reported: 498.765 MHz processor
Xen 3.0.3:
Boot1: <6>Xen reported: 556.714 MHz processor
Boot2: <6>Xen reported: 621.840 MHz processor
Hardware is a Dual CPU Intel 440BX Server Board with 2 PIII 500 Cpu's (I know, it's veery oooold...)
Thanks,
Alex
Quoted 7 lines · Alexander Wilms
I have a very strange clock skew problem on my Server since running Xen 3.0.3 that I have never seen before on the same machine running Xen 2.0.x.
Now I compared boot messages from the old and new installation and I saw a huge difference in the reported CPU speeds under 3.0.3 hypervisor. Could this be a reason for the clock skew? Excuse me if the question is stupid, I'm not a CPU expert...
It does seem likely. The old messages were correct and the new ones are wrong, for some reason. I don;t think the calibration code has changed significantly but I'd have to check that.
-- Keir
Yet another tx checksum problem
Hello all,
seems that I found another bug regarding tx checksum.
Had a problem with DNAT'ing ftp. Found out that the ip_nat_ftp module didn't rewrite the pasv source address correctly. With wireshark I could see that this happened because of excessive TCP retransmissions due to wrong checksum.
My Xen/network setup looks like this:
ftpserver --- firewall ---internet
While the ftp server runs in dom0. Dom0 is bridged. Firewall is a domU with delegated nics.
Xen is the version released with openSUSE 10.2:
xm info
host : xen0
release : 2.6.18.2-34-xen
version : #1 SMP Mon Nov 27 11:46:27 UTC 2006
machine : i686nr_cpus : 2nr_nodes : 1sockets_per_node : 2cores_per_socket : 1threads_per_core : 1cpu_mhz : 498hw_caps : 0383fbff:00000000:00000000:00000040total_memory : 1023free_memory : 1max_free_memory : 139max_para_memory : 135max_hvm_memory : 126xen_major : 3xen_minor : 0xen_extra : .3_11774-20xen_caps : xen-3.0-x86_32xen_pagesize : 4096platform_params : virt_start=0xfc000000xen_changeset : 11774cc_compiler : gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)cc_compile_by : abuildcc_compile_domain : suse.decc_compile_date : Tue Nov 28 09:28:29 UTC 2006xend_config_format : 2
Workaround/Solution:
Execute ethtool -K tx off eth0 in dom0 and the problem disappears.
If needed network dumps are available upon request.
Alex