Re: Best practices for SSD

2014-02-09 Thread Heinz Diehl
On 09.02.2014, Chris Murphy wrote: - reduce swappiness: /etc/sysctl.conf vm.swappiness=1 vm.vfs_cache_pressure=50 I wouldn't do this. If swap is needed, then swap is needed. While vfs_cache_pressure = 50 is the standard, swappiness set to 1 does not mean that the kernel

Re: Best practices for SSD

2014-02-08 Thread Michael Cronenworth
On 02/07/2014 06:54 PM, Chris Murphy wrote: And here is a recent thread, just under one year old…. https://lkml.org/lkml/2013/2/23/107 Anyway, the fs developers have been speaking about it quite a bit and for a long time. I guess I could have Google'd for this, but after reading over a few

Re: Best practices for SSD

2014-02-08 Thread Chris Murphy
On Feb 8, 2014, at 3:04 PM, Michael Cronenworth m...@cchtml.com wrote: On 02/07/2014 06:54 PM, Chris Murphy wrote: And here is a recent thread, just under one year old…. https://lkml.org/lkml/2013/2/23/107 Anyway, the fs developers have been speaking about it quite a bit and for a long

Re: Best practices for SSD

2014-02-07 Thread sam tygier
On 06/02/14 23:35, Chris Murphy wrote: On Feb 6, 2014, at 7:43 AM, Wade Hampton wadehampto...@gmail.com wrote: - mount using discard (or use the fstrim program periodically) The discard/TRIM debate can be found in the archives and also on devel@ archives, and on XFS archives. Not all SSDs

Re: Best practices for SSD

2014-02-07 Thread Chris Murphy
On Feb 7, 2014, at 2:00 AM, sam tygier samtyg...@yahoo.co.uk wrote: On 06/02/14 23:35, Chris Murphy wrote: On Feb 6, 2014, at 7:43 AM, Wade Hampton wadehampto...@gmail.com wrote: - mount using discard (or use the fstrim program periodically) The discard/TRIM debate can be found in the

Re: Best practices for SSD

2014-02-07 Thread Michael Cronenworth
On 02/07/2014 03:00 AM, sam tygier wrote: Ubuntu will be using a cronjob that calls fstrim, not the discard mount option. They found that the discard option cause a small performance hit. https://blueprints.launchpad.net/ubuntu/+spec/core-1311-ssd-trimming If you read the link you posted you

Re: Best practices for SSD

2014-02-07 Thread Chris Murphy
On Feb 7, 2014, at 5:11 PM, Michael Cronenworth m...@cchtml.com wrote: On 02/07/2014 03:00 AM, sam tygier wrote: Ubuntu will be using a cronjob that calls fstrim, not the discard mount option. They found that the discard option cause a small performance hit.

Re: Best practices for SSD

2014-02-07 Thread Chris Murphy
On Feb 7, 2014, at 5:44 PM, Chris Murphy li...@colorremedies.com wrote: On Feb 7, 2014, at 5:11 PM, Michael Cronenworth m...@cchtml.com wrote: On 02/07/2014 03:00 AM, sam tygier wrote: Ubuntu will be using a cronjob that calls fstrim, not the discard mount option. They found that the

Best practices for SSD

2014-02-06 Thread Wade Hampton
Is there a current best practices for use of solid state disks with Fedora 20? I found an older doc for Fedora 14 and also the Red Hat 6 deployment guide, but both don't have a lot of details. I have a laptop and am installing a 120G SSD. Also I plan on updating an old CentOS server with a

Re: Best practices for SSD

2014-02-06 Thread Matthew Miller
On Thu, Feb 06, 2014 at 09:43:40AM -0500, Wade Hampton wrote: Some of the recommendations I have found: I know about some of these and not others without research, so I'll just answer those parts. - use native partitions, not LVM (for TRIM) TRIM should work on LVM now. - mount using

Re: Best practices for SSD

2014-02-06 Thread John Horne
On Thu, 2014-02-06 at 09:43 -0500, Wade Hampton wrote: - change I/O scheduler by adding elevator=noop to boot parms No longer needed it seems. - reduce swappiness: /etc/sysctl.conf vm.swappiness=1 vm.vfs_cache_pressure=50 Yes, I do this for my SSD. I put them into a file in

Re: Best practices for SSD

2014-02-06 Thread Chris Murphy
On Feb 6, 2014, at 7:43 AM, Wade Hampton wadehampto...@gmail.com wrote: - partition on a 1M boundary Has been this way by default for some time. - use native partitions, not LVM (for TRIM) Well this wouldn't be a reason to not use LVM, I'd come up with something else, like it's a PITA to