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/28 20:44:17 UTC

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

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

   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.
   
   


-- 
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