VMware Cloud Community
billybobSSD
Contributor
Contributor

SSD trim support in ESX?

Is there any plan for the SATA trim command in ESXi? SSD drives need this command to keep the SSD drives "cleaned". On MLC drives, the deleted space doesnt get wiped unless the system gives it a "trim" command.

Thanks!

Reply
0 Kudos
5 Replies
tokkoman
Contributor
Contributor

Im interested as well. No answer though..:(

Reply
0 Kudos
ojw_cryptomathi
Contributor
Contributor

My feeling is that it would be better to use a drive with integrated garbage collection, for example:

  http://www.anandtech.com/show/4010/kingston-ssdnow-v-plus-100-review/9

Reply
0 Kudos
tokkoman
Contributor
Contributor

As the ESX installation does not grow very much after installation and it doesn't do a lot of writes to the disk (unless the local disk is used to store vm's), I think it would not be very likely that the local SSD would fill up.

Ofcourse TRIM support would be desirable in ESX, but the need of it is not that great as in for example an OS that is booted up a lot or a system with little RAM which does a lot of swapping.

Reply
0 Kudos
ojw_cryptomathi
Contributor
Contributor

I wonder if there would be a performance advantage in having the vm swap file on the SSD?

Reply
0 Kudos
tokkoman
Contributor
Contributor

Always try to avoid swapping by giving your vm enough memory (memory is still a lot faster than swapping from a swapfile on a SSD). You can never have 'enough' memory in your ESX server. RAM is also a lot cheaper than a SSD.

But to answer your question; it would boost 'swapping' performance, to locate the vm swapfile on a different physical disk and especially on a SSD. (http://www.petri.co.il/virtual_increase_vmware_performance.htm)

Also, in general it is not recommended to use a SSD as a swap/page disk. As swapping does a lot of read/writes which reduces the lifetime of the SSD.

Reply
0 Kudos