"Trim/Discard
If your storage supports
thin provisioning (see the storage chapter in theProxmox VE guide), you can activate the
Discard option on a drive. With
Discardset and a
TRIM-enabled guest OS [
3], when the VM’s filesystemmarks blocks as unused after deleting files, the controller will relay thisinformation to the storage, which will then shrink the disk image accordingly.For the guest to be able to issue
TRIM commands, you must enable the
Discardoption on the drive. Some guest operating systems may also require the
SSD Emulation flag to be set. Note that
Discard on
VirtIO Block drives isonly supported on guests using Linux Kernel 5.0 or higher.
If you would like a drive to be presented to the guest as a solid-state driverather than a rotational hard disk, you can set the
SSD emulation option onthat drive. There is no requirement that the underlying storage actually bebacked by SSDs; this feature can be used with physical media of any type.Note that
SSD emulation is not supported on
VirtIO Block drives."
This ssd emu... flag won't run your vm faster.