Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 2025 14:06:11 -0700
From:      Tom Arnold <xyzzy@sysabend.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Running FreeBSD 14.3 under XCP-NG performance issues
Message-ID:  <20250722210611.GC27456@moo.sysabend.org>

next in thread | raw e-mail | index | archive | help

I've been trying to get FreeBSD happy under our new XCP-NG setup.

The biggest problem I'm seeing right now is disk performance.

I built the VM on a 200gig LUN mapped from a Dell MD5.  This disk happened to
show up as /dev/ada0 and was installed with ZFS on Root.

After rebooting I added some more LUNs and put ZFS on them. These disks happen to
show up with /dev/xbd# as Xen seems to be being detected after the reboot.

Doing a simple performance test with dd ( if=/dev/zero of=file bs=1m ) on anything
with a /dev/ada# entry I get a transfer rate of something around 6777 MB/s.

Doing the same test on a device that is /dev/xbd# I get around half that.

If I fight a bit and disable xenguest and get one of the "newer" LUNs over to a
/dev/ada# device the performance goes up into the 6777 MB/s range.

I figure I'm doing something wrong here but docs seem to be sparse on this and
Vates doesn't fully support FreeBSD so its a YMMV sorta thing.

Any suggestions?

Thanks.

  -Tom

-- 
 --------------------------------------------------------------------
 - Tom Arnold           -  "...is it a virus, a drug, or a religion?"  
 - Sysabend Caretaker   -    Juanita Shrugs. "What's the difference?"
 ------------------------       -- Neal Stephenson,  Snow Crash 




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