Skip to contentSkip to conversation

Cache block size in RAID5 stripe cache

DISCUSSION Tzung Liu 1 participant 1 message Jan 20, 2005 MD RAID

lore
Share & tools
lore

Tzung Liu

author
#0 lore raw

Currently (in 2.6.x), the RAID5 stripe cache has a cache unit size of PAGE_SIZE (4KB for x86, as STRIPE_SIZE is defined in md/raid5.c).

For 2.4.x, due to buffer_head restriction of one vector per header, this is a reasonable restriction. For 2.6.x with bio capable of multiple vectors, we might consider increasing STRIPE_SIZE for performance reasons.

Is there any work or patch available in this area?

Thanks.

Tzung.