Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964984AbWAMQEU (ORCPT ); Fri, 13 Jan 2006 11:04:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964999AbWAMQEU (ORCPT ); Fri, 13 Jan 2006 11:04:20 -0500 Received: from ms-smtp-02.nyroc.rr.com ([24.24.2.56]:49391 "EHLO ms-smtp-02.nyroc.rr.com") by vger.kernel.org with ESMTP id S964984AbWAMQET (ORCPT ); Fri, 13 Jan 2006 11:04:19 -0500 Subject: RE: Dual core Athlons and unsynced TSCs From: Steven Rostedt To: Roger Heflin Cc: "'linux-kernel'" , "'Lee Revell'" In-Reply-To: References: Content-Type: text/plain Date: Fri, 13 Jan 2006 11:04:14 -0500 Message-Id: <1137168254.7241.32.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1418 Lines: 36 On Fri, 2006-01-13 at 09:10 -0600, Roger Heflin wrote: > > > -----Original Message----- > > From: linux-kernel-owner@vger.kernel.org > > [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Lee Revell > > Sent: Thursday, January 12, 2006 4:18 PM > > To: linux-kernel > > Subject: Dual core Athlons and unsynced TSCs > > > > It's been known for quite some time that the TSCs are not > > synced between cores on Athlon X2 machines and this screws up > > the kernel's timekeeping, as it still uses the TSC as the > > default time source on these machines. > > > > This problem still seems to be present in the latest kernels. > > What is the plan to fix it? Is the fix simply to make the > > kernel use the ACPI PM timer by default on Athlon X2? > > > Do we know if this also affects dual-core opterons? > > The symptoms are that the clocks run at 2x the speed, correct? No, worse. The monotonic clock can go backwards. The tscs of the CPUs are not in sync when one slows down due to idle. So if you read from two different CPUs, you may get the second read have an earlier time than the first. Breaks the rule of what a monotonic clock is. -- Steve - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/