From: Pekka Enberg Subject: Re: [PATCH v3] kvm tools: Add QCOW level2 caching support Date: Fri, 3 Jun 2011 00:11:04 +0300 Message-ID: References: <1307044916-18109-1-git-send-email-prasadjoshi124@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: mingo@elte.hu, kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, levinsasha928@gmail.com, chaitanyakulkarni15@gmail.com, ashwini.kulkarni@gmail.com, anupshendkar@gmail.com To: Prasad Joshi Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:35013 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752080Ab1FBVLF (ORCPT ); Thu, 2 Jun 2011 17:11:05 -0400 Received: by vws1 with SMTP id 1so955718vws.19 for ; Thu, 02 Jun 2011 14:11:05 -0700 (PDT) In-Reply-To: <1307044916-18109-1-git-send-email-prasadjoshi124@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Jun 2, 2011 at 11:01 PM, Prasad Joshi wrote: > There is not much difference with sequential character operations are > performed, the code with caching performed better by small margin. The caching > code performance raised by 18% to 24% with sequential block output and by 44% > for sequentail block input. Which is understandable as the Level2 table will > always be cached after a write operation. Random seek operation worked slower > with caching code. Btw, please mention how much slower random seeks got in the next version of the patch - unless you're able to make the slowdown go away, of course. ;-)