From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH 2/5] KVM: Implement CR read caching for KVM paravirt_ops Date: Mon, 18 Jun 2007 07:26:27 -0500 Message-ID: <467679F3.90501@codemonkey.ws> References: <4675F462.1010708@codemonkey.ws> <4675F4F1.5090207@codemonkey.ws> <46763CD3.3060704@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46763CD3.3060704-atKUWr5tajBWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Avi Kivity Cc: kvm-devel , virtualization List-Id: virtualization@lists.linuxfoundation.org Avi Kivity wrote: > Anthony Liguori wrote: >> With hardware virtualization, CR reads often times require a VMEXIT >> which is >> rather expensive. Instead of reading CR and taking the VMEXIT, >> maintain a >> copy of each CR and return that on CR reads. >> > > Looks good. Any measurable performance impact? I'm having trouble with virtbench on the latest versions of KVM so I've been running kernbench. I don't have specific numbers for this one but I'll get some today. Regards, Anthony Liguori ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/