From owner-freebsd-xen@freebsd.org Wed Jan 8 15:41:24 2020 Return-Path: Delivered-To: freebsd-xen@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F0D041F28C0 for ; Wed, 8 Jan 2020 15:41:24 +0000 (UTC) (envelope-from roger.pau@citrix.com) Received: from esa4.hc3370-68.iphmx.com (esa4.hc3370-68.iphmx.com [216.71.155.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "esa4.hc3370-68.iphmx.com", Issuer "HydrantID SSL ICA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47tD4N1F0Dz3F1x for ; Wed, 8 Jan 2020 15:41:23 +0000 (UTC) (envelope-from roger.pau@citrix.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1578498084; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=B5GKLB+VDjGG1OjQrnh2sRXCRD9X1bcz3VYhY0X6bOo=; b=TYQ8iSWHrM0lyDN6hZzvs8WwQk5UqQMgDv4qKV6ey5axmPoRmpVJJw+x /C87MhSdbEJVm0QDxJ96cy6LmDe/gTjxcMtGBydTqWqAPzj0EL2Ld2pJ4 BUAFIsBGKjrt3uPq847WA58srVah+T0qyz2KCY19yxGQsPi5nRY9Mwpiz U=; Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of roger.pau@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa4.hc3370-68.iphmx.com: domain of roger.pau@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="roger.pau@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa4.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa4.hc3370-68.iphmx.com; envelope-from="roger.pau@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: nR2i8iY6iyZn7iuDYBUV2t3dQ7IRgB8DQso0Xx5l2r8xJc8kQ6XvrgpPSZMGAPn+kYNZotHtSL UgJa7q8IZ61ZLhAj6Y+DlkosqFWWsaZsN12VRiak7IoAPLwId7w3kFohru/8qOLHqsKgYTaUbc tpKNgcuV7lPc8mZxkvBLrDrHQAV4iEDSnl1ViS6K1PYy3ClWIcwJ0iFATy+iHlbhcvKSsrsdd2 lu1miLSGKokff9kCWvSvcVipNiBJAVyJSaip3zEKimeKb+iDRkgdrc58fE+6efKN7hlNBuW5O1 S+Q= X-SBRS: 2.7 X-MesageID: 11218281 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.69,410,1571716800"; d="scan'208";a="11218281" Date: Wed, 8 Jan 2020 16:41:04 +0100 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Stefan Parvu CC: Subject: Re: Xen performance on FreeBSD vs Linux Message-ID: <20200108154104.GE11738@Air-de-Roger> References: <7E9802F1-172A-41A7-A110-C69A7D8D1192@kronometrix.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <7E9802F1-172A-41A7-A110-C69A7D8D1192@kronometrix.org> X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL01.citrite.net (10.69.22.125) X-Rspamd-Queue-Id: 47tD4N1F0Dz3F1x X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=citrix.com header.s=securemail header.b=TYQ8iSWH; dmarc=pass (policy=none) header.from=citrix.com; spf=pass (mx1.freebsd.org: domain of roger.pau@citrix.com designates 216.71.155.144 as permitted sender) smtp.mailfrom=roger.pau@citrix.com X-Spamd-Result: default: False [-6.46 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[citrix.com:s=securemail]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DWL_DNSWL_LOW(-1.00)[citrix.com.dwl.dnswl.org : 127.0.9.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[citrix.com:+]; RCVD_IN_DNSWL_MED(-0.20)[144.155.71.216.list.dnswl.org : 127.0.3.2]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[citrix.com,none]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16417, ipnet:216.71.154.0/23, country:US]; IP_SCORE(-2.26)[ip: (-6.78), ipnet: 216.71.154.0/23(-3.09), asn: 16417(-1.38), country: US(-0.05)] X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2020 15:41:25 -0000 On Mon, Jan 06, 2020 at 12:43:51PM +0200, Stefan Parvu wrote: > Hi, > > How Xen hypervisor compares in terms of performance (guest) on FreeBSD vs Linux > , using ZFS or UFS ? There are several factors to take into account here. On FreeBSD the hypervisor is built with clang, while on Linux it's usually built with gcc, and hence different optimizations will be used. Also a FreeBSD dom0 can only work in PVH mode, which is faster for certain operations like page table modifications, but it's slower for others, like issuing hypercalls, when compared to a PV dom0. I don't have figures at hand now, but guest creation is likely slower on a FreeBSD PVH dom0 than on a Linux PV dom0, and that's because hypercalls are more expensive on PVH than on PV (has nothing to do whether Linux or FreeBSD is used). > Are there any benchmarks or tests regarding this ? I don't think so, but I think they will be useful if someone has the time to perform them :). Thanks, Roger.