* [linux-lvm] Quick question regarding lvm-cache
@ 2015-11-21 23:10 Devin Vance
2015-11-23 15:55 ` Mike Snitzer
0 siblings, 1 reply; 2+ messages in thread
From: Devin Vance @ 2015-11-21 23:10 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-23 15:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-21 23:10 [linux-lvm] Quick question regarding lvm-cache Devin Vance
2015-11-23 15:55 ` Mike Snitzer
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).