From: Robert L Mathews <lists@tigertech.com>
To: Linux-RAID <linux-raid@vger.kernel.org>
Subject: Re: raid1 - ssd, doubts
Date: Tue, 30 Sep 2014 12:58:30 -0700 [thread overview]
Message-ID: <542B0B66.9080506@tigertech.com> (raw)
In-Reply-To: <CAH3kUhFwakMSRAgKdSR-4g53KwHS6Yj_mmm3TOVKRQ_qaA9SNA@mail.gmail.com>
On 9/30/14 9:20 AM, Roberto Spadim wrote:
> well, others experiences and comments are wellcome :)
> comments about cache (bcache,flashcache,dm cache) are wellcome too
Keep in mind that sequential read and write speeds are not everything.
For our use pattern, for example (busy Web and mail servers with
millions of files that aren't necessarily grouped physically on the
disk, even when in the same directory [think maildirs where each file
represents one message]), latency is more important -- particularly read
latency.
Our servers use three-disk RAID 1 arrays. When we replaced one of the
spinning hard drives in each array with an SSD (some of which were
Samsung 840 Pros), then marked the remaining two spinning disks as
"write-mostly", the average read latency on the array dropped from
around 12 ms to less than 2 ms.
More importantly, the average amount of time any process on a server is
waiting in the "D" state (read or write) dropped from 8% to 3%.
Note that improving the read performance this way also improves the
write performance of the entire array, because when a write occurs, it
will never be queued behind a spinning disk read: the spinning disk is
more likely to be idle.
So our experience confirms that adding a single SSD to a RAID 1 array,
then marking the others write-mostly, is a good stopgap measure on the
road to replacing all spinning disks with SSDs. It effectively doubled
the average performance of our storage. No additional caching layers
required.
--
Robert L Mathews, Tiger Technologies, http://www.tigertech.net/
next prev parent reply other threads:[~2014-09-30 19:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-30 14:50 raid1 - ssd, doubts Roberto Spadim
2014-09-30 15:46 ` Andrei Banu
2014-09-30 16:20 ` Roberto Spadim
2014-09-30 19:58 ` Robert L Mathews [this message]
2014-09-30 20:29 ` Roberto Spadim
2014-10-01 0:36 ` Brassow Jonathan
2014-10-01 2:01 ` Roberto Spadim
2014-10-01 7:33 ` David Brown
2014-10-01 7:50 ` Mikael Abrahamsson
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=542B0B66.9080506@tigertech.com \
--to=lists@tigertech.com \
--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