From: Daniel Pocock <daniel@pocock.com.au>
To: linux-raid@vger.kernel.org
Subject: read-ahead for md/lvm combination
Date: Fri, 11 May 2012 14:55:34 +0000 [thread overview]
Message-ID: <4FAD2866.8070209@pocock.com.au> (raw)
While I was adding the SCTERC settings to my rc.local, I had a look over
/sbin/blockdev --setra ... settings
I do things like this, for example:
/sbin/blockdev --setra 8192 /dev/mapper/myvg-large_media_files
What about
- the devices /dev/sd[ab]2
- the md device, /dev/md2 (which is the PV for LVM) ?
Would it be correct to leave /dev/sd[ab]2 and /dev/md2 at defaults, and
only specify larger sizes for LVs that need it? Or should I even make
/dev/sd[ab]2 and /dev/md2 smaller than the default value (256)?
Those disks are SATA - but I'm also planning to add in some SSDs and
RAID1 them with md - they will hold things like source code and home
directories (to make compiling and NFS home directories faster). Can
anyone comment on the read ahead config or any other aspect of such a plan?
next reply other threads:[~2012-05-11 14:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-11 14:55 Daniel Pocock [this message]
2012-05-12 21:32 ` read-ahead for md/lvm combination NeilBrown
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=4FAD2866.8070209@pocock.com.au \
--to=daniel@pocock.com.au \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.