If its fairly quiet, those pages should remain in the swap cache. I.e.,
they're written to disk but a copy remains in memory in case they're
needed again. There's page faulting overhead for a bit in the morning,
but very little waiting for disk I/O.
On the other hand, if the pages are needed for something else in the
meantime, they can now be dumped quickly from the swap cache.
Best of both worlds, surely :-)
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html