Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #818

Re: Full SSD support?

From jnh@VictorTangoEleven.net.invalid (Jordan)
Newsgroups comp.os.linux.hardware
Subject Re: Full SSD support?
Date 2011-11-20 03:14 +0000
Organization A noiseless patient Spider
Message-ID <ja9rbf$6a7$1@dont-email.me> (permalink)
References <of2dnXOLeMEMWFjTnZ2dnUVZ_oOdnZ2d@earthlink.com> <slrnjcbuua.uju.fredrik@scout.jonson.org> <aaCdnXgM0M3w2FvTnZ2dnUVZ_h-dnZ2d@earthlink.com> <jLidnUreEd-WwFvTnZ2dnUVZ8tCdnZ2d@lyse.net>

Show all headers | View raw


In article <jLidnUreEd-WwFvTnZ2dnUVZ8tCdnZ2d@lyse.net>,
David Brown  <david@westcontrol.removethisbit.com> wrote:
>
>SSD's act exactly like HD's, just smaller, lower power, faster and more 
>expensive.  If your system works with a SATA HD, then it will work with 
>a SATA SSD.
>
>There are a few things that can make them even faster, however.  One is 
>making sure that your partitions are nicely aligned - the modern 
>standard is to align to 1 MB to be future proof, but 128 KB is usually 
>good enough.  Any recent version of fdisk or other partitioning tools 
>will do that automatically.
>
>"Trim" support has some benefits for earlier SSD's, but it's effect is 
>often overrated.  It makes little difference if you buy a modern SSD of 
>good size (over 64 GB) with decent garbage collection.

I think TRIM is still worth turning on if you're starting from
scratch.  There should be no downside to using it, except that
it restricts your choice of filesystems... the only Linux fs I
know of supporting TRIM so far is 'ext4.'

After choosing this fs, just add 'discard' to the mount options in
/etc/fstab.  Some distributions' installers may be smart enough now
to do that on their own when an SSD is detected.


>IO scheduling can also make a little difference.  Since there is no need 
>to order operations to suit the disk head (there being no disk head in 
>an SSD), the NOOP scheduler is a bit more efficient.  Modern distros and 
>kernels will identify the SSD and do this automatically, with older 
>kernels you can specify it manually.

echo noop > /sys/block/sda/queue/scheduler

 or (my preference):

echo deadline > /sys/block/sda/queue/scheduler

which seems to give slightly better responsiveness when heavy
writes are going on.  Be sure any mechanical drives in the system
remain set at cfq (or anticipatory).
-- 
Jordan.

Back to comp.os.linux.hardware | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Full SSD support? ANTant@zimage.com (Ant) - 2011-11-17 20:40 -0600
  Re: Full SSD support? Fredrik Jonson <fredrik@jonson.org> - 2011-11-18 06:31 +0000
    Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-18 03:45 -0800
      Re: Full SSD support? David Brown <david@westcontrol.removethisbit.com> - 2011-11-18 14:19 +0100
        Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-18 05:46 -0800
        Re: Full SSD support? jnh@VictorTangoEleven.net.invalid (Jordan) - 2011-11-20 03:14 +0000
          Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-20 04:26 -0800
            Re: Full SSD support? Richard Kettlewell <rjk@greenend.org.uk> - 2011-11-20 12:41 +0000
              Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-20 04:55 -0800
            Re: Full SSD support? jnh@VictorTangoEleven.net.invalid (Jordan) - 2011-11-24 08:42 +0000
              Re: Full SSD support? jnh@VictorTangoEleven.net.invalid (Jordan) - 2011-11-24 08:48 +0000
                Re: Full SSD support? Richard Kettlewell <rjk@greenend.org.uk> - 2011-11-24 09:18 +0000
                Re: Full SSD support? David Brown <david@westcontrol.removethisbit.com> - 2011-11-24 11:43 +0100
                Re: Full SSD support? Richard Kettlewell <rjk@greenend.org.uk> - 2011-11-24 11:21 +0000
                Re: Full SSD support? David Brown <david@westcontrol.removethisbit.com> - 2011-11-24 13:57 +0100
                Re: Full SSD support? Richard Kettlewell <rjk@greenend.org.uk> - 2011-11-24 13:20 +0000
              Re: Full SSD support? David Brown <david@westcontrol.removethisbit.com> - 2011-11-24 10:04 +0100
                Re: Full SSD support? jnh@VictorTangoEleven.net.invalid (Jordan) - 2011-11-27 00:08 +0000
                Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-26 17:57 -0800
                Re: Full SSD support? David Brown <david@westcontrol.removethisbit.com> - 2011-11-28 09:34 +0100
              Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-24 02:26 -0800
                Re: Full SSD support? jnh@VictorTangoEleven.net.invalid (Jordan) - 2011-11-27 00:12 +0000
                Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-26 17:58 -0800
                Re: Full SSD support? David Brown <david@westcontrol.removethisbit.com> - 2011-11-28 09:42 +0100
                Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-28 07:14 -0800
                Re: Full SSD support? David Brown <david@westcontrol.removethisbit.com> - 2011-11-29 09:09 +0100
                Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-29 02:27 -0800
                Re: Full SSD support? David Brown <david@westcontrol.removethisbit.com> - 2011-11-29 12:43 +0100
                Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-29 05:45 -0800
    Re: Full SSD support? Andreas Dehmel <blackhole.8.zarquon42@spamgourmet.com> - 2011-11-20 14:54 +0100
      Re: Full SSD support? Richard Kettlewell <rjk@greenend.org.uk> - 2011-11-20 19:06 +0000
  Re: Full SSD support? 7 <email_at_www_at_enemygadgets_dot_com@enemygadgets.com> - 2011-11-20 01:20 +0000
    Re: Full SSD support? jnh@VictorTangoEleven.net.invalid (Jordan) - 2011-11-20 03:20 +0000
    Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-20 04:27 -0800
  Re: Full SSD support? chris <chrisdhaag@googlemail.com> - 2011-11-20 17:12 +0100
    Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-20 08:54 -0800
      Re: Full SSD support? David Brown <david.brown@removethis.hesbynett.no> - 2011-11-20 19:32 +0100
        Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-20 11:02 -0800
          Re: Full SSD support? David Brown <david.brown@removethis.hesbynett.no> - 2011-11-20 22:02 +0100
            Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-20 14:03 -0800
              Re: Full SSD support? David Brown <david@westcontrol.removethisbit.com> - 2011-11-21 10:12 +0100
                Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-21 01:38 -0800
            Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-23 23:27 -0800
            Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-24 22:07 -0800
              Re: Full SSD support? david <none@nospam.com> - 2011-11-25 12:30 +0000
                Re: Full SSD support? Ant <ant@zimage.comANT> - 2011-11-25 07:00 -0800
        Re: Full SSD support? André Gillibert <MetaEntropy.removeThis@gmail.com> - 2011-11-22 00:56 +0100

csiph-web