On Tue, Mar 18, 2008 at 5:18 AM, Mark Post <[EMAIL PROTECTED]> wrote:

>  As others have talked about, real storage in a shared environment is 
> something to be used wisely.  If you don't have a need for a blazingly fast 
> /tmp file system, you might be better off with either real DASD, or VDISK 
> space (assuming you have z/VM).  If you like the idea of /tmp being 
> completely cleaned out with every system boot, there's nothing stopping you 
> from doing that in a local startup script.  The Filesystem Hierarchy Standard 
> explicitly states that the contents of /tmp are not guaranteed to be 
> preserved across a reboot.

I assume we're talking Linux on z/VM. For Linux in LPAR or on
otherwise dedicated hardware, I don't care what you do with memory.
Nobody else can use what you don't need (unless you're using /tmp as
motivation to make all Linux LPARs 8GB or so).

The "normal" usage of Linux in /tmp is pretty limited, so I don't
think I'd be scared about a few MBs there. But since those files
probably remain in page cache while you need them, you do not win
anything there. But I have also seen sysadmins use /tmp to hold big
files that did not fit in /root anymore. Or when you build packages
the scripts may use /tmp to build the data. In that case I would
rather not do it in memory. Eventually things need to be paged and
your actual disk space requirements will be more than double.

But z/VM offers you other options. You might be able to use T-disk to
satisfy your temporary requirements for disk space. Or you might be
able to mount the data via NFS and maybe avoid the duplication of
data.

Rob
--
Rob van der Heij
Velocity Software GmbH
http://velocitysoftware.com/

----------------------------------------------------------------------
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

Reply via email to