summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2022-02-21 11:35:58 -0600
committerDavid Teigland <teigland@redhat.com>2022-02-21 11:35:58 -0600
commit6144dac897728a4857294d70645df8ed7a5ff11f (patch)
tree59ef71ad5f8f633100c701ce7549c0b1b7d178ae /man
parent96c99d647ef783abcd26a1f3f63f12e033195633 (diff)
downloadlvm2-6144dac897728a4857294d70645df8ed7a5ff11f.tar.gz
man lvmcache: mention writecache memory usage
Diffstat (limited to 'man')
-rw-r--r--man/lvmcache.7_main12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/lvmcache.7_main b/man/lvmcache.7_main
index dddd33cfa..ce440bf49 100644
--- a/man/lvmcache.7_main
+++ b/man/lvmcache.7_main
@@ -240,6 +240,18 @@ The writecache block size should be chosen to match the xfs sectsz value.
It is also possible to specify a sector size of 4096 to mkfs.xfs when
creating the file system. In this case the writecache block size of 4096
can be used.
+.P
+.SS dm-writecache memory usage
+.P
+The amount of main system memory used by dm-writecache can be a factor
+when selecting the writecache cachevol size and the writecache block size.
+.P
+.IP \[bu] 2
+writecache block size 4096: each 100 GiB of writecache cachevol uses
+slighly over 2 GiB of system memory.
+.IP \[bu] 2
+writecache block size 512: each 100 GiB of writecache cachevol uses
+a little over 16 GiB of system memory.
.
.SS dm-writecache settings
.