linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Query regarding stripe management in linux md-raid
@ 2009-04-28 14:02 Kunal Kushwaha
  2009-04-28 23:15 ` Neil Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Kunal Kushwaha @ 2009-04-28 14:02 UTC (permalink / raw)
  To: linux-raid

Hi,

I am trying to put Linux raid in Box with 256 MB of RAM. The kernel is
compiled with non-swappable memory management option. I looked into
raid5.c and found, it allocates one page for each chunk.  I am using 5
disks for 64k chunk size. considering my kernel is within 30 MB.

1. If one page is allocated for one chunk instead of actual buffer
size, isn't memory lot of memory is wasted?
2. It will restrict the no. of stripes in memory (in case of
non-swappable memory, no will be very less) will effect performance of
IO badly.

Please correct me, if I am wrong, also any suggestion to overcome this
problem is most welcomed.

-- 
Thanks in Advance,
Kunal Kushwaha--

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

end of thread, other threads:[~2009-05-04 17:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-28 14:02 Query regarding stripe management in linux md-raid Kunal Kushwaha
2009-04-28 23:15 ` Neil Brown
2009-04-29  7:27   ` Kunal Kushwaha
2009-05-01 21:41     ` Goswin von Brederlow
2009-05-02  7:18       ` Kunal Kushwaha
2009-05-04 17:04         ` Goswin von Brederlow

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