From: "Jan Beulich" Subject: Re: Xen 3.2.2 - Timer ISR/0: Time went backwards Date: Tue, 05 Aug 2008 08:03:51 +0100 Message-ID: <48981777.76E4.0078.0@novell.com> References: <48974FC6.5010602@theshore.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <48974FC6.5010602@theshore.net> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Christopher S. Aker" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This looks very similar to bug report we've got from IBM I'm currently trying to research (difficult, as I can't touch the hardware). What I know so far is that we're losing, starting a few seconds after dom0 boot began, 20-50+% timer interrupts. The moment this rate exceeds about 50%, platform time calibration breaks (as it sets the timer to half the = overflow period). Since jiffies aren't used much elsewhere, this loss of timer = ticks doesn't seem to matter much elsewhere. I've got no real clue so far *why* there's such a high rate of lost = interrupts, though. The only (albeit small, since appearing very unlikely) possibility would be frequent and extensive SMM entries after ACPI mode got enabled on the system. Btw., does -unstable exhibit the same behavior? Jan >>> "Christopher S. Aker" 04.08.08 20:51 >>> Hardware: Xen: 3.2.1-rc2 64bit dom0: 2.6.18.8 at changeset 622, PAE # xm dmesg | grep -e sync -e timer (XEN) checking TSC synchronization across 8 CPUs: passed. (XEN) Platform timer overflows in 234 jiffies. (XEN) Platform timer is 3.579MHz ACPI PM Timer (XEN) Machine check exception polling timer started. Spools one of these to console every few seconds: Timer ISR/0: Time went backwards: delta=3D-4270576170971=20 delta_cpu=3D254829029 shadow=3D2037844042151244163 off=3D261710497=20 processed=3D2037848312989081849 cpu_processed=3D2037844042158081849 0: 2037844042158081849 1: 2037828468354081849 2: 2037848312989081849 3: 2037837726866081849 4: 2037842059197081849 5: 2037840075526081849 6: 2037845844663081849 7: 2037841593777081849 A few t's into Xen's console: (XEN) *** Serial input -> Xen (type 'CTRL-a' three times to switch = input=20 to DOM0) (XEN) Min =3D 2037829427350793281 ; Max =3D 2037848310626701146 ; Diff = =3D=20 18883275907865 (18883275907 microseconds) (XEN) Min =3D 2037829428349256182 ; Max =3D 2037848311625163843 ; Diff = =3D=20 18883275907661 (18883275907 microseconds) (XEN) Min =3D 2037829428565188930 ; Max =3D 2037848311841096807 ; Diff = =3D=20 18883275907877 (18883275907 microseconds) This particular box does this with 3.2.0 - 3.2.2-rc2. I have another=20 box doing the same thing, except the delta is more sane (0 - 2=20 microseconds), however eventually dom0 freezes. -Chris _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com=20 http://lists.xensource.com/xen-devel