This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new e3da7beed fix contradicting documentation and say a bit about the 
resident size of a volume directory (#9133)
e3da7beed is described below

commit e3da7beed1f3aa2a097c8b506e4b9ff651e5b102
Author: Chris McFarlen <[email protected]>
AuthorDate: Tue Oct 11 15:40:35 2022 -0500

    fix contradicting documentation and say a bit about the resident size of a 
volume directory (#9133)
    
    Co-authored-by: Chris McFarlen <[email protected]>
    (cherry picked from commit ed13a31f241672d97402d1a9b494b2ad9be48fae)
---
 doc/admin-guide/storage/index.en.rst                       | 2 +-
 doc/developer-guide/cache-architecture/architecture.en.rst | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/admin-guide/storage/index.en.rst 
b/doc/admin-guide/storage/index.en.rst
index 0cd593a5f..afcec2631 100644
--- a/doc/admin-guide/storage/index.en.rst
+++ b/doc/admin-guide/storage/index.en.rst
@@ -130,7 +130,7 @@ To change the RAM cache size:
 
 #. Set the variable :ts:cv:`proxy.config.cache.ram_cache.size`
    to specify the size of the RAM cache. The default value of ``-1`` means
-   that the RAM cache is automatically sized at approximately 1MB per
+   that the RAM cache is automatically sized at approximately 10MB per
    gigabyte of disk.
 
 #. Restart Traffic Server. If you increase the RAM cache to a size of
diff --git a/doc/developer-guide/cache-architecture/architecture.en.rst 
b/doc/developer-guide/cache-architecture/architecture.en.rst
index 202320d4e..7e9bb4a6f 100644
--- a/doc/developer-guide/cache-architecture/architecture.en.rst
+++ b/doc/developer-guide/cache-architecture/architecture.en.rst
@@ -174,6 +174,10 @@ change, neither does this memory requirement, so |TS| does 
not consume more
 memory as more content is stored in the cache. If there is enough memory to run
 |TS| with an empty cache there is enough to run it with a full cache.
 
+The resident size of the directory for a cache volume is generally <0.2% of the
+volume size.  The exact memory allocated for the directory of a volume can be
+seen if traffic_server is run with the 'cache_init' debug tag enabled.
+
 .. figure:: images/cache-directory-structure.png
    :align: center
 

Reply via email to