Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 75D50C38142 for ; Fri, 27 Jan 2023 13:55:21 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.485578.752900 (Exim 4.92) (envelope-from ) id 1pLPBt-0008Oy-JO; Fri, 27 Jan 2023 13:54:53 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 485578.752900; Fri, 27 Jan 2023 13:54:53 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pLPBt-0008Or-GT; Fri, 27 Jan 2023 13:54:53 +0000 Received: by outflank-mailman (input) for mailman id 485578; Fri, 27 Jan 2023 13:54:52 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pLPBs-0008Ol-ES for xen-devel@lists.xenproject.org; Fri, 27 Jan 2023 13:54:52 +0000 Received: from ppsw-43.srv.uis.cam.ac.uk (ppsw-43.srv.uis.cam.ac.uk [131.111.8.143]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 29f58a4d-9e4a-11ed-b8d1-410ff93cb8f0; Fri, 27 Jan 2023 14:54:49 +0100 (CET) Received: from hades.srcf.societies.cam.ac.uk ([131.111.179.67]:56294) by ppsw-43.srv.uis.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25) with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1pLPBo-000y7V-Th (Exim 4.96) (return-path ); Fri, 27 Jan 2023 13:54:48 +0000 Received: from [10.80.2.8] (default-46-102-197-194.interdsl.co.uk [46.102.197.194]) (Authenticated sender: amc96) by hades.srcf.societies.cam.ac.uk (Postfix) with ESMTPSA id 1555C1FBD6; Fri, 27 Jan 2023 13:54:48 +0000 (GMT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 29f58a4d-9e4a-11ed-b8d1-410ff93cb8f0 X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: https://help.uis.cam.ac.uk/email-scanner-virus Message-ID: Date: Fri, 27 Jan 2023 13:54:46 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-GB To: Juergen Gross , xen-devel@lists.xenproject.org Cc: Wei Liu , Anthony PERARD References: <20230127055421.22945-1-jgross@suse.com> <547fab47-d4b5-2c04-74d5-baffa10b9638@srcf.net> <260bfbf4-8a6c-d3ea-a4e6-547a51d59ba1@suse.com> From: Andrew Cooper Subject: Re: [PATCH v2] tools/helpers: don't log errors when trying to load PVH xenstore-stubdom In-Reply-To: <260bfbf4-8a6c-d3ea-a4e6-547a51d59ba1@suse.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 27/01/2023 10:55 am, Juergen Gross wrote: > > For xenstore-stubdom it is easier, as there is no reason to prefer > the PV mode over PVH (in fact I'm still working on Xenstore LU for > the PVH case, making the decision even easier). I fully support having both PV and PVH options available.  It helps maintain architecturally "clean" interfaces, and not decisions are about performance. But a PVH stub xenstored cannot outperform a equivalent PV stub xenstored, for x86 architectural reasons. PV stub xenstored doesn't do any of the usual things that causes PV guests to be generally slow (different address spaces, user/kernel context switching), and event/grants to PV guests is architecturally more efficient than the HVM/PVH equivalents. PV will never go away fully die, because we've got enough fastpaths where this matters,  but I do expect that we'll eventually get to a point where we don't have any general purpose OSes running as PV - only single-task workloads such as stub xenstored. The great thing about having both PV and PVH available is that people will be able to see the concrete data confirming that PV is better, without having to simply trust me on the matter. ~Andrew