Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752771Ab1FPF3J (ORCPT ); Thu, 16 Jun 2011 01:29:09 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:44907 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752447Ab1FPF3H convert rfc822-to-8bit (ORCPT ); Thu, 16 Jun 2011 01:29:07 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IbEnh/C5rjtsMSbICN1yVsntKzwGyhfKCLu+uSJUWvq6YAQkHf9RtLCMNDZAdZLhWm 12f9+S6GiFW4dtvb+B4S17qaLFaoiAGhijrP3x4GulCuZChXBY1GfhR1gdIYU/B8nsFj tX0yIBRb8Kiw6Fkol6P/nhdXAJYkb+Wt+LNq0= MIME-Version: 1.0 In-Reply-To: <4DF92C80.3030106@codemonkey.ws> References: <1308153214.7566.6.camel@jaguar> <4DF8DE26.1070301@redhat.com> <4DF92C80.3030106@codemonkey.ws> Date: Thu, 16 Jun 2011 06:29:05 +0100 Message-ID: Subject: Re: [ANNOUNCE] Native Linux KVM tool v2 From: Stefan Hajnoczi To: Prasad Joshi Cc: Pekka Enberg , Avi Kivity , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Andrew Morton , Linus Torvalds , Ingo Molnar , Sasha Levin , Cyrill Gorcunov , Asias He , Jens Axboe , Anthony Liguori Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1762 Lines: 48 On Wed, Jun 15, 2011 at 11:04 PM, Anthony Liguori wrote: > On 06/15/2011 03:13 PM, Prasad Joshi wrote: >> >> On Wed, Jun 15, 2011 at 6:10 PM, Pekka Enberg ?wrote: >>> >>> On Wed, Jun 15, 2011 at 7:30 PM, Avi Kivity ?wrote: >>>> >>>> On 06/15/2011 06:53 PM, Pekka Enberg wrote: >>>>> >>>>> - Fast QCOW2 image read-write support beating Qemu in fio benchmarks. >>>>> See >>>>> the >>>>> ? following URL for test result details: >>>>> https://gist.github.com/1026888 >>>> >>>> This is surprising. ?How is qemu invoked? >>> >>> Prasad will have the details. Please note that the above are with Qemu >>> defaults which doesn't use virtio. The results with virtio are little >>> better but still in favor of tools/kvm. >>> >> >> The qcow2 image used for testing was copied on to /dev/shm to avoid >> the disk delays in performance measurement. >> >> QEMU was invoked with following parameters >> >> $ qemu-system-x86_64 -hda ?-hdb >> /dev/shm/test.qcow2 -m 1024M > > Looking more closely at native KVM tools, you would need to use the > following invocation to have an apples-to-apples comparison: > > qemu-system-x86_64 -drive file=/dev/shm/test.qcow2,cache=writeback,if=virtio In addition to this it is important to set identical guest RAM sizes (QEMU's -m ) option. If you are comparing with qemu.git rather than qemu-kvm.git then you need to ./configure --enable-io-thread and launch with QEMU's -enable-kvm option. Stefan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/