Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 10:13:01 +0100
From:      cpghost <>
Subject:   Speeding up exit(2)?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
I've noticed that when a huge, partially or totally swapped out
process exits, there is a lot of disk activity going on, before
the process truly dies. This is not necessarily due to sync(2),
because it also happens with CPU bound processes that write very
little output.

Not sure what's really going on there, but apparently, the process
reads in pages from swap that have been paged out previously
(according to top(1)).

Couldn't this be avoided and the paged out pages simply discarded
without reading them back in? Or do those pages contain necessary
data at this point (page directories etc.)?


Cordula's Web.

Want to link to this message? Use this URL: <>