I recently got a copy of `The design & implementation of the FreeBSD Operating System'.
On the subject of `inactive' memory, it has this to say:
And
(And more to the same effect).
Now my two systems have a very large Inactive memory usage:
Somehow, I find it hard to believe that my system has gigabytes of memory that need to be written to disk.
Does anyone know why this is the case? I Glanced at the vm-related code, but that didn't provide any insight in the issue ...
On the subject of `inactive' memory, it has this to say:
Inactive : Inactive pages have contents that are still known, but they are not usually part of any active region. If the contents of the page are dirty, the contents must be written to backing store before the page can be reused.
And
A system usually tracks whether an object has been modified—is dirty—because it needs to save the object's contents before reusing the space held by the object. For example, in the virtual-memory system, a page in the virtual-memory cache is dirty if its contents have been modified. Dirty pages must be written to the swap area or filesystem before they are reused.
(And more to the same effect).
Now my two systems have a very large Inactive memory usage:
Code:
Mem: 333M Active, 2476M Inact, 610M Wired, 9624K Cache, 418M Buf, 494M Free
Mem: 240M Active, 1211M Inact, 262M Wired, 732K Cache, 112M Buf, 280M Free
Somehow, I find it hard to believe that my system has gigabytes of memory that need to be written to disk.
Does anyone know why this is the case? I Glanced at the vm-related code, but that didn't provide any insight in the issue ...