Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: alan@nabeth.cxo.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
Subject: Re: Where to put swap?
Date: Thu, 14 Oct 1993 21:45:01 GMT	[thread overview]
Message-ID: <1993Oct14.214501.10491@nntpd2.cxo.dec.com> (raw)
In-Reply-To: UgjIz=_00WB28oJsxa@andrew.cmu.edu


In article <UgjIz=_00WB28oJsxa@andrew.cmu.edu>, Jon Allen Boone <jb3o+@andrew.cmu.edu> writes:

>lawley@kurango.cit.gu.edu.au (michael lawley) writes:
>> In the "Guide to Installing DEC OSF/1" there is a line which says DEC
>> recommends that the swap partition be on the same disk as the root
>> partition.  This seems very strange to me - can anyone tell me why DEC would
>> recommend this course of action?
>
>  What is strange about it?  This is the "normal" (ie, default) way of
>installing unices.  Root partitions usually go on the A partition,
>with swap on the B partition.  You could make your primary swap space
>be on another disk, but that invites trouble.
>

The curious question is why it invites trouble?  If you remove
/sbin/swapdefault you don't have any page/swap space anyway
and you could probably run this way for a short time.  You
should be able to use nearly any device.  There might be that
expectation that the root file system device is more "available"
than others and thus it is a safer place for the page/swap.  I
doubt this is the sort of thing people consider in depth when
chosing a root file system device.

You want to spread your page/swap space around for performance
if you might actually have to page.  As you add more devices
you increase the likelyhood that the "array" will fail by having
one of the devices fail, so do you don't want to spread the data
over too many devices.

Some historical possibilities:

1.  The primary page/swap space is often the crash dump space.
2.  On ULTRIX systems using VMB to boot, it could only write
    a crash dump to the boot disk (*).  This made it desirable for
    the dump space to be on the same disk as the root file
    system.
3.  If you had the primary swap space on a different device
    than the dump device, config would complain.  

	(*) It may have been less restrictive; same controller
	    as root disk for example.
--
Alan Rollow				alan@nabeth.cxo.dec.com



  reply	other threads:[~1993-10-14 21:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-10-14  6:50 Where to put swap? michael lawley
1993-10-14 13:10 ` Jon Allen Boone
1993-10-14 21:45   ` Alan Rollow - Alan's Home for Wayward Tumbleweeds. [this message]
1993-10-15 13:16     ` Jon Allen Boone
1993-10-15  1:09   ` michael lawley
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox