Blame SOURCES/0033-man-lvmcache-mention-writecache-memory-usage.patch

38b7b2
From cdefd8635de24200b55822fa0b6bc23a638fb87a Mon Sep 17 00:00:00 2001
38b7b2
From: David Teigland <teigland@redhat.com>
38b7b2
Date: Mon, 21 Feb 2022 11:35:58 -0600
38b7b2
Subject: [PATCH 33/54] man lvmcache: mention writecache memory usage
38b7b2
38b7b2
---
38b7b2
 man/lvmcache.7_main | 12 ++++++++++++
38b7b2
 1 file changed, 12 insertions(+)
38b7b2
38b7b2
diff --git a/man/lvmcache.7_main b/man/lvmcache.7_main
38b7b2
index 48cf7b492..73680235b 100644
38b7b2
--- a/man/lvmcache.7_main
38b7b2
+++ b/man/lvmcache.7_main
38b7b2
@@ -240,6 +240,18 @@ The writecache block size should be chosen to match the xfs sectsz value.
38b7b2
 It is also possible to specify a sector size of 4096 to mkfs.xfs when
38b7b2
 creating the file system.  In this case the writecache block size of 4096
38b7b2
 can be used.
38b7b2
+.P
38b7b2
+.SS dm-writecache memory usage
38b7b2
+.P
38b7b2
+The amount of main system memory used by dm-writecache can be a factor
38b7b2
+when selecting the writecache cachevol size and the writecache block size.
38b7b2
+.P
38b7b2
+.IP \[bu] 2
38b7b2
+writecache block size 4096: each 100 GiB of writecache cachevol uses
38b7b2
+slighly over 2 GiB of system memory.
38b7b2
+.IP \[bu] 2
38b7b2
+writecache block size 512: each 100 GiB of writecache cachevol uses
38b7b2
+a little over 16 GiB of system memory.
38b7b2
 .
38b7b2
 .SS dm-writecache settings
38b7b2
 .
38b7b2
-- 
38b7b2
2.34.3
38b7b2