Re: swap question

From: Dave.Zarnoch@SUNGARD.COM
Date: Mon Jul 01 2002 - 14:24:10 EDT


So, does this mean that the items in swap will remain there
while other items are being swapped and they will remain
there and so on...and so on..... until a reboot?

Thanks!

DaveZ

                      Bruce Harvey
                      <BruceH@ROUTESCAP To: aix-l@Princeton.EDU
                      E.COM> cc:
                      Sent by: IBM AIX Subject: Re: swap question
                      Discussion List
                      <aix-l@Princeton.
                      EDU>

                      07/01/2002 02:04
                      PM
                      Please respond to
                      IBM AIX
                      Discussion List

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