From: Andy Smith <andy@strugglers.net>
To: linux-raid@vger.kernel.org
Subject: Re: Multiple SSDs - RAID-1, -10, or stacked? TRIM?
Date: Thu, 10 Oct 2013 20:37:50 +0000 [thread overview]
Message-ID: <20131010203750.GV1779@bitfolk.com> (raw)
In-Reply-To: <5256701C.3090807@hardwarefreak.com>
Hi Stan,
(Thanks everyone else who's responded so far, too -- I'm paying
attention with interest)
On Thu, Oct 10, 2013 at 04:15:08AM -0500, Stan Hoeppner wrote:
> On 10/9/2013 7:31 AM, Andy Smith wrote:
> > Are there any gotchas to be aware of? I haven't much experience with
> > SSDs.
>
> Yes, there is one major gotcha WRT md/RAID and SSDs, which to this point
> nobody has mentioned in this thread, possibly because it pertains to
> writes, not reads. Note my question posed to you up above. Since I've
> answered this question in detail at least a dozen times on this mailing
> list, I'll simply refer you to one of my recent archived posts for the
> details:
>
> http://permalink.gmane.org/gmane.linux.raid/43984
When I first read that link I thought perhaps you were referring to
write performance dropping off a cliff due to SSD garbage caching
routines that kicked in, but then I read the rest of the thread and
I think maybe you were hinting at the single write thread issue you
talk about more in:
http://www.spinics.net/lists/raid/msg44211.html
Is that the case?
> To be clear, the need for careful directory/file layout to achieve
> parallel throughput pertains only to the linear concatenation storage
> architecture described above. If one is using XFS atop a striped array
> then throughput, either sequential or parallel, is -not- limited by
> file/dir placement across the AGs, as all AGs are striped across the disks.
So, in summary do you recommend the stacked RAID-0 on top of RAID-1
pairs instead of a RAID-10, where write performance may otherwise be
bottlenecked by md's single write thread?
Write ops are a fraction of the random reads and using RAID with a
battery-backed write cache solved that problem, but it does need to
scale linearly with whatever improvement we can get for the read
ops, so I would think it will still be something worth thinking
about, so thanks for pointing that out.
Thanks,
Andy
next prev parent reply other threads:[~2013-10-10 20:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 12:31 Multiple SSDs - RAID-1, -10, or stacked? TRIM? Andy Smith
2013-10-09 13:00 ` Roberto Spadim
2013-10-09 13:27 ` David Brown
2013-10-09 13:52 ` Roberto Spadim
2013-10-09 14:46 ` Ian Pilcher
2013-10-09 16:21 ` David Brown
2013-10-09 17:33 ` Ian Pilcher
2013-10-09 18:04 ` Roberto Spadim
2013-10-09 19:08 ` David Brown
2013-10-09 20:35 ` SSD reliability; was: " Matt Garman
2013-10-09 21:17 ` David Brown
2013-10-09 21:46 ` Brian Candler
2013-10-10 6:14 ` Mikael Abrahamsson
2013-10-10 16:18 ` Art -kwaak- van Breemen
2013-10-10 9:15 ` Stan Hoeppner
2013-10-10 20:37 ` Andy Smith [this message]
2013-10-11 8:30 ` David Brown
2013-10-11 9:37 ` Stan Hoeppner
2013-10-11 8:42 ` David Brown
2013-10-11 11:00 ` Art -kwaak- van Breemen
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=20131010203750.GV1779@bitfolk.com \
--to=andy@strugglers.net \
--cc=linux-raid@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).