You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/09/29 04:01:26 UTC

[GitHub] [trafficserver] frostnotfall commented on issue #9111: Confused about memory allocation

frostnotfall commented on issue #9111:
URL: https://github.com/apache/trafficserver/issues/9111#issuecomment-1261724456

   > Reading the code I see that, unless the size is specified, the ram cache for each cache volume is set to 10x the directory length of the volume (in bytes). Running an experiment, this worked out to about 1.2% of the total configured cache size. Based on this, the 10MB per 1GB is closer to correct. Since this is based on the cache size and not available RAM, I recommend you specify the ram cache size in your config rather than rely on this heuristic. I think this was just meant to be a gentle default.
   > 
   > I'm sorry but I do not understand the second part of your question.
   
   # Cache directory is used as a memory resident structure
   In my opinion, Disk cache directory has indexed in memory. As HDD space grows, so does memory usage.
   So, for example,  how many memory the indexes are used  when for 1TB hard disk.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org