public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Facundo Curti <facu.curti@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] RAID 1 vs RAID 0 - Read perfonmance
Date: Mon, 24 Feb 2014 15:50:13 -0300	[thread overview]
Message-ID: <CABxff5_b+GcREraznf_6-XWqe8284TFTUnagZZ087pQ0sc4XZQ@mail.gmail.com> (raw)
In-Reply-To: <530B7B72.8040205@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1575 bytes --]

Thank you all! :) I finally have all clear.
I'm going to do raid 10. Any way, I'm going to do a benchmark before to
install.

Thank you!;)


2014-02-24 14:03 GMT-03:00 Jarry <mr.jarry@gmail.com>:

> On 24-Feb-14 7:27, Facundo Curti wrote:
>
>  n= number of disks
>>
>> reads:
>>    raid1: n*2
>>    raid0: n*2
>>
>> writes:
>>    raid1: n
>>    raid0: n*2
>>
>> But, in real life, the reads from raid 0 doesn't work at all, because if
>> you use "chunk size" from 4k, and you need to read just 2kb (most binary
>> files, txt files, etc..). the read speed should be just of n.
>>
>
> Definitely not true. Very rarely you need to read just one small file.
> Mostly you need many small files (i.e. compilation) or a few big files
> (i.e. database). I do not know what load you expect, but in my case
> raid0 (with SSD) gave me about twice the r/w speed on heavily-loaded
> virtualization platform with many virtual machines. And not only speed
> is higher, but also IOPS are splitted to two disks (nearly doubled).
>
> I did some testing with 2xSSD/512GB in raid1, 2xSSD/256GB in raid0 and
> 3xSSD/256GB in raid5 (I used 840/pro SSD with quite good HW-controller
> but I think with mdadm it might be similar). Raid0 was way ahead of
> other two configurations in my case.
>
> Finally I went for 4xSSD/256GB in raid10 as I needed both speed and
> redundancy...
>
> Jarry
>
> --
> _______________________________________________________________
> This mailbox accepts e-mails only from selected mailing-lists!
> Everything else is considered to be spam and therefore deleted.
>
>

[-- Attachment #2: Type: text/html, Size: 2267 bytes --]

      reply	other threads:[~2014-02-24 18:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-24  6:27 [gentoo-user] RAID 1 vs RAID 0 - Read perfonmance Facundo Curti
2014-02-24  7:24 ` Kerin Millar
2014-02-24 17:03 ` Jarry
2014-02-24 18:50   ` Facundo Curti [this message]

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=CABxff5_b+GcREraznf_6-XWqe8284TFTUnagZZ087pQ0sc4XZQ@mail.gmail.com \
    --to=facu.curti@gmail.com \
    --cc=gentoo-user@lists.gentoo.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