From owner-freebsd-current@FreeBSD.ORG Fri Jul 20 19:44:08 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0AAFC106567F; Fri, 20 Jul 2012 19:44:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id CC48C8FC14; Fri, 20 Jul 2012 19:44:07 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so7199798pbb.13 for ; Fri, 20 Jul 2012 12:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=sykMJcfIEfKoykb/nxeKGL1YsZudx8icywPeDlvZSy8=; b=Xod1q3jem3D9VxrVCGrRht0HuVFo3DzXp5R2n0aqMgYerX3m6F1gyfMB7V91OVd627 cO1ZGp1FozCmzILk/RhvU4af1H0cRnKq/L7pFxNWOvPCADaOZaR4tfsPCNCYu44vBGFc dmc6UEHqN2S+BvB4z+MRu6oBi2EUsnBDVjTzwqtLRD+NGbM4Gw9mEEzE94MN/8rh5KY1 Cw0+iX4qlefR+fpfC2DwfA+L6sjJJdmYV5eaIi05HuZ+RIt43czx/g7/V6wHBwixUtpn FcBGHhdJsidHG9wWLvoMEqd9my0qA82RABw3CYAfQl2ZCtus+oYCEW7ILA4+0WXUg1TV INDA== MIME-Version: 1.0 Received: by 10.68.238.166 with SMTP id vl6mr16246292pbc.96.1342813447305; Fri, 20 Jul 2012 12:44:07 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.191.138 with HTTP; Fri, 20 Jul 2012 12:44:07 -0700 (PDT) In-Reply-To: <50085193.6030203@gentoo.org> References: <50085193.6030203@gentoo.org> Date: Fri, 20 Jul 2012 12:44:07 -0700 X-Google-Sender-Auth: 95TlZg3AFFLiygyZg7kla8VqQfw Message-ID: From: Adrian Chadd To: Richard Yao Content-Type: text/plain; charset=ISO-8859-1 Cc: "hackers@FreeBSD.org" , current@freebsd.org Subject: Re: Awful FreeBSD 9 block IO performance in KVM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 19:44:08 -0000 On 19 July 2012 11:27, Richard Yao wrote: > Dear Everyone, > > FreeBSD 9 has awful block IO performance in KVM. I have experienced it > and others have experienced it. Someone posted slides to slideshare with > benchmarks documenting it: > > http://www.slideshare.net/TakeshiHasegawa1/runningfreebsdonlinuxkvm > > Slides 13 and 20 are particular eye openers. Does anyone know what is wrong? For those watching at home - this is bad performance _with_ the virtio drivers themselves, not just with SCSI emulation. Slide 17 is very telling - the operation latency is quite high. Richard, are you able to easily test out things on FreeBSD-HEAD guest in a Linux KVM? If so, some of the storage/block/GEOM driver people may be able to step up and start offering some ideas. Thanks, Adrian