Re: [kde-linux] VM and Swap problems



On Monday 29 January 2007 01:20 am, James Richard Tyrer wrote:
Esben Mose Hansen wrote:
On Sunday 28 January 2007 18:33:39 Randy Kramer wrote:

The VM and swap work fine till the swap space is half full. But, after
swap is half full the system starts removing swap until it is exactly
half full. When this happens, the VM system starts to thrash and the
system won't do anything till the thrashing stops.

Not that it really matters, but somewhere along the line (a previous post, not
this one) the attribution got mixed up--I believe the above was actually
written by James.

512Mb swap? That's a fair amount of swapspace, more than you should need
for
desktop use. Maybe one of your applications leak memory (I have a webpage
that makes konqueror leak insane amount of memory). Try checking with top
what applications use lots of memory.

I know what is using most of the space. Each time you open another
window or tab in Konqueror, it needs a lot of memory. So, if you open
half a dozen, or so, Konqueror windows each with half a dozen tabs, or
so, it uses a lot of memory which is swapped out.

+1 (Other applications that use a lot of space (and seem to have memory leaks,
in that they use more and more memory even if you close pages (or similar)
until you actually close the application): Firefox, Opera, kmail,
net-monitor)

What I need is to use over half of my swap space.

I hadn't quite looked at it that way, but essentially that would help me as
well. (But even without looking at it that way, that was somewhere behind my
idea of increasing the swap--increase it so half the swap is all you (I)
need. ;-)

regards,
Randy Kramer

PS: And I guess that's one of the design decisions in Linux that I don't
understand--why does swapping (well, thrashing or something) in Linux seem to
increase when swap is half full? And, is that a good design decision for
perhaps a server but not a desktop?



___________________________________________________
This message is from the kde-linux mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.



Relevant Pages

  • Re: Heaps and Foreigners
    ... >> can ask for the memory and get a pointer to it. ... cause unfathomable deaths when swap space gets low or is exhausted. ... It's probably because there is some reserve memory to print out errors ... of RAM and disk space) and virtual swap (which is just a number managed ...
    (comp.lang.lisp)
  • Re: Is Greenspun enough?
    ... Most OSes memory map executables directly from the file system so code doesn't pollute the file cache or swap space. ...
    (comp.lang.lisp)
  • Re: [PATCH] io-controller: Add io group reference handling for request
    ... Find the io group bio belongs to. ... anonymous pages (swap) you still need the page tracking functionality ... so fair to charge the current task for the whole activity. ... is some other memory hungry application which is forcing these swap outs. ...
    (Linux-Kernel)
  • Re: [kde-linux] VM and Swap problems
    ... swap is half full the system starts removing swap until it is exactly ... Add more RAM ... and then restarting processes that are using a lot of memory. ... net-monitor, any browser other than konqueror, konqueror, and kmail ...
    (KDE)
  • Re: [kde-linux] VM and Swap problems
    ... swap is half full the system starts removing swap until it is exactly ... Maybe one of your applications leak memory (I have a webpage ... to two times RAM. ... Unused memory will be used as disk buffers. ...
    (KDE)