From: Keir Fraser Subject: Re: How expensive is a VM EXIT? Date: Wed, 04 Mar 2009 08:45:46 +0000 Message-ID: References: <5d7aca950903031615n380c6e30u2777e83a520cecc2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5d7aca950903031615n380c6e30u2777e83a520cecc2@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: NAHieu Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 04/03/2009 00:15, "NAHieu" wrote: > On Wed, Mar 4, 2009 at 1:34 AM, Keir Fraser wrote: >> For just the VMEXIT itself, it's probably about 1000-1500 cycles on the >> latest processors. I haven't measured it very recently though. >> > > Could you explain how do you measure the cycles for VMEXIT? RDTSC in the guest immediately before triggering a VMEXIT and RDTSC in the hypervisor on entry. -- Keir