From: Roman Mamedov <rm@romanrm.net>
To: NeilBrown <neilb@suse.com>
Cc: Gandalf Corvotempesta <gandalf.corvotempesta@gmail.com>,
linux-raid@vger.kernel.org
Subject: Re: stripe_cache_size, some info
Date: Fri, 24 Mar 2017 11:00:47 +0500 [thread overview]
Message-ID: <20170324110047.6f89eb62@natsu> (raw)
In-Reply-To: <87wpbf8buk.fsf@notabene.neil.brown.name>
On Fri, 24 Mar 2017 16:47:47 +1100
NeilBrown <neilb@suse.com> wrote:
> > 1) any upper limit for that value ? Can I set it near 1GB like most
> > hardware controller?
>
> It is currently limited to 32768, for no particularly good reason.
I feel it should be clarified that's in *PAGES* (4K on x86) per *ARRAY MEMBER*.
So the calculation can get a little bit complex, it's not like you're setting
it to 32 MB with that number.
For a 8-drive array that would be 32768 * 4096 * 8 = 1073741824 bytes (1GB).
--
With respect,
Roman
prev parent reply other threads:[~2017-03-24 6:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-19 18:35 stripe_cache_size, some info Gandalf Corvotempesta
2017-03-20 15:59 ` Wols Lists
2017-03-20 16:13 ` Gandalf Corvotempesta
2017-03-20 16:22 ` Wols Lists
2017-03-20 16:24 ` Gandalf Corvotempesta
2017-03-24 5:47 ` NeilBrown
2017-03-24 6:00 ` Roman Mamedov [this message]
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=20170324110047.6f89eb62@natsu \
--to=rm@romanrm.net \
--cc=gandalf.corvotempesta@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.com \
/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).