Date: Thu, 9 May 1996 08:20:44 +0200 (MET DST) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: davidg@Root.COM Cc: s_koyin@eduserv.its.unimelb.EDU.AU, questions@freebsd.org Subject: Re: Disk cache? Message-ID: <199605090620.IAA01660@labinfo.iet.unipi.it> In-Reply-To: <199605090409.VAA01491@Root.COM> from "David Greenman" at May 8, 96 09:08:54 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> All file accesses in FreeBSD are cached and the dynamic cache can grow as > large as the amount of RAM in your machine. Is this really true ? from vm_pageout.c (2.1R) I see the following, ... if (cnt.v_page_count > 1024) { cnt.v_cache_max = (cnt.v_free_count - 1024) / 2; cnt.v_cache_min = (cnt.v_free_count - 1024) / 8; cnt.v_inactive_target = 2*cnt.v_cache_min + 192; } else { cnt.v_cache_min = 0; cnt.v_cache_max = 0; cnt.v_inactive_target = cnt.v_free_count / 4; } I assume it means that there is a reserve of pages for other stuff than file buffers. Luigi ==================================================================== Luigi Rizzo Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it Universita' di Pisa tel: +39-50-568533 via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 http://www.iet.unipi.it/~luigi/ ====================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605090620.IAA01660>