• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 392
  • Last Modified:

Linux File Cache Maximum size

Will Linux (v2.4 and above) cache a 10 gigabyte file ( a complex index structure used repeatedly for large volume retrievals) in memory assuming adequate physical memory?  I'm seeing conflicting online information (memory cache limitied to 1 gig, no caching done and caching limited to 16 terabytes).

Is there a way to see if a file is cached and how much of the file is cached?

Many thanks.
1 Solution
For 32bit CPU and kernel, you can not cache a single 10GB file in memory.
4GB is the limitation of 32bit CPU.
But for AMD Opteron or Intel Xeon EMT64, or Iterium CPU, plus x86_64, ia64 or ia32e kernel,
you can go beyond 4GB limitation.

It depends on which process is caching the file.
Use "top" to see the process name and the memory size for that process.

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now