How does disk caching work?

From: Jim C. Nasby (jim_at_nasby.net)
Date: 04/16/04

  • Next message: Q?=Igor ShmuklerQ=20?=: "Re: How does disk caching work?"
    Date: Fri, 16 Apr 2004 11:38:45 -0500
    To: freebsd-performance@freebsd.org
    
    

    Is there a document anywhere that describes in detail how FreeBSD
    handles disk caching? I've read Matt Dillon's description of the VM
    system, but it deals mostly with programs, other than vague statements
    such as 'FreeBSD uses all available memory for disk caching'.

    I think I know how caching memory mapped IO works for the most part,
    since it should be treated just like program data, but what about files
    that aren't memory mapped? What impact is there as pages move from
    active to inactive to cache to free? What role do wired and buffer pages
    play?

    -- 
    Jim C. Nasby, Database Consultant                  jim@nasby.net
    Member: Triangle Fraternity, Sports Car Club of America
    Give your computer some brain candy! www.distributed.net Team #1828
    Windows: "Where do you want to go today?"
    Linux: "Where do you want to go tomorrow?"
    FreeBSD: "Are you guys coming, or what?"
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"
    

  • Next message: Q?=Igor ShmuklerQ=20?=: "Re: How does disk caching work?"