To swap or not to swap ;-) (was RE: To lvm or not to lvm)

Carruth, Rusty Rusty.Carruth at smartm.com
Mon Sep 24 09:28:26 MST 2018


Wow, that quote is very interesting.

Thanks!

(google found the reference for me.  One of them (possibly the original reference others are using) is https://www.kernel.org/doc/gorman/html/understand/understand014.html )

I read it, and it appears that the reference is talking primarily about what the kernel does.  I kept searching and couldn’t find any definitive statement that a PROGRAM could request this, however apparently some JVM somewhere can do something with memory that almost requires there be swap to keep the JVM from getting killed by the OOM monster…  er, killer… er, task.. er, whatever.


Rusty

From: PLUG-discuss [mailto:plug-discuss-bounces at lists.phxlinux.org] On Behalf Of Stephen Partington
Sent: Sunday, September 23, 2018 12:18 AM
To: Main PLUG discussion list
Subject: Re: To swap or not to swap ;-) (was RE: To lvm or not to lvm)

I have found some applications use swap with direct calls.

"A significant number of the pages referenced by a process early in its life may only be used for initialisation and then never used again. It is better to swap out those pages and create more disk buffers than leave them resident and unused."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20180924/f1e292e6/attachment.html>


More information about the PLUG-discuss mailing list