Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
862 Views

SWAP space on SSD recommended?

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

Tags (1)
0 Kudos
1 Reply
idata
Community Manager
63 Views

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.

Reply