Re: swap question

From: Bruce Harvey (BruceH@ROUTESCAPE.COM)
Date: Mon Jul 01 2002 - 14:04:28 EDT


Paging ("swap") space is used not only to swap out memory that's needed but
not being immediately referenced, but it can also be used during process
creation to write out the structure before it's brought into memory. And,
once memory is swapped, if it's not referenced, there's no good reason to
bring it in (waste of time and energy). If your system is fairly stable,
and the swapped processes are and have been idle, this could be normal.

And, the system doesn't necessarily swap out entire processes ... just's
what's not being referenced. So, a process may list as 'swapped_in' in
crash, but portions may be sitting on disk instead of memory.

AIX is fun that way.

---------------------------------------
Bruce T. Harvey, Special Projects
bruceh@routescape.com, www.routescape.com
Insight Distribution Systems/COAXIS, Inc.

-----Original Message-----
From: Dave.Zarnoch@SUNGARD.COM [mailto:Dave.Zarnoch@SUNGARD.COM]
Sent: Monday, July 01, 2002 1:50 PM
To: aix-l@Princeton.EDU
Subject: [aix-l] swap question

A swap question.....

Is swap space "automagically" cleared periodically
or:

Does the application that uses it have to free that space?

Is the only way to clear a reboot?

The reason I ask is that swap space is being shown at 33% used
for the past two days with no change.

At certain times, there is plenty of available memory free.

Thanks!

DaveZ



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:02 EDT