read-ahead cache on indiv. raid members and entire md device

Started by Roy Waldspurger on Jul 18, 2006

open the first message on its own page

Message details and related content
Hi,

I'm looking for advice on tuning the read-ahead cache for an md device...

for example, should I merely set the read-ahead for the md device:

blockdev --setra ### /dev/md2

or should I start touching the individual raid member devices:

blockdev --setra ### /dev/sdc1
blockdev --setra ### /dev/sdd1
blockdev --setra ### /dev/sde1, etc.

I'm not sure about the relation between the two caches.

Also, does the read-ahead cache for the entire md device show-up in /proc/ or /sys/block/mdX?  I of course find the read-ahead for the individual devices under, for example:

/sys/block/sdc/queue/read_ahead_kb

Many thanks in advance.

Cheers,

-- roy

Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help