From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valtteri Kiviniemi Subject: Re: Latest unstable detects cpu speed incorrectly Date: Tue, 27 Oct 2009 18:15:44 +0200 Message-ID: <4AE71CB0.5050404@dataproof.fi> References: <4AE71BD8.9080906@dataproof.fi> <4AE71C58.90608@dataproof.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4AE71C58.90608@dataproof.fi> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hi, And the same time Domain-0 dmesg started to flood constantly this: Attempting to checksum a non-TCP/UDP packet, dropping a protocol 1 packet Attempting to checksum a non-TCP/UDP packet, dropping a protocol 1 packet - Valtteri Kiviniemi Valtteri Kiviniemi kirjoitti: > Hi, > > I'll take that back, now its occuring in every virtual. > > xentop shows this: > > xentop - 18:13:15 Xen 3.5-unstable > 6 domains: 4 running, 0 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown > Mem: 16758480k total, 4884612k used, 11873868k free CPUs: 8 @ 2493MHz > NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) > MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSID > cvx -----r 1239 318.2 1048576 6.3 1048576 6.3 > 8 1 4882 2706 2 0 9308 5191 0 > db ------ 33 27.6 524288 3.1 524288 3.1 > 8 1 1307 920 2 0 7170 518 0 > Domain-0 -----r 2531 4.7 520448 3.1 no limit n/a > 8 0 0 0 0 0 0 0 0 > game -----r 1407 338.8 1048576 6.3 1048576 6.3 > 8 1 1013 1002 2 0 3770 630 0 > gj ------ 375 48.0 524288 3.1 524288 3.1 > 8 1 0 0 2 0 0 0 0 > markka -----r 14565 62.8 1048576 6.3 1048576 6.3 > 8 1 42202 39013 2 0 132016 122133 0 > > > - Valtteri Kiviniemi > > Valtteri Kiviniemi kirjoitti: >> Hi, >> >> I have to wait for that to occur again. There were no error messages, >> suddenly domU's with emulated TSC started to use a lot of CPU until >> they were so slow that they had to be destroyed. domU's with native >> tsc are working fine. >> >> Is there any way to track down the problem? >> >> - Valtteri Kiviniemi >> >> Keir Fraser kirjoitti: >>> Haven't heard any other reports of that. Can you provide more details? >>> >>> -- Keir >>> >>> On 27/10/2009 15:51, "Valtteri Kiviniemi" >>> >>> wrote: >>> >>>> Hi, >>>> >>>> Seems like that emulation is not quite working as it should be. domU's >>>> are using all the available cpu and then they crash. I did a fallback >>>> back to the old behaviour and the virtuals running with tsc_native=1 >>>> are >>>> working fine. >>>> >>>> - Valtteri Kiviniemi >>>> >>>> Valtteri Kiviniemi kirjoitti: >>>>> Hi, >>>>> >>>>> Ok, good to know. Is it always at 1GHz or can it be adjusted? Is there >>>>> some other new features different from 3.4.1 that I should know? >>>>> >>>>> >>>>> - Valtteri Kiviniemi >>>>> >>>>> Keir Fraser kirjoitti: >>>>>> On 27/10/2009 15:22, "Valtteri Kiviniemi" >>>>>> >>>>>> wrote: >>>>>> >>>>>>> We are testing the latest xen-unstable and found an interesting bug. >>>>>>> dom0 detects cpu speed correctly but when booting domU it detects it >>>>>>> incorrectly: >>>>>>> >>>>>>> "Detected 1000.000 MHz processor." >>>>>> TSC is emulated at that speed. If you want old behaviour then add >>>>>> tsc_native=1 >>>>>> to your domain config file. >>>>>> >>>>>> -- Keir >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>> >>> >> >