Ron Johnson wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/01/08 15:43, andy wrote:
Of 2863MB of SWAP, some 1881MB are being used. This is a capture of top:
15055 andy 20 0 34520 14m 4896 R 98 1.5 0:01.60 kbuildsycoca
14950 andy 20 0 171m 88m 27m S 55 9.0 15:52.20 iceape-bin
3890 root 20 0 123m 68m 8184 S 4 7.0 41:54.30 Xorg
161 root 15 -5 0 0 0 S 2 0.0 0:32.91 kswapd0
4881 andy 20 0 19776 5672 4460 S 2 0.6 11:38.49 xfce4-systemloa
1 root 20 0 2032 548 520 S 0 0.1 0:05.08 init
2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd
[snip]
791 root 15 -5 0 0 0 S 0 0.0 0:01.08 usb-storage
816 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata/0
and of free:
$ free
total used free shared buffers cached
Mem: 1003576 986260 17316 0 9868 139320
-/+ buffers/cache: 837072 166504
Swap: 2931852 1928848 1003004
How can I clear out SWAP so that it does not retain redundant memory
allocated pages?
# swapoff -a
# swapon -a
I am thinking if SWAP can be cleared, my machine will
be more responsive with current pages written to SWAP, rather than
taking up space written by now obsolete processes.
I'm not sure that this will do what you want...
Perhaps not. However, my uptime is only 7 days with one user. Yet it
takes several seconds for my Xfce4 (light and fast) to respond. I am
unable to load a larger amount of RAM, and my system is sluggish even
with 1GB of RAM. What is a poor Deb Lenny user to do? SWAP seemed like a
logical culprit.
The virtual memory is some 798MB of 980MB and I have only KSCD, KMail,
Konsole. OO.o Writer, IceApe, IceDove, and this IceDove composer windows
open.
When I double click within Xfce on the /home directory icon, there is a
noticeable lag between clicking and a response. What causes this? Must I
reboot every few days so as to release memory to allow my system to be
more responsive? This isn't the GNU/Linux I know and love from my
Slackware days. What is wrong with my configuration?
--
"If they can get you asking the wrong questions, they don't have to worry about the
answers." - Thomas Pynchon, "Gravity's Rainbow"