From owner-freebsd-virtualization@FreeBSD.ORG Fri Jan 17 09:17:14 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF532F78 for ; Fri, 17 Jan 2014 09:17:14 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 733031F25 for ; Fri, 17 Jan 2014 09:17:14 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id l18so1541435wgh.1 for ; Fri, 17 Jan 2014 01:17:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=ixj8QpGvgStiaCMvtWG278Scp4E2vTFLt2nSPuBncg0=; b=ePcHHGU9vVkMkomwpmBphed/Gj/laYYEE+o8aPZAN+P7mgeNZziW/bn3tTJseAmxlh IhvcTcADu1WDxd8AvmCuUd+hmJs6GVSsXQVlmKzb6m87IWysc31Xv2F++gFraDYtlAZq 6IWWHRb5B9vAxJ1slDQspi+1Nfu7gKpgeqCuzxsvTRCbYZVSRdO1NbP5QrWOwlvl21cd lyGroYNVcISYttt08qmheo1/2sP2o2PrsT9yxJdzGoj2eEiyuXG24Qxb+gtmyW7dQ+5h j6UHk9GupG6WOlGqB2N+MiS9ZSxk44NDtA1WMXIRW8fc8HiqKgnT+XcV4AAqZOcfl2LE g0nQ== X-Received: by 10.181.11.201 with SMTP id ek9mr1217816wid.54.1389950232830; Fri, 17 Jan 2014 01:17:12 -0800 (PST) Received: from [10.0.1.109] (21.199-241-81.adsl-dyn.isp.belgacom.be. [81.241.199.21]) by mx.google.com with ESMTPSA id j1sm2137397wic.9.2014.01.17.01.17.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jan 2014 01:17:12 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: Xen PVHVM with FreeBSD10 Guest From: Sydney Meyer In-Reply-To: <52D8F301.2080701@citrix.com> Date: Fri, 17 Jan 2014 10:17:11 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <9DF57091-9957-452D-8A15-C2267F66ABEC@googlemail.com> <52D81009.6050603@citrix.com> <51F93577-E5A2-4237-9EDD-A89DDA5FC428@gmail.com> <52D8F301.2080701@citrix.com> To: freebsd-virtualization@freebsd.org X-Mailer: Apple Mail (2.1827) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 09:17:14 -0000 I=92m doing some benchmarks with bonnie and dd on the Variations = 9.2/10.0;PVHVM/VirtIO;fileio/blockio. I will post the results here to = this thread. On 17.01.2014, at 10:08, Roger Pau Monn=E9 wrote: > On 16/01/14 19:38, Sydney Meyer wrote: >> Well then, thanks for the hint.. dmesg shows the following: >>=20 >> Jan 16 18:22:30 bsd10 kernel: xn0: at = device/vif/0 on xenbusb_front0 >> Jan 16 18:22:30 bsd10 kernel: xn0: Ethernet address: = 00:16:3e:df:1b:5a >> Jan 16 18:22:30 bsd10 kernel: xenbusb_back0: on = xenstore0 >> Jan 16 18:22:30 bsd10 kernel: xn0: backend features: feature-sg = feature-gso-tcp4 >> Jan 16 18:22:30 bsd10 kernel: xbd0: 8192MB at = device/vbd/768 on xenbusb_front0 >> Jan 16 18:22:30 bsd10 kernel: xbd0: attaching as ada0 >> Jan 16 18:22:30 bsd10 kernel: xbd0: features: flush, write_barrier >> Jan 16 18:22:30 bsd10 kernel: xbd0: synchronize cache commands = enabled. >>=20 >> Now i did some tests with raw images and the disk performs very well = (10-15% less than native throughput). >=20 > So the problem only manifest itself when using block devices as disk > backends? >=20 > I've done some tests with fio using direct=3D1 (and a LVM volume as = the > backend), and it shows that disk writes are slower when using PV = drivers > instead of the emulated ones. On the other hand disk reads are faster > when using the PV drivers. Have you tried if the 9.x series also show > the same behaviour? (you will have to compile the custom XENHVM = kernel) >=20 > Roger. >=20