* Where to put swap?
@ 1993-10-14 6:50 michael lawley
1993-10-14 13:10 ` Jon Allen Boone
0 siblings, 1 reply; 5+ messages in thread
From: michael lawley @ 1993-10-14 6:50 UTC (permalink / raw)
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?
mike
--
.
. michael lawley (lawley@cit.gu.edu.au) _--_|\
. O _ The Unicycling Postgrad and ALPHA Admin Guy / *
_/=/ CIT, Griffith University, Nathan, 411, QLD, AUSTRALIA \_.--._/
| phone: +61 7 875 5041; fax: +61 7 875 5051 v
_/ \_
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Where to put swap?
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.
1993-10-15 1:09 ` michael lawley
0 siblings, 2 replies; 5+ messages in thread
From: Jon Allen Boone @ 1993-10-14 13:10 UTC (permalink / raw)
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.
/*****************************************************************************/
/* Jon `Iain` Boone Network Systems Administrator boone@psc.edu */
/* iain+@cmu.edu Pittsburgh Supercomputing Center (412) 268-6959 */
/* I don't speak for anyone other than myself, unless otherwise stated!!!!!! */
/*****************************************************************************/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Where to put swap?
1993-10-14 13:10 ` Jon Allen Boone
@ 1993-10-14 21:45 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
1993-10-15 13:16 ` Jon Allen Boone
1993-10-15 1:09 ` michael lawley
1 sibling, 1 reply; 5+ messages in thread
From: Alan Rollow - Alan's Home for Wayward Tumbleweeds. @ 1993-10-14 21:45 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Where to put swap?
1993-10-14 13:10 ` Jon Allen Boone
1993-10-14 21:45 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
@ 1993-10-15 1:09 ` michael lawley
1 sibling, 0 replies; 5+ messages in thread
From: michael lawley @ 1993-10-15 1:09 UTC (permalink / raw)
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.
I guess I should re-phrase the question. What trouble does it invite? Why
is it the "normal" way of installing unices?
mike
--+--
.
. michael lawley (lawley@cit.gu.edu.au) _--_|\
. O _ The Unicycling Postgrad / *
_/=/ CIT, Griffith University, Nathan, 411, QLD, AUSTRALIA \_.--._/
| phone: +61 7 875 5041; fax: +61 7 875 5051 v
_/ \_
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Where to put swap?
1993-10-14 21:45 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
@ 1993-10-15 13:16 ` Jon Allen Boone
0 siblings, 0 replies; 5+ messages in thread
From: Jon Allen Boone @ 1993-10-15 13:16 UTC (permalink / raw)
alan@nabeth.cxo.dec.com (Alan Rollow - Alan's Home for Wayward Tumblewee\ writes:
> 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.
I am working from the assumption that the machines in question
should have near 24 hour a day availability with no operations
personell on call during "off-hours", such as a mail gateway. In that
case, you may well need to have swap space available in order to run
with anything that comes close to reasonable performance. Running for
a short time w/out swap is little better than having the machine down
[both are likely to generate unwanted calls to admins]. Likewise,
it's more difficult for J. Random User to diagnose the problem of not
having swap space available, especially if J. Random doesn't know much
of anything about unix, such as the boss who reads his mail via POP
from a MacIntosh.
That's what I mean by "invites trouble." :-)
/*****************************************************************************/
/* Jon `Iain` Boone Network Systems Administrator boone@psc.edu */
/* iain+@cmu.edu Pittsburgh Supercomputing Center (412) 268-6959 */
/* I don't speak for anyone other than myself, unless otherwise stated!!!!!! */
/*****************************************************************************/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1993-10-15 13:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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.
1993-10-15 13:16 ` Jon Allen Boone
1993-10-15 1:09 ` michael lawley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox