From owner-freebsd-virtualization@FreeBSD.ORG Fri Jan 17 09:08:28 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1BFB7C0B for ; Fri, 17 Jan 2014 09:08:28 +0000 (UTC) Received: from SMTP.CITRIX.COM (smtp.citrix.com [66.165.176.89]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 69E0D1E82 for ; Fri, 17 Jan 2014 09:08:26 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.95,670,1384300800"; d="scan'208";a="93789574" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 17 Jan 2014 09:08:18 +0000 Received: from [IPv6:::1] (10.80.16.47) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.2.342.4; Fri, 17 Jan 2014 04:08:18 -0500 Message-ID: <52D8F301.2080701@citrix.com> Date: Fri, 17 Jan 2014 10:08:17 +0100 From: =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Sydney Meyer , Subject: Re: Xen PVHVM with FreeBSD10 Guest References: <9DF57091-9957-452D-8A15-C2267F66ABEC@googlemail.com> <52D81009.6050603@citrix.com> <51F93577-E5A2-4237-9EDD-A89DDA5FC428@gmail.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-DLP: MIA2 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:08:28 -0000 On 16/01/14 19:38, Sydney Meyer wrote: > Well then, thanks for the hint.. dmesg shows the following: > > 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. > > Now i did some tests with raw images and the disk performs very well (10-15% less than native throughput). So the problem only manifest itself when using block devices as disk backends? I've done some tests with fio using direct=1 (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) Roger.