From: Keir Fraser Subject: Re: write_tsc in a PV domain? Date: Tue, 01 Sep 2009 08:16:49 +0100 Message-ID: References: <17980418-9fbf-4869-ad1d-81c6d578e7f0@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <17980418-9fbf-4869-ad1d-81c6d578e7f0@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 , Jeremy Fitzhardinge Cc: "Xen-Devel (E-mail)" , Alan Cox List-Id: xen-devel@lists.xenproject.org On 31/08/2009 22:06, "Dan Magenheimer" wrote: > A thousand cycles to trap, decode, call get_s_time, > and return seems astoundingly good? Probably it's > faster than a vmexit because there's so much less state > to save. But still it's 15x slower than a raw rdtsc. A kernel trap used to take about a microsecond. Maybe it has got faster on new processors. -- Keir