[comp.sys.sgi] Default Swap Partition

aspgasd@cid.aes.doe.ca (Alain St-Denis) (09/14/90)

Is there any special reason why we can't have the default swap partition on
whatever disk we would like.

I know we can do it using the PROM's "swap" environment variable.  But this
variable is not permanent in the PROM.  So we would have to reset it at
each boot.

Our systems never swapped anything, but since their load will increase in
the next few months, we thought that it would be more efficient if the swap
space resided on another disk. Is it that unreasonable?
-- 
Alain St-Denis
Centre informatique de Dorval
Environnement Canada
astdenis@cid.aes.doe.CA
(514) 421-4697

olson@anchor.esd.sgi.com (Dave Olson) (09/15/90)

In <9009141619.AA01072@cidws03.cid.aes.doe.CA> aspgasd@cid.aes.doe.ca (Alain St-Denis) writes:

| Is there any special reason why we can't have the default swap partition on
| whatever disk we would like.
| 
| I know we can do it using the PROM's "swap" environment variable.  But this
| variable is not permanent in the PROM.  So we would have to reset it at
| each boot.
| 
| Our systems never swapped anything, but since their load will increase in
| the next few months, we thought that it would be more efficient if the swap
| space resided on another disk. Is it that unreasonable?
| -- 
| Alain St-Denis
| Centre informatique de Dorval
| Environnement Canada
| astdenis@cid.aes.doe.CA
| (514) 421-4697

Just re-configure the kernel with the swap device you want.  See the
variable SWAPDEV in /usr/sysgen/system.  You might also want to read
the lboot and master man pages, etc., if you need more info.
--

	Dave Olson

Life would be so much easier if we could just look at the source code.