From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhszJ-0001Lg-9H for qemu-devel@nongnu.org; Thu, 08 Sep 2016 02:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhszE-0003DG-Ud for qemu-devel@nongnu.org; Thu, 08 Sep 2016 02:39:04 -0400 Received: from mx4-phx2.redhat.com ([209.132.183.25]:46122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhszE-0003D5-Km for qemu-devel@nongnu.org; Thu, 08 Sep 2016 02:39:00 -0400 Date: Thu, 8 Sep 2016 02:38:59 -0400 (EDT) From: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Message-ID: <1901528701.689829.1473316739322.JavaMail.zimbra@redhat.com> In-Reply-To: <1473314491.6698.5.camel@redhat.com> References: <20160904222039.11460-1-marcandre.lureau@redhat.com> <1473314491.6698.5.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 00/18] virgl: use a seperate rendering thread List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , qemu-devel@nongnu.org, airlied@redhat.com Hi ----- Original Message ----- > Hi, > > > The benchmarks are quite encouraging, since I get from +-25% for > > xonotic up to +-100% for glmark. (fwiw, vhost-user-gpu had similar > > results too). Finally, I tried to make it acceptable for upstream. > > Hmm, I don't feel like adding too many modes to virgl ... > > With vhost-user-gpu giving us simliar benefits I'd prefer to focus on > that, for the additional security benefits (sandboxing the separate > process). Makes sense, I wanted to have a fair comparison between the two. vhost-user-gpu will probably take longer to happen, since it changes the way qemu must be managed. I also expect a lag in vhost-user whenever virtio ring/dataplane gets optimization in qemu, that will need to be adapted for vhost-user. So the benefit of having a virgl thread in qemu is that it is less complicated than vhost-user-gpu, it brings immediate performance boost, and it serves as a comparison point. I can keep it in a branch, but it would be nice to consider this as an "experimental" option too.