Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Larkin Lowrey <llowrey@nuclearwinter.com>
To: linux-raid@vger.kernel.org
Subject: Write journal sizing
Date: Mon, 24 Jul 2017 11:22:12 -0400	[thread overview]
Message-ID: <60abb68c-790b-42a0-3fbd-967b4cf877e5@nuclearwinter.com> (raw)

 From what I read at the link below, the write journal mirrors the 
contents of the stripe cache. This suggests that the write journal 
cannot contain more uncommitted data than the stripe cache can hold. Is 
that correct?

https://www.kernel.org/doc/Documentation/md/raid5-cache.txt

So, if the stripe cache size is 1GB then is there any advantage in 
making the journal device larger than 1GB? I assume no, but I'm also 
wondering about journal overhead.

My understanding is that the stripe cache size is limited to 32768 and 
that the total memory size is the size value x 4096 x num disks. IOW, 
max 128MB per disk (32k x 4k x 1). Is that correct?

--Larkin

             reply	other threads:[~2017-07-24 15:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24 15:22 Larkin Lowrey [this message]
2017-08-15 15:41 ` Unable to remove write journal device Larkin Lowrey

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=60abb68c-790b-42a0-3fbd-967b4cf877e5@nuclearwinter.com \
    --to=llowrey@nuclearwinter.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