[Bioclusters] resources on administering clusters
Roger Pettett
bioclusters@bioinformatics.org
Tue, 2 Apr 2002 17:14:09 +0100 (BST)
On 26 Mar 2002, Joe Landman wrote:
> On Tue, 2002-03-26 at 10:15, Andrew Shewmaker wrote:
> > Jeff Layton wrote:
> >
>
> > Set multiple swap partitions to the same priority
> >
> > |
> > /dev/sda2 none swap sw,pri=3 0 0
> > /dev/sdb2 none swap sw,pri=3 0 0
> > /dev/sdc2 none swap sw,pri=3 0 0
> > /dev/sdd2 none swap sw,pri=1 0 0
>
> Almost... Set all the pri=0. Otherwise swap is not parallelized. If
> one partition is set to pri=1, and the rest set to pri=3, swap will fill
> the pri=1 up before attempting to use the pri=3 resources.
>
This isn't correct - pri can be any value between 0 and 32767 with 32767
being the highest priority. Swap is parallelised between any partitions
with the same 'pri' value, ordered from highest to lowest.
R.
--
+---------------------------------------------------------------+
Roger Michael Pettett Email: rmp@sanger.ac.uk
Project Leader (Web Systems), Web: http://www.sanger.ac.uk/
The Sanger Institute http://www.yourgenome.org/
Wellcome Trust Genome Campus http://www.ensembl.org/
Hinxton
Cambridge CB10 1SA
+---------------------------------------------------------------+