
Hello All, I am about to make some hardware upgrades to my Linux box, and one of the possibilities is to add an SSD drive for /, /boot, and possibly also swap. Anyone have any advice on potential issues with the above? Cheers, -- Regards, Terry Duell

I think that using an ssd for swap is a bit of an issue due to the number of likely writes. I could be wrong on that one though. Cheers Paul On 29 May 2014 15:55, Terry Duell <tduell@iinet.net.au> wrote:
Hello All, I am about to make some hardware upgrades to my Linux box, and one of the possibilities is to add an SSD drive for /, /boot, and possibly also swap. Anyone have any advice on potential issues with the above?
Cheers, -- Regards, Terry Duell _______________________________________________ luv-main mailing list luv-main@luv.asn.au http://lists.luv.asn.au/listinfo/luv-main

Hello Paul, On Thu, 29 May 2014 16:02:33 +1000, Paul Miller <paul.miller@rmit.edu.au> wrote:
I think that using an ssd for swap is a bit of an issue due to the number of likely writes.
I could be wrong on that one though.
That thought had crossed my mind, but I really don't know enough about it. Currently swap isn't used very often, probably less if I install more memory, so maybe swap can stay on normal drive. Thanks for your comment. Cheers, -- Regards, Terry Duell

On Thu, 29 May 2014 16:02:33 Paul Miller wrote:
I think that using an ssd for swap is a bit of an issue due to the number of likely writes.
http://etbe.coker.com.au/2014/04/27/swap-breaking-ssd/ I've measured swap use and found that not to be the case. If you have a system that uses swap more than the ones I measured then you should just buy more RAM. My main workstation has 4G of RAM because of a lack of DIMM sockets. My wife's workstation/server has 8G of RAM because that performs well enough and I didn't feel a need to buy any more - I can upgrade it to 16G if I feel like it but it's generally been performing well with 8G. Swap is where you need performance the most, putting it on a slower device isn't a good idea. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/

Quoting Terry Duell (tduell@iinet.net.au):
Hello All, I am about to make some hardware upgrades to my Linux box, and one of the possibilities is to add an SSD drive for /, /boot, and possibly also swap. Anyone have any advice on potential issues with the above?
Arch Linux has, as usual, quite a great deal of good advice: https://wiki.archlinux.org/index.php/Solid_State_Drives -- Cheers, Actually, time flies hate a banana. Rick Moen -- Micah Joel rick@linuxmafia.com McQ! (4x80)

On Thu, 29 May 2014 15:55:14 Terry Duell wrote:
I am about to make some hardware upgrades to my Linux box, and one of the possibilities is to add an SSD drive for /, /boot, and possibly also swap. Anyone have any advice on potential issues with the above?
Use SSD for everything that requires good interactive performance. If you need bulk storage then use a RAID-1 array of cheap big disks (3TB or 4TB) for that. Write a cron job that backs up the SSD to the RAID-1 array because you don't want all your data only on one device. My wife's workstation/server has a 120G Intel SSD for boot, root, swap, and home (using BTRFS for root and home) and a pair of 3TB SATA disks in a BTRFS RAID-1 array for bulk storage. I have a cron job that creates snapshots of /home every hour and another cron job that copies a snapshot of /home to the RAID-1 array every day. The hourly snapshots cover the case of accidentally deleting the wrong file (the most common use of backups) and the daily copies cover the case of the SSD dying. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/

On 29 May 2014 15:55, Terry Duell <tduell@iinet.net.au> wrote:
Hello All, I am about to make some hardware upgrades to my Linux box, and one of the possibilities is to add an SSD drive for /, /boot, and possibly also swap. Anyone have any advice on potential issues with the above?
I wouldn't use anything else but an SSD for the root filesystem! They're great. Don't stress about swap. I'm running swap on SSD for a number of my personal systems. Looking at a small server with 536 days of power-on runtime on the SSD, it still hasn't used any of the reserved-for-failures blocks, and the wear levelling count is only up to 8. (The wear levelling should get up to several thousand before the drive is approaching end of life)
participants (5)
-
Paul Miller
-
Rick Moen
-
Russell Coker
-
Terry Duell
-
Toby Corkindale