• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 405
  • 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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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