linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* read-ahead for md/lvm combination
@ 2012-05-11 14:55 Daniel Pocock
  2012-05-12 21:32 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Pocock @ 2012-05-11 14:55 UTC (permalink / raw)
  To: linux-raid



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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-12 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-11 14:55 read-ahead for md/lvm combination Daniel Pocock
2012-05-12 21:32 ` NeilBrown

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).