From: Devin Vance <devin@linbit.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Quick question regarding lvm-cache
Date: Sat, 21 Nov 2015 15:10:53 -0800 [thread overview]
Message-ID: <5650F9FD.3020803@linbit.com> (raw)
Greetings,
Short version:
Is there anyway to adjust the cache blocksize of the lvm cache with the
lvm tools?
Long version:
I have been exploring the new lvm-cache features within rhel7 (tech
preview, I know), and with a cache of 1.4TiB in size I noticed these
warnings within the logs.
device-mapper: cache: You have created a cache device with a lot of
individual cache blocks (1638400) All these mappings can consume a lot
of kernel memory, and take some time to read/write.Please consider
increasing the cache block size to reduce the overall cache block count.
However, I cannot find any straightforward method with which to adjust
this cache block size. I did find this documentation which explains how
to do so with device mapper:
https://www.kernel.org/doc/Documentation/device-mapper/cache.txt Is
there anyway to do this with the lvm tools, or is this yet to be developed?
Many thanks,
Devin
next reply other threads:[~2015-11-21 23:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-21 23:10 Devin Vance [this message]
2015-11-23 15:55 ` [linux-lvm] Quick question regarding lvm-cache Mike Snitzer
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=5650F9FD.3020803@linbit.com \
--to=devin@linbit.com \
--cc=linux-lvm@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.