On Jan 25, 2007, at 1:26 PM, Rob van der Heij wrote:
On 1/25/07, Terry Spaulding <[EMAIL PROTECTED]> wrote:
I am looking for a best practice when you need a swap file/
partition and
would like to hear from all on what they are doing.
The best swap disk for Linux on z/VM is VDISK, so I don't think this
is an issue.
People who use real disk for Linux swap only do so to slow down their
server and probably do not care for slow or even more slow. Or they
are very certain they will never swap, and in that case I/O contention
for the device is no issue either.
I'd say this is not quite true. Place as much swap as you usually
use on VDISK. Place some more at lower priority on VDISK if you can
spare the VDISK. If you're out of VDISK/are experienceing real
storage constraints, then think about a third tier on actual DASD,
particularly if you have ill-behaved applications that usually use X
amount of memory but sometimes for no obvious reason suddenly want 4X
for a while. The question you have to ask is whether poor
performance is better than application failure. The answer isn't
always "yes", particularly if the failure is because the app in
question leaks memory so eventually you'd have to restart it anyway.
Adam
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390