Re: Alpha SWAP space limits???

hellebrandt@stochastik.rwth-aachen.de
Thu, 27 Nov 1997 16:18:37 +0100 (MET)

On 27 Nov, Andreas Johansson wrote:
> Adding Swap: 51192k swap-space (priority -1)
> Adding Swap: 51192k swap-space (priority -2)
>
> This sounds like it will use up one partition before it starts on the
> other, which defeats my purpose of having two swap partitions: parallel
> use of two disks (one partition is on sda, the other on sdb).
>
> Is this true?

Not necessarily. This is an excerpt from man 2 swapon:

Swap pages are allocated from areas in priority order,
highest priority first. For areas with different priori-
ties, a higher-priority area is exhausted before using a
lower-priority area. If two or more areas have the same
priority, and it is the highest priority available, pages
are allocated on a round-robin basis between them.
^^^^^^^^^^^

Martin

-- 
Martin Hellebrandt               <hellebrandt@stochastik.rwth-aachen.de>
RWTH-Aachen, Wuellnerstr. 3      Tel.: +49 241 804776
D-52056 Aachen, Germany          Fax : +49 241 8888130

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices