On 22/3/2006 4:17 AM, "petichok

myrealbox.com" <petichok

myrealbox.com>
spake thus:
> there are categories for
> Wired, Active, Inactive, Used, Free, VM size, and Page ins/outs. What
> are "typical" values for these different breakdowns so I can compare to
> the figures when my computer is running more slowly than usual?
Given that it depends on how much RAM you have and how many processes you
have running, I don't think anyone can really tell you what constitutes
"typical" usage on your. A lot of those values are continuously changing, so
there may not even be a "typical" usage. I certainly wouldn't have a clue as
to what typical might be on my machine. For example, my current readings are
Total RAM 1GB, Wired about 110 MB, Active about 410 MB, Inactive about 406
MB, Used about 930 MB, free about 93 MB, VM size 7.42 GB, Page in/out
66934/2441.
As far as the categories go however (off the top of my head, please correct
any mistakes I make, and my apologies if you know some of this already):
Wired = memory that has been permanently allocated. It's "wired down" and
therefore can't be swapped out. This is generally used for system level
stuff.
Active = memory that is currently being or was recently accessed. Generally
not a candidate for swapping out unless things get really critical (see
below).
Inactive = memory that has been allocated but hasn't been accessed for a
while. Prime candidate for swapping out if need be (see below).
Used = Wired + Active + Inactive, i.e., memory that is in use.
Free = Total RAM - Used, i.e., memory that isn't in use.
VM size = pretty much what it says. Your processes have allocated that much
memory (so the processes on my machine, for example, have allocated nearly
7.5 GB of memory). Only a subset of the entire virtual memory space can be
kept in actual physical RAM, of course. If more physical RAM space is
required, stuff that hasn't been accessed for a while will be dumped into
the swap space until it's needed again, thus freeing up physical RAM.
Page ins/outs = how much stuff is being read from/written to swap to/from
RAM. While these numbers will always increase over time, under normal
conditions they should only increase relatively slowly (you may get bursts
when you, for example, switch to an application that you haven't used for
some time). If they're ticking up quickly and *continuously*, that means
that your system is spending a lot of time swapping data between RAM and
disk (in the worst cases, the machine spends more time doing this than
anything else, a state known as "thrashing"). This will definitely slow
things down, but generally this won't happen unless you've exhausted
physical RAM (i.e., Free = 0), and you have *lots* of things running.
--
Nigel Stanger, Dunedin, NEW ZEALAND.
http://public.xdi.org/=nigel.stanger
--
Nigel Stanger, <
http://www.business.otago.ac.nz/infosci/>
Dept. of Information Science, <
http://xri.net/=nigel.stanger>
University of Otago, Dunedin, NEW ZEALAND. +64-3-479-8179
Jackdaws love my big sphinx of quartz.