The AVE virtual machine allows the guest operating system to trigger the space reclamation action of its corresponding ABS storage through the TRIM instruction. If space is reclaimed by triggering the TRIM command each time data is deleted, the latency overhead of the deletion will be high and may have an impact on the performance of the virtual disk. Therefore, it is recommended to configure periodic storage space reclamation for virtual machines.
Prerequisite
Precaution
discard command. For kernel versions earlier than v5.19, the discard_granularity parameter is forcibly set to 512, which may lead to abnormal discard behavior. The 3.10 kernel used by CentOS 7 does not support discard. However, the 4.18+ kernels used by CentOS 8 and 9 include backported patches from the mainline kernel, thereby supporting discard. For detailed operating system compatibility, refer to Storage space reclamation compatibility list. Linux virtual machines using virtio-scsi devices are not affected by this issue and can reclaim storage space normally.