*BSD News Article 57177


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!math.ohio-state.edu!usc!chi-news.cic.net!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!btnet!demon!peer-news.britain.eu.net!uknet!str-ccsun!not-for-mail
From: nbc@vulture.dmem.strath.ac.uk (Neil Brendan Clark)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Too much swap???
Date: 14 Dec 1995 10:53:13 -0000
Organization: University of Strathclyde
Lines: 14
Message-ID: <4aovmp$4of@vulture.dmem.strath.ac.uk>
References: <4adhdf$ft9@itchy.itsnet.com> <4af2oq$790@uriah.heep.sax.de> <4ahoj7$cte@news.ro.com>
NNTP-Posting-Host: vulture.dmem.strath.ac.uk

Mike R. Prevost <mprevost@ro.com> wrote:
>
>I'm wondering now multiple swap partitions work.  Are they somehow in 
>order? -- like when the first one runs out does it use the second one or 
>what?

As far as I can ascertain the disks are "interleaved" or whatever the technical
term is - i.e. the system attempts to distribute the load between the numerous
swap partitions since (at least with SCSI) DMA transfers are possible leading
to greater performance. The reality certainly seems to bear this out.

I am, however, unable to shed any light on the algorithms used to this end.

Neil.