Hi Dave,

the kernel will automagically take care of that double allocation: as soon
as your swap space is 50% full,
the kernel will free the swap slot on paging in. Note that this does'nt
save you a single memory page
though, since the very same memory content will now be billed as anonymous
memory rather than
swap cache.

with kind regards
Carsten Otte
IBM Linux Technology Center / Boeblingen lab
--
omnis enim res, quae dando non deficit, dum habetur et non datur, nondum
habetur, quomodo habenda est



             Dave Czajkowski
             <[email protected].
             com>                                                       To
             Sent by: Linux on         [email protected]
             390 Port                                                   cc
             <[email protected]
             ist.edu>                                              Subject
                                       SwapCache

             02.06.2011 14:43


             Please respond to
             Linux on 390 Port
             <[email protected]
                 ist.edu>






Is there a way to disable or limit the amount of SwapCache?   I understand
it's function, but the double allocation of these pages is causing my low
memory alerts to trip.

I can remove the swap copy with a swapoff/swapon.   Is there a more elegant
way to remove?

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to