|
Forum Index | Read LUG: Policy/Rules Messages Threads Digests | Post New Message | Search!
On Nov 29, 2006, at 8:17 AM, Nick Batzdorf wrote:
>
> But with 7GB installed you should be able to load Logic up to roughly
> 3GB of real memory before things get flaky. So it seems weird that
> the active segment rarely goes beyond a few hundred MB.
This is an artifact of the VM subsystem. I just did a little
experiment where I malloc()ed 500MB of memory, zeroed it (so that it
really was real), read it all back (just to make sure) and then went
to sleep, and all of it was flagged as inactive from the start.
This kind of makes sense, as you don't want to mark *all* of the
memory as active right off the bat (since then there will be no
candidates for swapping.)
Once a bunch of memory accesses start, the VM system will see which
pieces of memory are getting used the most and flag them as active.
So it makes sense that sucking up a sample library (and not using
99.99% of it) will result in a very large block marked Inactive.
--Dave
Forum Index | Read LUG: Policy/Rules Messages Threads Digests | Post New Message | Search! © 1994-2008, All Rights Reserved. |