Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: Roberto Spadim <roberto@spadim.com.br>
Cc: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: doubts about sdd raid1 and cfs
Date: Sat, 13 Jun 2015 22:32:26 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1506132223340.9487@uplift.swm.pp.se> (raw)
In-Reply-To: <CAH3kUhGHPD5PhBcMzjH1iQBJgviuUa76KtAp-UVSqhwFnBpY1g@mail.gmail.com>

On Sat, 13 Jun 2015, Roberto Spadim wrote:

> hum, but what about the 850 version instead of 840?

SSDs have been around for more than 5 years (intel released the X25-M 
in 2008 according to wikipedia), TRIM has been around for 4-5 years.

I have seen so many problems related to TRIM, that I will not use it 
unless it comes default on from a manufacturer that has tested the entire 
chain, including hardware and software (my Apple laptop for instance).

We have seen TRIM not being NCQ enabled and stalling performance when 
doing TRIM, we have seen firmware bugs that cause drives to lose data when 
doing TRIM, we have seen Linux kernel bugs that also caused loss of data.

First of all, ask yourself why you want TRIM, understand how it works and 
if you will benefit, do your research properly, and then enable it.

Personally, I overprovision my SSDs instead:

http://www.samsung.com/global/business/semiconductor/minisite/SSD/global/html/whitepaper/whitepaper05.html
https://en.wikipedia.org/wiki/Write_amplification#Over-provisioning
http://www.seagate.com/gb/en/tech-insights/ssd-over-provisioning-benefits-master-ti/
http://www.edn.com/design/systems-design/4404566/Understanding-SSD-over-provisioning
http://www.kingston.com/en/ssd/overprovisioning

So I basically leave space on the drive that I don't use. In your case I 
would only partition 200GB (or even less) of that 240GB drive, and I would 
run it without TRIM.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se

  reply	other threads:[~2015-06-13 20:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-13 19:42 doubts about sdd raid1 and cfs Roberto Spadim
2015-06-13 20:14 ` Mikael Abrahamsson
2015-06-13 20:18   ` Roberto Spadim
2015-06-13 20:32     ` Mikael Abrahamsson [this message]
2015-06-13 20:33       ` Roberto Spadim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.02.1506132223340.9487@uplift.swm.pp.se \
    --to=swmike@swm.pp.se \
    --cc=linux-raid@vger.kernel.org \
    --cc=roberto@spadim.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox