Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Dec 2002 15:03:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Dec 2002 15:03:18 -0500 Received: from pc2-cwma1-4-cust86.swan.cable.ntl.com ([213.105.254.86]:29412 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 17 Dec 2002 15:03:16 -0500 Subject: Re: Intel P6 vs P7 system call performance From: Alan Cox To: "Martin J. Bligh" Cc: "H. Peter Anvin" , Linus Torvalds , Dave Jones , Ingo Molnar , Linux Kernel Mailing List In-Reply-To: <160470000.1040153210@flay> References: <3DFF772E.2050107@transmeta.com> <160470000.1040153210@flay> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 17 Dec 2002 20:51:11 +0000 Message-Id: <1040158271.20765.26.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 21 On Tue, 2002-12-17 at 19:26, Martin J. Bligh wrote: > >> It's not as good as a pure user-mode solution using tsc could be, but > You can't use the TSC to do gettimeofday on boxes where they aren't > syncronised anyway though. That's nothing to do with vsyscalls, you just > need a different time source (eg the legacy stuff or HPET/cyclone). Ditto all the laptops and the like. With code provided by the kernel we can cheat however. If we know the fastest the CPU can go (ie full speed on spudstop/powernow etc) we can tell the tsc value at which we have to query the kernel to get time to any given accuracy, so allowing limited caching Ditto by knowing the worst case drift on summit Alan - 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/