Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2020 16:41:04 +0100
From:      Roger Pau =?iso-8859-1?Q?Monn=E9?= <roger.pau@citrix.com>
To:        Stefan Parvu <sparvu@kronometrix.org>
Cc:        <freebsd-xen@freebsd.org>
Subject:   Re: Xen performance on FreeBSD vs Linux
Message-ID:  <20200108154104.GE11738@Air-de-Roger>
In-Reply-To: <7E9802F1-172A-41A7-A110-C69A7D8D1192@kronometrix.org>
References:  <7E9802F1-172A-41A7-A110-C69A7D8D1192@kronometrix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200108154104.GE11738>