cancel
Showing results for 
Search instead for 
Did you mean: 

SWAP space on SSD recommended?

idata
Esteemed Contributor III

I have some Linux servers with only one ssd (Postville 2 X-25M 120GB) and a utilized 2GB swap partition (which is of course a partition of the ssd).

My question is, if this setup is recommended of if there could be any problems about lifetime in the future (because of the many read/writes on the swap partition)?

Do I need trimm support on the swap partition or is the supported Garbage Collection of this Intel SSD enough?

Kind Regards,

Marco

1 REPLY 1

idata
Esteemed Contributor III

Which distro and version? Linux 2.6.33 onward has supported TRIM.

Lifetime expentency has to do with your particular usage of the swap partition and OS handling of it. In Windows 7, reads outnumber writes by 40:1 on average (http://blogs.msdn.com/b/e7/archive/2009/05/05/support-and-q-a-for-solid-state-drives-and.aspx http://blogs.msdn.com/b/e7/archive/2009/05/05/support-and-q-a-for-solid-state-drives-and.aspx)

However, it your workload is exceeding the installed RAM then swap will obviously be more heavily utilized.

Basically, you may want to do some benchmarking and monitoring if you want to be sure.