public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* VM Related question
@ 2002-04-18  9:19 Tony Clarke
  2002-04-18 12:46 ` Helge Hafting
  0 siblings, 1 reply; 4+ messages in thread
From: Tony Clarke @ 2002-04-18  9:19 UTC (permalink / raw)
  To: linux-kernel


I have noticed with my current kernel that after the system is idle for 
a while, say 10 hours or
so, that everything seems to be swapped out to disk. So when I come in 
the next morning
it starts swapping everything like crazy in from disk. Is this a known 
characteristic of the
VM. I seem to remember this with all 2.4 kernels tried to date.

Whats the point of swapping out to disk in circumstances like this?

Currently I am using 2.4.18-rc2-ac2, with apps like mozilla, dozen 
xterms, xemacs, staroffice etc.

Cheers,
Tony.


^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: VM Related question
@ 2002-04-18 17:35 Torrey Hoffman
  0 siblings, 0 replies; 4+ messages in thread
From: Torrey Hoffman @ 2002-04-18 17:35 UTC (permalink / raw)
  To: Tony Clarke, linux-kernel

Tony Clarke wrote:

> I have noticed with my current kernel that after the system 
> is idle for 
> a while, say 10 hours or
> so, that everything seems to be swapped out to disk. So when 
> I come in 
> the next morning
> it starts swapping everything like crazy in from disk. 

Probably what is happening is that in the middle of the night,
your distribution runs a cron job like "slocate" or "medusa"
which scans through your hard drive.  Other distros do security
checks for world-writable files and many other things...

This heavy read activity fills up a lot of buffers and causes 
your apps to be swapped out. 

Torrey

thoffman@arnor.net


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

end of thread, other threads:[~2002-04-18 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-18  9:19 VM Related question Tony Clarke
2002-04-18 12:46 ` Helge Hafting
2002-04-18 15:05   ` Tony Clarke
  -- strict thread matches above, loose matches on Subject: below --
2002-04-18 17:35 Torrey Hoffman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox