Running FreeBSD 10.1 on Xen?

Rainer Duffner rainer at ultra-secure.de
Sun Feb 15 21:55:03 UTC 2015


Hi,

we are thinking about running FreeBSD 10.1 on Cloudstack, with Xen virtualization for a customer in a „managed hosting“ type of setup - we are administrators of  both Xen and FreeBSD on our own premises).
The customer is currently running a managed multi-server FreeBSD 10.1 setup on bare metal and is overall quite satisfied but would like to have more flexibility.

The handbook mentions nothing about this, there are two different wiki pages about Xen:

https://wiki.freebsd.org/FreeBSD/XenNG
(which I assume is the „right“ one nowadays)
and
https://wiki.freebsd.org/FreeBSD/Xen

I’m really more a FreeBSD-guy than a Xen guy but I’m wondering what the „optimal“ configuration for such a setup is?

I see that the XENHVM driver is thankfully already included in GENERIC.
The man-page also mentions to include:

           options NO_ADAPTIVE_MUTEXES
           options NO_ADAPTIVE_RWLOCKS
           options NO_ADAPTIVE_SX

Is this still necessary with 10.1?

I want to continue using freebsd-update(8) with binary patches provided by the FreeBSD-project - under almost all conditions.

Will there be any improvements in 10.2 that are worth waiting for?
Or does one need to track current to make the most of FreeBSD under Xen?

Looking at bugzilla, there is bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197344

Does that also apply when a VM doesn’t do routing?



Rainer



More information about the freebsd-xen mailing list