bhyve - Linux VM w/ boot NVMe SSD - VirtIO vs AHCI

Status
Not open for further replies.

trickster

Cadet
Joined
May 24, 2017
Messages
4
Hello,

I've been testing VirtIO vs AHCI disk device settings with the latest version of Debian. I noticed with VirtIO, TRIM was not detected, while it was with AHCI.
And out of the box, TRIM is supported & enabled for my NVMe device.
Question: if the FreeNAS host is handling TRIM, should I even worry about it in the VM?
If I should worry about it in the guest OS, would you take advantage of the sequential performance boost of VIO or be conservative and use AHCI mode while using a scheduler such as deadline more suited for slower SATA SSDs?

Thanks in advance for the advice!
 
Status
Not open for further replies.
Top