Skip to content

Confused about memory allocation #9111

Description

@frostnotfall

I want to know about memory allocation.
I think there are 2 parts of memory allocation, both are disk storage relevant.

  1. RAM Cache .
  2. Cache directory is used as a memory resident structure

RAM Cache

There are 2 statements, but contradictory.

  1. 10MB to 1GB. https://docs.trafficserver.apache.org/en/latest/admin-guide/performance/index.en.html?highlight=ssd#memory-allocation
  2. 1MB to 1GB. https://docs.trafficserver.apache.org/en/latest/admin-guide/storage/index.en.html#changing-the-size-of-the-ram-cache

Q: what is real?

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.
Q: So, for example, how many memory the indexes are used when for 1TB hard disk?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions