[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axp-redhat
Subject:    Re: Alpha SWAP space limits???
From:       hellebrandt () stochastik ! rwth-aachen ! de
Date:       1997-11-27 16:18:37
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic