Re: Cache Memory in top command



On Wed, 29 Sep 2010 08:57:09 +0200
Bas Smeelen <b.smeelen@xxxxxx> wrote:

*Cache:* number of clean pages caching data that are available for
immediate reallocation
http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1
<http://www.freebsd.org/cgi/man.cgi?query=top&sektion=1>

I believe the "Cache" value is almost totally unrelated to the
amount of memory used for caching: FreeBSD has a unified buffer cache
so any memory is available for use as cache. Unlike Linux, you can't
look at the line in 'top' to see how much memory is being used for
buffers and cache.

You can find more information about the VM architecture at
http://www.freebsd.org/doc/en/books/arch-handbook/vm.html .

--
Bruce Cran
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: How does disk caching work?
    ... > Is there a document anywhere that describes in detail how FreeBSD ... > such as 'FreeBSD uses all available memory for disk caching'. ... MEMORY IS A BUFFER CACHE for all device IO. ...
    (freebsd-performance)
  • Re: Cached memory never gets released
    ... Stock linux 2.4.26 kernel. ... Due to flash bug 3M of memory gets lost due to font memory getting lost ... The output of "free" cache number steadily grows. ... longer to exhaust all of system memory with the cache. ...
    (Linux-Kernel)
  • Re: Problem: Creating a raw binary string
    ... > While its true that a 64-bit cpu will move twice the data per instruction it ... > Memory bus width plays an important role here and unless it too is widened / ... You are forgetting the two levels of cache in the processor. ... The memory chips are addressed in Row col fashion. ...
    (alt.comp.lang.borland-delphi)
  • Re: Is Greenspun enough?
    ... Most OSes memory map executables directly from the file system so code doesn't pollute the file cache or swap space. ...
    (comp.lang.lisp)
  • Re: Superstitious learning in Computer Architecture
    ... Without a LOT of logic or some other better approach, re-executing the instructions requires re-decoding and it ties up the cache memory bus transferring more data as instructions than the instructions are working on. ... The concept of cache is fundamentally flawed in that it STILL restricts access to one word per clock cycle, when a single modern ALU can easily use 5 plus whatever is eaten up with instruction accesses. ... The size of an optimizing compiler is proportional to the SQUARE of the size of the language times the SQUARE of the complexity of the machine - because all interactions must be considered. ...
    (comp.arch.arithmetic)