Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 11:46:50 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        Julian Hsiao <madoka@nyanisore.net>,  freebsd-virtualization@freebsd.org
Subject:   Bhyve storage improvements (was: Several bhyve quirks)
Message-ID:  <5515270A.7050408@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
> I've always assumed virtio driver > emulated driver so it didn't occur
> to me to try ahci-hd.

I've just merged to FreeBSD stable/10 branch set of bhyve changes that
should significantly improve situation in the storage area.

virtio-blk driver was fixed to work asynchronously and not block virtual
CPU, that should fix many problems with performance and interactivity.
Both virtio-blk and ahci-hd drivers got ability to execute multiple (up
to 8) requests same time, that should proportionally improve parallel
random I/O performance on wide storages.  At this point virtio-blk is
indeed faster then ahci-hd on high IOPS, and they both are faster then
before.

On the other side ahci-hd driver now got TRIM support to allow freeing
unused space on backing ZVOL. Unfortunately there is no any TRIM/UNMAP
support in virtio-blk API to allow the same.

Also both virtio-blk and ahci-hd drivers now report to guest logical and
physical block sizes of underlying storage, that allow guests properly
align partitions and I/Os for best compatibility and performance.

-- 
Alexander Motin



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