From: Keir Fraser Subject: Re: million cycle interrupt Date: Tue, 14 Apr 2009 07:30:42 +0100 Message-ID: References: <745f6498-ee01-46df-9f1d-d7e2f1608195@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <745f6498-ee01-46df-9f1d-d7e2f1608195@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , "Tian, Kevin" , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On 14/04/2009 05:23, "Dan Magenheimer" wrote: >> If it's really caused by SMT, it's more likely to be software >> caused resource contention due to doubled logical processors. > > You mentioned PIT earlier... I wonder if PIT can be > read in parallel if read from different cores, but > if read from different threads, it must be serialized? > A million cycles is probably about right for a platform > timer read, true? You could validate that quite easily by adding your own timer read wrapped in TSC reads. Actually a PIT read, even though it requires multiple accesses over the ISA bus, should take less than 10us. -- Keir