Linux File Cache Maximum size

Posted on 2005-05-09
Last Modified: 2013-12-15
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.
Question by:tdovail
    1 Comment
    LVL 38

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
    I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now