From: Goetz Bock <bock@blacknet.de>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] striping efficiency
Date: Tue Feb 18 15:41:01 2003 [thread overview]
Message-ID: <20030218224059.M14285@zealot.blacknet.de> (raw)
In-Reply-To: <20030218195731.GA3934@angle.setup.org>; from braver@pobox.com on Tue, Feb 18, 2003 at 02:57:32PM -0500
On Tue, Feb 18 '03 at 14:57, Alexy Khrabrov wrote:
> I'm using a SCSI enclosure with 4 drives to store large files
> and wonder whether to stripe a single LV spanning them and
> how to choose the size of the stripe?
Don't. Use RAID5 and just don't bother to use striping. Otherwise, when
one drive fails all your data will be lost, with no hope to recover it.
OTOH if you insist on striping, than use a stripe size, that fits a few
times (3-4) into the cache of your disks. That would allow the SCSI
system to issue a "disk 1: get chunk A", "d2: cB", "d3: cC", "d4: cD"
and than read the chunks fro the disk's cache while the other drives are
still busy fatching the chunks from disk (and there is still space in
the cach to request the next chunk before getting the last, and don't
forget some space for writing and the disks' house keeping).
If you use XFS just use the chunk size your XFS uses. (and replace chunk
with strip size ;-))
--
Goetz Bock (c) 2003 as blacknet.de - Munich - Germany /"\
IT Consultant GNU FDL 1.1 secure mobile Linux everNETting \ /
X
ASCII Ribbon Campaign against HTML email & microsoft attachments / \
next prev parent reply other threads:[~2003-02-18 15:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-18 13:58 [linux-lvm] striping efficiency Alexy Khrabrov
2003-02-18 15:41 ` Goetz Bock [this message]
2003-02-18 16:30 ` grobe
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=20030218224059.M14285@zealot.blacknet.de \
--to=bock@blacknet.de \
--cc=linux-lvm@sistina.com \
/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