From owner-freebsd-virtualization@FreeBSD.ORG Thu Mar 26 07:54:14 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 63517167 for ; Thu, 26 Mar 2015 07:54:14 +0000 (UTC) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E942DA2 for ; Thu, 26 Mar 2015 07:54:13 +0000 (UTC) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id EF7B7281116 for ; Thu, 26 Mar 2015 17:54:10 +1000 (EST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au X-Virus-Scanned: amavisd-new at iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i5v4ycbr4dzo for ; Thu, 26 Mar 2015 17:54:10 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-76-126-65-88.hsd1.ca.comcast.net [76.126.65.88]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 0E791280A0E; Thu, 26 Mar 2015 17:54:08 +1000 (EST) Message-ID: <5513BB1E.6020101@freebsd.org> Date: Thu, 26 Mar 2015 00:54:06 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Julian Hsiao Subject: Re: Several bhyve quirks References: <5512D7E3.9060401@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 26 Mar 2015 07:54:14 -0000 Hi Julian, > Thank you for your explanation and tips, Peter. I just tried changing > virtio-blk -> ahci-hd and preliminary results are good. And now you've > mentioned it, I do recall seeing slightly less performance degradation > on guests with 2 vCPUs vs. ones with just one. Glad to hear that :) >> Try using the -W option to bhyve. This will force the bhyve virtio >> code to advertize (non-standard) MSI interrupt capability which OpenBSD >> will then use to allocate vectors. > > Unfortunately -W didn't help. This is not critical, however, and I'll > ask around in the OpenBSD mailing list. I tried this out today with OpenBSD 5.7 and a CURRENT host, and it's actually a bug in the virtio-rnd implementation in bhyve when MSI-x isn't used. The early testing was with FreeBSD and Linux which both use MSI-x so wasn't picked up for the MSI/legacy case. I have a fix for CURRENT and that should make it's way into 10-stable shortly. Thanks for the report ! later, Peter.