linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4 VM question
@ 2001-03-03 10:40 David
  2001-03-04 11:14 ` [CFT] " Mike Galbraith
  0 siblings, 1 reply; 3+ messages in thread
From: David @ 2001-03-03 10:40 UTC (permalink / raw)
  To: Linux Kernel

Is there a particular reason why 2.4 insists on stuffing as much as 
possible into swap?

It's particularly frustrating to experience the slowdown and lag while 
the disk grinds.  I have 256M in this machine.  Right now I have 180+ 
megs free and I am 120 megs into swap.  Netscape and Mozilla are slow 
enough as it is without having to pull pages off the disk.  Running GIMP 
as well brings the system nearly to a crawl as I start opening up some 
large pictures.

Mind you however, I still have -plenty- of free memory in 
buffers/cache.  The filesystem is also reiserfs.

I would also like to point out that it's rather irritating to swapoff 
and basically everything flat out stalls until all the pages are back in 
memory.  It is also worthy of mention that it takes about 4 minutes to 
swapoff the first 64M file.  This is on a pIII 350.  The second 64M file 
took 5 minutes.

# uname -r
2.4.2-ac3

# free
            total       used       free     shared    buffers     cached
Mem:        253876     250360       3516          0      36448      86484
-/+ buffers/cache:     127428     126448
Swap:        65532      65496         36

# time swapoff /swapfile

real    5m21.080s
user    0m0.000s
sys     2m59.370s

Now that everything is forcibly paged back in, the system is once again 
responsive and quick.

Is there a particular VM quirk?  A bug?  As I see it there are two 
issues, a) the insistence of the kernel to page everything out, and b) 
the stall to page things back in, including the time frame.

-d


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-03-16 22:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-03 10:40 2.4 VM question David
2001-03-04 11:14 ` [CFT] " Mike Galbraith
2001-03-16 22:17   ` X freeze/ kernel 4.2/ gnome/ alpha LX164 Mark Hansel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).