From: Kunal Kushwaha <kunal.kushwaha@gmail.com>
To: linux-raid@vger.kernel.org
Subject: Query regarding stripe management in linux md-raid
Date: Tue, 28 Apr 2009 22:02:18 +0800 [thread overview]
Message-ID: <fbae8f520904280702h736197d6ibfdf0212bf1923d2@mail.gmail.com> (raw)
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--
next reply other threads:[~2009-04-28 14:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-28 14:02 Kunal Kushwaha [this message]
2009-04-28 23:15 ` Query regarding stripe management in linux md-raid 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
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=fbae8f520904280702h736197d6ibfdf0212bf1923d2@mail.gmail.com \
--to=kunal.kushwaha@gmail.com \
--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 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).